You must be logged in to post


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

How to Remove Shopping Cart and View Cart links in header

UserPost

1:28 pm
June 10, 2009


Market Admin

Admin

posts 4756

1

Some of you have asked how to remove the "View Shopping Cart" link at the top of the page, and the "View Cart" option from the Navigation bar.

Here's how.

(The instructions below are current for Market version 4.451)

======================
"View Shopping Cart" Remoal
======================

1.  Open up your "header.php" file for editing.  (You can use your Theme editor tool under "Appearance" in your WordPress administration area.)

2.  Scroll down until you find the line:

<div class="viewcarttop">3.  Immediately after this line, add the code "<!–" so that it now looks like:

<div class="viewcarttop">
<!–
4.  Now, scroll down a few lines until you find:

<img src="<?php bloginfo('template_directory'); ?>/imgs/cart.gif">View Shopping Cart</a>
</div>

5.  Immediately before the "</div>" tag, add the code "–>" so that it now looks like:

<img src="<?php bloginfo('template_directory'); ?>/imgs/cart.gif">View Shopping Cart</a>
–>
</div>

6.  Save the file, and that should do it.

======================
"View Cart" Navigation Link Remoal
======================

1.  Open up your "header.php" file for editing.  (You can use your Theme editor tool under "Appearance" in your WordPress administration area.)

2.  Scroll down until you find the line:

<!– The following line adds a "View Cart" link to the navigation menu. You may remove it if you don't want it shown –>3.  Immediately after this line, add the code "<!–" so that it now looks like:

<!– The following line adds a "View Cart" link to the navigation menu. You may remove it if you don't want it shown –>
<!–
4.  Now, scroll down a few lines until you find:

      <!– End of "View Cart" menu option–>

5.  Immediately before this line so that it now looks like:

–>
      <!– End of "View Cart" menu option–>

6.  Save the file, and that should do it.



 

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.