Extra UPDATE button in your cart.tpl
I've been getting a few complaints from our customers that when they change the quantity of the product in the shopping cart, nothing happens. (Duh!)
Because sometimes ppl tend not to scroll down, i've added an extra "Update" button right next to the "Delete button" iside of the shopping cart... so here it is |
where would you put this code?
|
Where to put hte code
Inside of cart.tpl find the first line of the code (delete button), and replace it with the code (delete and update button)
|
Nice quick mod that will stop a little frustration...thanks for sharing your hack! :lol:
Ahhh the little changes that makes WORLDS of difference! Chris |
For 3.5.7
skin1/customer/main/cart.tpl Code:
Very useful and recommended! |
Has anyone got this working for 4.0.9?
I tried both code suggestions and they have the same problem - when I click either button I'm taken to my Home Page. Thanks for any help. Jennifer |
Hi Jeniffer,
ver 4.0.11 customer/main/cart.tpl around line 67 put this code Code:
{include file="buttons/update.tpl" type="input" href="javascript: document.cartform.submit()" js_to_href="Y"} right after Code:
{include file="buttons/delete_item.tpl" href="cart.php?mode=delete&productindex=`$products[product].cartid`"} and before Code:
{if $products[product].product_options ne ''} Beside every delete item button is now an update button, Andy |
Thank you!
|
All times are GMT -8. The time now is 08:56 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.