| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hiding a category from the side bar | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm sure this is simple to do but am not sure how to do it. I have a "free gifts" category but I don't want the category name on display in the categories menu on the left hand side. I gather the code would have to go into categories.tpl near the category looping statement below?
Code:
Some sort of an "if" statement perhaps? I'm using 3.5.4. Thanks Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() I believe it's as simple as "disabling" it an admin side and then linking to products in it. If you want to link to the whole category, you'll need to keep it enabled and change this:
Code:
to: Code:
and change freecatid with what ever categoryid number the free category is. Hope that helps! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks for this Carrie, and also for the other hacks of yours I've just done!
Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#4
|
|||||||
|
|||||||
![]() Very nice tweak, thanks so much. I was at the point in a current project where I needed something like that. Funny thing is, I wasn't searching for it when I stumbled across this post.
Lucky? Fortunate? Who cares but thx again.
__________________
~zilker uummm...perhaps you should tell me again. http://www.designertrends.com Version 4.0.6 Unix |
|||||||
|
|||
X-Cart forums © 2001-2020
|