Hi All
I'm trying to display the cart totals in navmain on all pages. eg. Total Items: 1 Amount: £38.29. I can get it to work if I paste
<li class="cartTotalsDisplay important"> <?php echo $totalsDisplay; ?></li>
into the navmain div in tpl_header. But, it only appears on the shopping cart page. I'm guessing that $totalsDisplay isn't available in pages other than the shopping cart - is this correct?. How can I ensure it always appears in navmain on any page?
The site is here
NB you have to add something to the cart to get to the Shopping Cart page.
Thank you!, Steve
Bookmarks