Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Deleting update button

Deleting update button

Locked

Views: 1,876

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Jul 2006, 11:46 AM
#1
mobsta avatar

mobsta

New Zenner

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

Deleting update button

Hey guys...How can I get rid of the update button next to quantity in my shopping cart? All my products are unique so I don't need the button...

16 Jul 2006, 2:08 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Deleting update button

Might peek in the settings for the Configuration ... Stock ...

Show Shopping Cart - Update Cart Button Location
Show on Shopping Cart Update Cart Button Location as:

1= Next to each Qty Box
2= Below all Products
3= Both Next to each Qty Box and Below all Products

Note: this setting controls which of 3 tpl_shopping_cart_default files are called

16 Jul 2006, 8:27 PM
#3
mobsta avatar

mobsta

New Zenner

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

Re: Deleting update button

Hmm...It seems that those options only move the button rather than get rid of it completely...I'd like to get rid of it if I could...

16 Jul 2006, 10:57 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Deleting update button

You'd have to alter the tpl_ file ...

Note: no update button be sure to remove the checkboxes for deleting ...

<?php
// show update cart button
  if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
?>
<div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
<?php
  } else { // don't show update button below cart
?>
<?php
  } // show checkout button
?>