Forums / Templates, Stylesheets, Page Layout / Removing image from shopping cart

Removing image from shopping cart

Locked

Views: 2,734

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
4 Jul 2006, 9:51 AM
#1
halabaloo avatar

halabaloo

New Zenner

Join Date:
Jun 2006
Posts:
11
Plugin Contributions:
0

Removing image from shopping cart

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).

4 Jul 2006, 12:18 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Removing image from shopping cart

Do you want to change this image? or remove the button and the function that it calls?

Zen-Venom Get Bitten

4 Jul 2006, 2:20 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: Removing image from shopping cart

There are several "switches" in the admin for controlling the look of the shopping cart page. See Admin> Configuration> Stock

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

5 Jul 2006, 3:58 AM
#4
halabaloo avatar

halabaloo

New Zenner

Join Date:
Jun 2006
Posts:
11
Plugin Contributions:
0

Re: Removing image from shopping cart

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.

5 Jul 2006, 10:57 PM
#5
jfd avatar

jfd

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: Removing image from shopping cart

I had the same problem. The only way I could completely remove it was to strip the following code:

<div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>

from templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php

5 Jul 2006, 11:10 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing image from shopping cart

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!

7 Jul 2006, 8:25 AM
#7
halabaloo avatar

halabaloo

New Zenner

Join Date:
Jun 2006
Posts:
11
Plugin Contributions:
0

Re: Removing image from shopping cart

Thanks JFD. I took out the line in the file:

<div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>

from templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php[/QUOTE]

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?

11 Jul 2006, 6:46 PM
#8
jfd avatar

jfd

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: Removing image from shopping cart

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.

14 Jul 2006, 10:09 AM
#9
halabaloo avatar

halabaloo

New Zenner

Join Date:
Jun 2006
Posts:
11
Plugin Contributions:
0

Re: Removing image from shopping cart

Thanks heaps. Sorry Kim, Thought I had tried all of the options in Admin- Stock. Obviously hadn't. Problem solved. Feel slightly sheepish :blush:

14 Jul 2006, 3:50 PM
#10
jfd avatar

jfd

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: Removing image from shopping cart

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.

20 Jul 2006, 12:06 AM
#11
etoile03 avatar

etoile03

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Re: Removing image from shopping cart

i'm trying to remove the update image next to qty, as well. i tried to alter the settings in the config/stock as suggested, but the image still shows up. it could be cached..but, how would i manually remove it?

20 Jul 2006, 12:22 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Removing image from shopping cart

If the switch isn't working ... it sounds like you are not using v1.3.0.2 ...

Did you upgrade to v1.3 and not upgrade any further?

If so ... you have a lot of little quirks that need upgrading to v1.3.0.2

Note: the Changed Zen Cart v1.3.0.2 is ONLY for people who upgraded from v1.3 to v1.3.1

NOTE: Always Backup your database and web site before attempting any upgrade

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!