Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] MV 4.02 op="increment"



******    message to minivend-users from "Ton Verhagen" <ton@verhagen.net>     ******

Replacing  op="increment" by increment=1 will do the trick.

Ton



Could this be a bug in MV 4.02.  I'm running under Perl 5.005 on
Linux. Now upgrading to MV 4.02. When placing an order, my
inventory no longer decrements the inventory level. The code
below simply overwrites the qty field with the value
of -[item-quantity] the op="increment" is being ignored. I used
to use op="decrement" and this too is ignored (but is not
mentioned in the documentation either).

[item-list]

[tag flag write]inventory[/tag]

[data base="inventory" field="qty" key="[item-code]"
value="-[item-quantity]" op="increment"]

[/item-list]



-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: