Hi All,
Does anyone know how to add VIEW CART and CHECKOUT NOW links or buttons to the header but only have them appear if there is an item in the cart???
Thanks.
Hi All,
Does anyone know how to add VIEW CART and CHECKOUT NOW links or buttons to the header but only have them appear if there is an item in the cart???
Thanks.
The links "Shopping Cart" and "Checkout" should appear in the header as standard whenever the cart is full. You could easily modify these links to say "View Cart" and "Checkout Now" if you wanted to?
Mods: Admin Activity Report || PO Box Ban || Empty Cart Manager || Autoresponder+ || Zip Validator || Desktop Data || SRiC
I have a contributed template installed (cherry zen) which may be why those links don't show up when an item is added to cart.
Which files control the links "Shopping Cart" and "Checkout"? Maybe I can add them back in???
Thanks.
That would be..
includes\templates\template_default\common\tpl_header.php
Make sure to use the overide system if editing it.
If you have any problems with this, I would suggest posting in the Cherry Zen Support Thread.
Good luck.
Mods: Admin Activity Report || PO Box Ban || Empty Cart Manager || Autoresponder+ || Zip Validator || Desktop Data || SRiC
Is this the code that adds the links if there is something in the cart?
Could I just insert that into my where I want it to appear override file?Code:<?php if ($_SESSION['cart']->count_contents() != 0) { ?> <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 }?>
Thanks
I have been editing the tpl_ezpages_bar_header.
Where do I change the text for the links "Shopping Cart" and "Checkout" that appear in the header?
Thanks.
Mods: Admin Activity Report || PO Box Ban || Empty Cart Manager || Autoresponder+ || Zip Validator || Desktop Data || SRiC
Brilliant!!!
Thanks!
Bookmarks