Zen Cart Logo
Forums / Customization from the Admin / Help with buttons please

Help with buttons please

Views: 656

Results 1 to 4 of 4
19 May 2011, 11:31 AM
#1
dukeofmodena avatar

dukeofmodena

New Zenner

Join Date:
Apr 2009
Location:
Neath, South Wales
Posts:
53
Plugin Contributions:
0

Help with buttons please

Hi, does anyone know how I could move the 'update' button to a more central part of the shopping cart or perhaps place it near the subtotal text - I've attached a screenshot for clarity.
Thanks.

19 May 2011, 12:33 PM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Help with buttons please

In a stock ZC the Update button is not where you show it. There's no way for us to figure out what's wrong without a link to your site. Also, did you install a free or purchased template? If so, which one? What version of ZC? Have you installed a mod which modifies the checkout process? The more details you can give us the better.

Rob

19 May 2011, 1:31 PM
#3
dukeofmodena avatar

dukeofmodena

New Zenner

Join Date:
Apr 2009
Location:
Neath, South Wales
Posts:
53
Plugin Contributions:
0

Re: Help with buttons please

Hi Rob, it's version 1.3.9h and is a template by JSWebs. The site is https://www.coffeeroyale.co.uk
Thanks

19 May 2011, 5:31 PM
#4
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Help with buttons please

For some reason that bit has been moved out of the table it belongs in. Perhaps it's your template that did this, perhaps not. But have a look at...
/includes/templates/template_default/templates/tpl_shopping_cart_default.php

Starting at line 75 or so, you should have this, just above <td class="cartProductDisplay">

       <td class="cartQuantityUpdate">
<?php
  if ($product['buttonUpdate'] == '') {
    echo '' ;
  } else {
    echo $product['buttonUpdate'];
  }
?>
       </td>

Find where it actually is in that file and move it to where it belongs. Note that I found that in template_default because it isn't modified in my cart. If yours was modified correctly it would have been placed into an override folder, so the path would be...
/includes/templates/YOUR_template/templates/tpl_shopping_cart_default.php

Rob