Print this pagePrint this page

Change default quantity control amount


You can increase the number of allowed values, for example from 10 to 15 (e.g. 1, 2, 3, 4 ...15) by editing the "set_quantity_control" function in includes/shopping_cart.php - open this file and change the quantity amount in the below string:
$increment_limit = 9;
where 9 is the maximum amount of product you allow your clients to add to the shopping cart +1. Therefore for the example above you'll need to set $increment_limit = 14;

More examples to change Qty control are in the manual:
http://www.viart.com/qty_control.html