How to disable 'Shopping Cart' and 'Checkout' links from showing up on the top navigation header everytime after I add something in my cart?
I want the top nav with Home and Login to stay as they were whenever I add something to my cart.
Anyone?
How to disable 'Shopping Cart' and 'Checkout' links from showing up on the top navigation header everytime after I add something in my cart?
I want the top nav with Home and Login to stay as they were whenever I add something to my cart.
Anyone?
Remove/comment them out in your copy of tpl_header.php
Zen-Venom Get Bitten
Do you mean by deleting this code?
PHP 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 }?>
I would comment it out using this at the head of what you want to not parse and then the latter at the end
/*
*/
Zen-Venom Get Bitten
Hello, I am trying to comment out the header, "Home Login/Register My Account" etc links(I have the CSS header installed so I have no need for them http://dropyourdrawers.brinkster.net/shop/) but I am not having any luck, I must not be putting them in the right place because the /* and */ keep showing up on my page.:
Can you please show me where to put them in the code? Also, I'm trying to comment out the "Home" link from the footer, but am not seeing this in the tpl_footer.
peeptoe,
Find these 2 lines and Add the red items
Code:/* <!--bof-navigation display--> <!--eof-navigation display--> */
Zen-Venom Get Bitten
peeptoe,
What are you editing files with?
What is the link to your cart?
Zen-Venom Get Bitten
http://dropyourdrawers.net/shop/
and I edit with notepad++
Just remove/delete these lines in your copy at templates/dyd/common
Zen-Venom Get Bitten
Bookmarks