New Zenner
- Join Date:
- Mar 2007
- Posts:
- 57
- Plugin Contributions:
- 0
Simple change to checkout_shipping
Hi all,
In step one of the checkout process, next to the selected shipping preference there is a total for each method. In our case it is always $0.00 because we don't calculate the shipping charges in the cart.
I simply want to make the $0.00 not visible.
I think I have tracked down the file to edit located at \includes\templates\my_templte_set\templates\tpl_checkout_shipping_default using the developers tools.
I'm pretty sure the lines needed to be edited are lines 86-90 as ardvark shows the shows the DIV class as "important forward" .
Here's the code:
<div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></div>
<?php
} else {
?>
<div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . zen_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></div>
```I don't know PHP so I can't tell what will happen if I comment out the lines or delete them.
Will someone please tell me the proper way to handle this edit?
Thanks in advance for any help.
Steve
Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template
Mods: Login Box v 1.41