...templates/CUSTOM/common/tpl_header.php
I started to add in some code below and labeled it as such,
Again, I'm not a programmer but I kind of get the idea of what I need, just not sure how to execute the code.PHP Code:<!--bof Shopping Cart Totals in Header Add-on-->
<!--NOTE: this add-on was modified to correct an error in cart totals $$ (check forum post subsciptions for code details)-->
<!--"//"Comment or Uncomment to use-->
<span class="style1">
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">
My Cart: <?php echo ($_SESSION['cart']->count_contents()); ?>
<!--BOF WHAT I ADDED, I'M PRETTY SURE ITS NOT RIGHT BUT MAYBE SOMEONE CAN HELP TO CLEAN IT UP-->
<?php if ($_SESSION['cart']->count_contents() !<1;
echo ONE_ITEM_IN_CART;
{else}
echo MULTIPLE_ITEMS_IN_CART;?>
<!--EOF WHAT I ADDED-->
</a>
<?php $header_cart = $currencies->format($_SESSION['cart']->show_total()); echo $header_cart;?>
</li>
</span>
<!--eof Shopping Cart Totals in Header Add-on-->
<!--"//" comment or uncomment to hide/use this original code-->
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<!--keep tag info commented out if php is commented out otherwise it will cause an invisible link to the index next to the LogIn link in nav
<li><a href="<?php //echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php //echo HEADER_TITLE_CART_CONTENTS; ?></a></li>-->
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
Any help is greatly appreciated!



