hi jettrue,
i've manged to get the cart items to display in the header, but it pushes my centered logo to the left (which covers the images on the left)...
how to i get the logo to remain centered and still have the cart items (and a shopping cart image) display on the right?
i added this to the style sheet:
Code:
#ShoppingCart {
float:right;
padding-right:25px;
text-align:center;
}
And this to the tpl_header.php:
Code:
<!-- bof cart in header -->
<div id="ShoppingCart" class="clearfix">
My Cart: <span class="style1">
<?php echo sizeof($_SESSION['cart']->get_products()); ?> items
<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());
echo $header_cart;
?>
</span>
<br class="clearBoth" />
</div>
<!-- eof cart in header -->
and here is a link to the test site so you can see what is happening:
http://tinyurl.com/5fbh7b
thanks!
Bookmarks