| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
If ticked, the categories list always shows root categories: | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
If ticked, the categories list always shows root categories:
We would like to use this feature but are running into a problem, at the level when "products.tpl" or "products_t.tpl" kicks in, the entire menu disappears. Would anyone know how to show, just the parent subcategories there, instead of having it disappear.
Thanks, David
__________________
4.4 Code:
|
|||||||||
#2
|
|||||||||
|
|||||||||
Re: If ticked, the categories list always shows root categories:
Hm, it is have sense only in case of two levels menu tree - root categories and one level per root category. Can you confirm that you have only two levels category structure? I'll make some research which allow to show subcategories menu.
__________________
Regards, Anthony Holub X-Cart Skins Store - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: If ticked, the categories list always shows root categories:
Quote:
Yes, that is correct, there are only two levels on the site. BTW, Nice Skins!!
__________________
4.4 Code:
|
|||||||||
#4
|
|||||||||
|
|||||||||
Re: If ticked, the categories list always shows root categories:
Here is decision, tested on 4.1.9 and 4.1.11:
find this code in include/categories.php Code:
between comments and Code:
Code:
and find Code:
and insert after Code:
You should get something like this Code:
All done. Just save it and upload file on server. You will always see subcategories menu (if subcategories exist) in any root category.
__________________
Regards, Anthony Holub X-Cart Skins Store - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: If ticked, the categories list always shows root categories:
Thank you so much... did the trick.
__________________
4.4 Code:
|
|||||||||
#6
|
|||||||
|
|||||||
Re: If ticked, the categories list always shows root categories:
This is exactly what I need - except that I need it for 4.4. This version doesn't seem to have a include/categories.php file and I can't find a reference on a system wide search for the code. Is this fix still applicable?
__________________
* 4.4.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|