PrabuSS Posted March 15, 2014 Share Posted March 15, 2014 (edited) Hi to all I would like to change the number of + and - sign in prestashop store check out page. I have used 1.5.6 version. By the default in the check out page when we have clicked the + or - sign normally the product QTY has been increased or decreased +1 or -1. But here i would like to increased or decreased +24 or -24. So please help me would be better. Please find attached as well. http://wholesale-genie.com/ Edited March 15, 2014 by Prabukaran (see edit history) Link to comment Share on other sites More sharing options...
Maskca Posted March 16, 2014 Share Posted March 16, 2014 Go to your theme folder/js/cart-summary.sj Find here: function upQuantity(id, qty) { if (typeof(qty) == 'undefined' || !qty) qty = 1; var customizationId = 0; var productId = 0; var productAttributeId = 0; var id_address_delivery = 0; var ids = 0; ids = id.split('_'); And change qty = 1; on qty = 24; Also find here: function downQuantity(id, qty) { var val = $('input[name=quantity_'+id+']').val(); var newVal = val; if(typeof(qty) == 'undefined' || !qty) { qty = 1; newVal = val - 1; } else if (qty < 0) qty = -qty; var customizationId = 0; And change qty = 1; on qty = 24; Link to comment Share on other sites More sharing options...
Recommended Posts