roz Posted April 14, 2014 Share Posted April 14, 2014 hi all! has anyone had a need of the Quantity option in Product List? this is to lessen the clicks before you can add items into cart. which is very user friendly and very common to shopping sites. is there such an option available in prestashop? or we need to customize the code for that? anyone, please share thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted April 14, 2014 Share Posted April 14, 2014 Hi! I didn't test it on 1.6 but you can try applying the same principle I used here: http://blog.arvixe.com/adding-multiple-products-and-quantities-to-prestashops-cart/ Link to comment Share on other sites More sharing options...
waldiPL Posted April 14, 2014 Share Posted April 14, 2014 i use this guide in my prestashop: http://mypresta.eu/en/art/developer/prestashop-quantity-field-on-product-list.html it works in my default-bootstrap template in prestashop 1.6 Link to comment Share on other sites More sharing options...
roz Posted April 15, 2014 Author Share Posted April 15, 2014 thanks Nemo1 & waldiPL. will try both and let you guys know which one works for me. thanks! Link to comment Share on other sites More sharing options...
roz Posted April 15, 2014 Author Share Posted April 15, 2014 sadly, both are not working any other solution? i'm also using default-bootstrap so i'm wondering why is it working for you waldiPL. is it a clean install of 1.6? mine is an upgrade from 1.5.. Link to comment Share on other sites More sharing options...
blurfish Posted April 18, 2014 Share Posted April 18, 2014 sadly, both are not working any other solution? i'm also using default-bootstrap so i'm wondering why is it working for you waldiPL. is it a clean install of 1.6? mine is an upgrade from 1.5.. Me too, I try both solution also not working. Mine is a freshly installed 1.6.0.5. After i followed steps, the quantity pick up by cart is always 1 irregardless how many i have key in my newly added quantity field. Link to comment Share on other sites More sharing options...
vekia Posted April 18, 2014 Share Posted April 18, 2014 hello what exactly doesnt work? you see some error messages? Link to comment Share on other sites More sharing options...
roz Posted April 21, 2014 Author Share Posted April 21, 2014 hello what exactly doesnt work? you see some error messages? i don't see any error message. it only adds 1 qty to cart Link to comment Share on other sites More sharing options...
NemoPS Posted April 21, 2014 Share Posted April 21, 2014 It looks like it's missing some quantity variable somewhere then! Link to comment Share on other sites More sharing options...
roz Posted April 21, 2014 Author Share Posted April 21, 2014 It looks like it's missing some quantity variable somewhere then! well i'm not really sure.. but it should be okay.. i followed each of your step. even included the multiple selection codes just to make sure i don't miss anything although i was hoping i followed your steps correctly as it's also a bit confusing. so many files that needs to change. Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2014 Share Posted April 21, 2014 hello your website is online (if i missed url im sorry) ? Link to comment Share on other sites More sharing options...
roz Posted April 22, 2014 Author Share Posted April 22, 2014 hello your website is online (if i missed url im sorry) ? hi vekia. yes it is. http://testpres.primeonline.com.sg/ Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 your file ajax-cart.js isn't changed correctly change this file http://testpres.primeonline.com.sg/themes/default-bootstrap/js/modules/blockcart/ajax-cart.js i suppose that you changed only original module file. http://testpres.primeonline.com.sg/modules/blockcart/ajax-cart.js 1 Link to comment Share on other sites More sharing options...
roz Posted April 22, 2014 Author Share Posted April 22, 2014 your file ajax-cart.js isn't changed correctly change this file http://testpres.primeonline.com.sg/themes/default-bootstrap/js/modules/blockcart/ajax-cart.js i suppose that you changed only original module file. http://testpres.primeonline.com.sg/modules/blockcart/ajax-cart.js hi vekia! you were right i changed the wrong js file but after updating it, it's still adding 1 qty instead of whatever qty i input. any more idea why? thank you Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 ctrL+f5 and try again will work 1 Link to comment Share on other sites More sharing options...
roz Posted April 23, 2014 Author Share Posted April 23, 2014 ctrL+f5 and try again will work great! now working! thanks Vekia! 1 Link to comment Share on other sites More sharing options...
vekia Posted April 23, 2014 Share Posted April 23, 2014 you're welcome :-) i marked this topic as solved 1 Link to comment Share on other sites More sharing options...
badelakshmi Posted May 21, 2014 Share Posted May 21, 2014 you're welcome :-) i marked this topic as solved Hi Vekia, can i add plus, minus icons in the product list page? Thanks, Laks Link to comment Share on other sites More sharing options...
Recommended Posts