VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: cleverbargain on July 19, 2013, 14:08:15 PM

Title: Quantity Discount not working when modifying the default Quantity value
Post by: cleverbargain on July 19, 2013, 14:08:15 PM
Hello,

The aim of my post is to set the Default QTY value to 1000 units so that the lowest price is shown on the Front End.

1) I have setup the VM Quantity Discount Plugin successfully in VM2.

2) UNDER: components/com_virtuemart/views/category/tmpl/default.php

I modified This line:
   <input type="text" class="quantity-input" name="quantity[]" value="100" />
TO:
   <input type="text" class="quantity-input" name="quantity[]" value="1000" />

Making the default QTY value to 1000.


However, on the Front end, the New price is not calculated automatically. The user still needs to add/subtract a quantity value before the Quantity Discount Plugin does it work!


What can I do so the Quantity Discount calculates the price based on the default Quantity value?

Is there any solution to make my default QTY value 1000 so the lowest price appears first?


Thank you in advance
G
Title: Re: Quantity Discount not working when modifying the default Quantity value
Post by: Maxim Pishnyak on July 21, 2013, 23:23:02 PM
You could submit a ticket about this issue to VM Quantity Discount Plugin support.