VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: media101 on February 04, 2013, 13:00:44 PM

Title: product limit
Post by: media101 on February 04, 2013, 13:00:44 PM
hello, is there anyway to limit the amount of products a customer can buy. ie if i only have 5 t-shirt for sale i want the clicker next to the add to cart button to only to as high as 5 ... i have tried everything but it wont change please please please some help ... thanks
Title: Re: product limit
Post by: PRO on February 04, 2013, 13:17:04 PM
are you setting the "maximum purchase quantity"

???


are you using layout overrides?
Title: Re: product limit
Post by: media101 on February 04, 2013, 13:37:20 PM
i have set the max purchase to 5 and the min to 1 but still no good
Title: Re: product limit
Post by: PRO on February 04, 2013, 18:07:37 PM
what about using stock? have you tried that?
Title: Re: product limit
Post by: media101 on February 04, 2013, 22:40:11 PM
yes, anywhere that shows a number with the name product/stock/limit/max/min or anything else iv put to 5 and tried that but the counter still goes past 5. is there a plug-in or some random place or section that might control the counter? or even if i could change the look of the counter maybe i could stumble around until i get it to work? ... any ideas would be great :(
Title: Re: product limit
Post by: PRO on February 05, 2013, 00:11:07 AM
Quote from: PRO on February 04, 2013, 13:17:04 PM



are you using layout overrides?


???
Title: Re: product limit
Post by: media101 on February 05, 2013, 10:31:25 AM
i dont know what that is, can u explain please, step by step would be great :D
Title: Re: product limit
Post by: PRO on February 05, 2013, 15:07:09 PM
Quote from: media101 on February 05, 2013, 10:31:25 AM
i dont know what that is, can u explain please, step by step would be great :D

do you have a "custom" virtuemart template?
Title: Re: product limit
Post by: media101 on February 05, 2013, 16:10:54 PM
dont think so i think its the standard one cause its just called VirtueMart
Title: Re: product limit
Post by: PRO on February 05, 2013, 21:34:01 PM
what version vmart are you using?
Title: Re: product limit
Post by: media101 on February 06, 2013, 10:46:34 AM
im using VM2, what i did to 'fix it' is go into the child products and set the stock to 5, and then if the customer buys say 6 of them, a pop up message will appear sayin the max stock is 5 do you wish to proceed? so i suppose this will be fine. thanks for all your help   :D