Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing items from the 'Site Map'

Removing items from the 'Site Map'

Locked

Views: 1,541

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 Jul 2008, 10:10 AM
#1
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Removing items from the 'Site Map'

Hi, I have had a little tinker with the developers toolkit to find the right file... but with no luck.

I would like to know how to remove items from the Site Map page (index.php?main_page=site_map).

I want to remove certain items like, 'New Products', 'Reviews', 'Gift Certificate FAQ's' etc... as these items are not used in my shop (except the 'New Products' which I want to disable as its a bit pointless for me).

Anybody know how to do this.

Cheers
Jym

22 Jul 2008, 10:32 AM
#2
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Removing items from the 'Site Map'

Quick reply... Just found it.

If you need to do this it can be done by going to shop/templates/your_theme/templates/ and commenting out the required lines of code in tpl_site_map_default.php using the HTML commenting (<!-- Commented Code -->)

Jym

13 Aug 2008, 3:51 AM
#3
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

Join Date:
Aug 2008
Posts:
131
Plugin Contributions:
0

Re: Removing items from the 'Site Map'

Thanks for that solution--there were some links that seemed impossible to remove without doing this.

I'll never need the links either so no big loss wink

3 Feb 2009, 6:55 AM
#4
tspc999 avatar

tspc999

New Zenner

Join Date:
Dec 2008
Posts:
1
Plugin Contributions:
0

Re: Removing items from the 'Site Map'

Just REPLACE the '1' to '0" as shown below and VOILA...!
//from this line:

<?php if (DEFINE_PAGE_4_STATUS <= '1') { ?>

//to this line:

<?php if (DEFINE_PAGE_4_STATUS <= '0') { ?>

:clap::smartalec: