| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Get subcategories to show on left column | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I made a featured categories section on my left sidebar -- just above where i list all my main categories. This featured section shows my subcategories.
When I am in a main category, the featured section will show up. However, when I click into one of the subcategories then the featured section will disappear. I would like this featured section to show up, even if you click into a subcategory. So if I am in main category "Lion Clothing" -- I will see "Lions T-shirts" and "Lions Sweatshirts" subcategories on the left siderail. But right now, if I click into "Lions T-shirts" ... then the featured category section will be gone. I would like to still see "Lions T-Shirts" and "Lions Sweatshirts" listed on the left side. I have tried putting this in my home.tpl Code:
What am I missing? PM me if you'd like to see the URL so you can see how it's acting.
__________________
X-Cart Gold 4.5.4 |
|||||||
#2
|
|||||||
|
|||||||
![]() I just wanted to bump this as I am still trying to come up with a way to have my subcategories show up on the left sidebar while you are viewing a subcategory.
PM me if you'd like to see the URL so you can see how it's acting.
__________________
X-Cart Gold 4.5.4 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() It disappears because $subcategories array is empty when you go to a subcategory. You are using default XC and this is how it behaves. If you want last subcategories list to stay you have to custom code it so array is populated even if you are on products list or product details page.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|