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?
Views: 660
New Zenner
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?
Black Belt
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.
New Zenner
Well can I just delete it from the css file? or I guess even better comment it out?
Black Belt
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.
New Zenner
Delete the code in tpl_categories.php?
Black Belt
Yes (the /your_template/ version), or whatever filename actually serves that sidebox mod.
New Zenner
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.
New Zenner
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?
Tell staff why this post should be reviewed.