| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Can someone look at my categories.tpl code? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I'm on X-Cart 4.0.12. I'm trying to get the categories.tpl menu to show all subcategories below the main category. I've worked out that I am not using the official 4.0.12 categories.tpl because the code is different and I suspect it's because it was an upgrade that Qualiteam did from an earlier store. If it ain't broke, don't fix it! ![]() Anyway, by reading through the various hacks I've come up with this in my categories.tpl code, which displays the subcategories for the main category you happen to be in. However, I actually want it to display all subcategories under the main categories all the time. Quote:
I'm having a hell of a time getting this to happen as I've been trying in vain to use this type of code from other hacks for my version: Quote:
but all I seem to get is a not hyperlinked list of categories. Can anyone help? Thanks Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() In your first example you have
<a href="home.php?cat={ $categories[cat_num].categoryid }" class=VertMenuItems>{$categories[cat_num].category}</a> which is the hyperlink. It is missing from your 2nd example.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
|||
X-Cart forums © 2001-2020
|