VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: ultimamedia on August 19, 2014, 17:52:51 PM

Title: [solved] minimum quantities in cart
Post by: ultimamedia on August 19, 2014, 17:52:51 PM
Hi all, so a basic VM2 problem - if you have a minimum order quantity and put your pricing quantity from that quantity to another for example 500 - 1000
the add to cart button wont work unless you have a price point that starts at quantity of 1
Any idea how to fix?
many thanks,
Chris
Title: Re: minimum quantities in cart
Post by: jenkinhill on August 19, 2014, 18:01:12 PM
Nothing to fix as I see it. Intitial price is per product unit, so in your case you enter the price to apply for the range 1 - 1000 and the next quantity price would start at 1001 (for example). If your minimum purchase is 500 then they buy that 500 (and up to 1000) at the per product price.
Title: Re: minimum quantities in cart
Post by: ultimamedia on August 19, 2014, 18:03:36 PM
Hi Kelvyn but if you do your product pricing to start at quantity 500 for a product the add to cart button disappears....
it only appears if you start quantity at 1
Title: Re: minimum quantities in cart
Post by: ultimamedia on August 20, 2014, 11:54:01 AM
Sorry to bump but does anyone know a solution to this?
Many thanks,
Title: Re: minimum quantities in cart
Post by: GJC Web Design on August 20, 2014, 13:18:41 PM
where is the problem with a 1->1000 price and a minimum purchase of 500?
Title: Re: minimum quantities in cart
Post by: ultimamedia on August 20, 2014, 15:15:00 PM
Because customers think they can buy less than 500!

http://www.ultimadevelopments.info/promofix/index.php/pens-pencils/plastic-pens2014-03-14-12-31-331686475069/super-hit-basic-ballpen-detail

so this product has minimum quantity of 500 - but we have to put a price in for 1 - 500!!!
Title: Re: minimum quantities in cart
Post by: jenkinhill on August 20, 2014, 15:32:47 PM
You must have idiot costomers then. But where is the simple statemt "Minimum order 500"  on the sample page you show?
Title: Re: minimum quantities in cart
Post by: GJC Web Design on August 20, 2014, 15:54:53 PM
you can't go lower than 500 in the quantity input unless you type it - then it is rejected

is the probelem the line 0 - 0    £0.26 in the price table?
Is that rendered by a plugin or something?

if so just use some css to hide the first tr of

.vm-multi-prices table tr:first-child {display:none;}
Title: Re: minimum quantities in cart
Post by: ultimamedia on August 26, 2014, 11:09:03 AM
Hi GJC that would be great but some times we can sell 1 product!!!
Title: Re: minimum quantities in cart
Post by: GJC Web Design on August 26, 2014, 14:47:28 PM
then filter the css by cat id or something...
Title: [solved] Re: minimum quantities in cart
Post by: GJC Web Design on August 26, 2014, 19:01:40 PM
solved by filtering by minimum order in product object