Akopia Akopia Services

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

Re: [mv] How to allow only one product category / basket?



******    message to minivend-users from Ramsey French <rammjet@mac.com>     ******

One thought is everytime the customer selects a product, set a scratch
variable that corresponds to that category to some value like 1 or 0.  When
he selects another product, test the scratch variable for that category to
see if it has already been set from the previous action.  If it has been set
(meaning he already selected one from that category) then take appropriate
action like automatically change it or warn him that he has two from the
same category and ask him what he wants to do.

> ******    message to minivend-users from "Rene Hertell" <rene@hertell.com>
> ******
> 
> Hello again...
> 
> Can someone give me a tip how to work this out:
> 
> I have to allow my customers to add only one product per category to his
> basket. If he changes the product, if should be replaced by a new value.
> 
> Is there any function for this, or do I have to make some other programming?
> 
> regards, René

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