Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Getting rid of the specials link

Getting rid of the specials link

Locked

Views: 660

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
6 Dec 2010, 11:45 PM
#1
wefoundem avatar

wefoundem

New Zenner

Join Date:
Oct 2010
Posts:
93
Plugin Contributions:
0

Getting rid of the specials link

I do not run specials so how can I get rid of the link to the specials page on my homepage, preferably without scrambling anything else?

7 Dec 2010, 1:06 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Getting rid of the specials link

By default, Zen Cart's categories sidebox only shows the Specials... link if there are specials to see. Your template is using the "categoriescss" sidebox in place of the stock one, and it may have eliminated that conditional display and made it permanent.

7 Dec 2010, 1:07 AM
#3
wefoundem avatar

wefoundem

New Zenner

Join Date:
Oct 2010
Posts:
93
Plugin Contributions:
0

Re: Getting rid of the specials link

Well can I just delete it from the css file? or I guess even better comment it out?

7 Dec 2010, 1:16 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Getting rid of the specials link

No, you can't. It is coded in /includes/templates/your_template/sideboxes/tpl_categories.php (or some version of that for categoriescss), and you would need to compare the /template_default/ version of it to find what conditional code was eliminated and add it back in.

If you really want to permanently eliminate the Specials link, you could delete the code that produces it in that file.

7 Dec 2010, 1:35 AM
#5
wefoundem avatar

wefoundem

New Zenner

Join Date:
Oct 2010
Posts:
93
Plugin Contributions:
0

Re: Getting rid of the specials link

Delete the code in tpl_categories.php?

7 Dec 2010, 2:27 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Getting rid of the specials link

Yes (the /your_template/ version), or whatever filename actually serves that sidebox mod.

7 Dec 2010, 2:30 AM
#7
wefoundem avatar

wefoundem

New Zenner

Join Date:
Oct 2010
Posts:
93
Plugin Contributions:
0

Re: Getting rid of the specials link

ok thanks I will get started on that in the morning, I would leave it in but google and everyone else has indexed the stupid thing and I noticed tonight a lot of people landing on it and then leaving because well there isn't anything on it.

7 Dec 2010, 11:11 PM
#8
scotchmonster avatar

scotchmonster

New Zenner

Join Date:
Nov 2010
Posts:
18
Plugin Contributions:
0

Re: Getting rid of the specials link

Hi, I'm really impressed with the specials side box but I'd prefer not to have "monthly specials for December" on the main page. I have told it to show 0 in there but the words "monthly specials for December" still appear at the bottom of the page.
Is there a way I can remove that?