VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: accessvirus on August 10, 2016, 00:08:43 AM

Title: SOLVED :: Special order conditions / Max total order per client
Post by: accessvirus on August 10, 2016, 00:08:43 AM
I got product A, B, C, D, E, F, G, H and I.

Product C, D, E, F, G, H and I have some special conditions:
1. A max total of 2 can only be ordered per transaction.
2. A customer can only order a max of 10 per year.

Product A and B can be ordered as much as wanted, so setting a maximum order amount for the store will not work.
Setting the maximum order amount at 2 for the product will not work also since I have 7 products.
Title: Re: Special order conditions / Max total order per client
Post by: GJC Web Design on August 10, 2016, 10:38:33 AM
IMHO this has to be coded with a plugin ...

when adding to cart a function needs to check the current amounts in the users session and historically what they have ordered etc
Title: Re: Special order conditions / Max total order per client
Post by: accessvirus on August 10, 2016, 11:52:57 AM
Can you build that?
Title: Re: Special order conditions / Max total order per client
Post by: GJC Web Design on August 10, 2016, 12:22:26 PM
yes.. but this sort of discuss should be private.. u can contact me thru   http://www.gjcwebdesign.com/contact.html  :)