Akopia Akopia Services

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

[mv] inventory::qty VS item-quantity



******    message to minivend-users from "Stan Crump" <stanc@amintech.com>     ******

Using MiniVend V3.14-3
I'm working on a cart in which it is critical that customers not be allowed
to place an order for a quantity that is greater than the quantity on hand
for any item.  So...
on the checkout page, I was trying to do something like the following:

[item-list]
[if data inventory::qty::[item-code] < [item-quantity]]
[then][[item-quantity] == [data inventory::qty::[item-code]][/then]
[/if]
[/item-list]

As you can probably tell, I don't know how (or even 'if') this can be
accomplished.  Any suggestions will be most appreciated.

Thanks!
   - Stan

-
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: