How do I remove the "update cart" button in the shopping cart? It looks like two arrows forming a circle (sorry, would have attached it but don't know how).
How do I remove the "update cart" button in the shopping cart? It looks like two arrows forming a circle (sorry, would have attached it but don't know how).
Do you want to change this image? or remove the button and the function that it calls?
Zen-Venom Get Bitten
There are several "switches" in the admin for controlling the look of the shopping cart page. See Admin> Configuration> Stock
I wish to remove the update cart function because when I 'hover' over the image, it says, "change your quantitiy by highlighting the number in the box, correcting th quantity and clicking this button." I do not have a quantity box that can be changed in this way. When I click on it, everything in the shopping cart gets deleted.
I had the same problem. The only way I could completely remove it was to strip the following code:
from templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.phpCode:<div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
You could also change what the ALT tag reads:
/includes/languages/english/icon_names.php
Line #21 : define('ICON_UPDATE_ALT', 'Change your quantity by highlighting the number in the box, correcting the quantity and clicking this button.');
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks JFD. I took out the line in the file:
from templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php[/QUOTE]Code:<div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
This removed the image at the bottom of the page, but the one next to the product is still there. Do you know how I might remove that one as well?
I think I ended up stripping the code for that button as well but first try going to Admin> Configuration> Stock, as Kim mentioned and setting "Show Shopping Cart - Update Cart Button Location" to 2. If that doesn't do it, let me know and I'll try to track down the code to delete.
Thanks heaps. Sorry Kim, Thought I had tried all of the options in Admin- Stock. Obviously hadn't. Problem solved. Feel slightly sheepish![]()
I can't be certain but it's possible the setting was cached and needed some time to go into effect. Seems like I read about this somewhere. In any case, good to hear you got it working.