laserking123 Posted January 20, 2014 Share Posted January 20, 2014 Hi everyone ! I have manged to create a new colum in my checkout where it shows how many products i have in my basket. It shows it fine. But when i add more products in the checkout it wont update that quantity. i placed this code in shopping-cart.tpl <span id="summary_products_quantity">{$productNumber} INTO THIS <tr class="cart_total_price"> <td colspan="5">{if $display_tax_label}{l s='Total products (tax incl.):'}{else}{l s='Total cartons'}{/if}</td> <td colspan="2" class="price" id="summary_products_quantity">{$productNumber}</td> </tr> But when i add more products it wont update? Please help Link to comment Share on other sites More sharing options...
Dh42 Posted January 21, 2014 Share Posted January 21, 2014 It would take looking at the site to see what would need to be added. Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2014 Share Posted January 21, 2014 it's related to "quantity" of certain product, or to quantity of products in whole cart? Link to comment Share on other sites More sharing options...
laserking123 Posted January 21, 2014 Author Share Posted January 21, 2014 I have send you a message Link to comment Share on other sites More sharing options...
laserking123 Posted January 21, 2014 Author Share Posted January 21, 2014 Its for the whole cart. When i come to the checkout page. i have added a field where it shows how many quantity i have in my whole cart. when i press + in one product this wont update like the ajaxcart does example in the menu, Link to comment Share on other sites More sharing options...
vekia Posted January 21, 2014 Share Posted January 21, 2014 ok now i understand, it's because this quantity "buttons" uses ajax queries to increase / decrease quantities. you have to modify a bit scripts, or include new script to "update" new field too (after [+] or [-]) Link to comment Share on other sites More sharing options...
laserking123 Posted January 21, 2014 Author Share Posted January 21, 2014 Yees exactly, but what should i add to this code? to get it to work.: <span id="summary_products_quantity">{$productNumber} Link to comment Share on other sites More sharing options...
Recommended Posts