News:

Support the VirtueMart project and become a member

Main Menu

product limit

Started by media101, February 04, 2013, 13:00:44 PM

Previous topic - Next topic

media101

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

PRO

are you setting the "maximum purchase quantity"

???


are you using layout overrides?

media101

i have set the max purchase to 5 and the min to 1 but still no good

PRO

what about using stock? have you tried that?

media101

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

PRO


media101

i dont know what that is, can u explain please, step by step would be great :D

PRO

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?

media101

dont think so i think its the standard one cause its just called VirtueMart

PRO

what version vmart are you using?

media101

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