| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
ALWAYS display first level subcats beneath root cats | ||||
|
|
Thread Tools | Search this Thread |
#61
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
Hi, I have the 1st level of subcategories displaying in the categories menu as described in this thread, but I also want to display 2nd and 3rd level subcategories in the categories menu too. How do I do this?
__________________
:: Wardworth Ltd :: X-Cart 4.1.8 |
|||||||||
#62
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
Has anyone been able to get this mod to work for version Gold 4.1.9? I have tried all of these with no luck. If anyone got it to owk could you post instructions and code here?
__________________
X-Cart Gold version 4.1.9 |
|||||||||
#63
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Did you check the thread I posted where it all came together for XCart Gold 4.15
http://forum.x-cart.com/showthread.php?p=161471#post161471
__________________
X-Cart Gold Version 4.15 PHP 5.16 / MySQL 5.022 Apache 2.2.3 / Linux (Fedora Core 6) |
|||||||
#64
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
I must have missed that one. I will try it and post back to let you know. Thank you for your help!
__________________
X-Cart Gold version 4.1.9 |
|||||||||
#65
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
I tried it and just got open line error and some other errors. I don't think it works for 4.1.9
__________________
X-Cart Gold version 4.1.9 |
|||||||||
#66
|
|||||||||
|
|||||||||
Re: ALWAYS display first level subcats beneath root cats
awasson, any idea how I would extend the subcategories mod to show 2nd and 3rd level subcategories?
__________________
:: Wardworth Ltd :: X-Cart 4.1.8 |
|||||||||
#67
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Does this work for subcategories.tpl?
__________________
Juan (Teksavers) |
|||||||
#68
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
--------------------------------------------------------------------------------
Re: ALWAYS display first level subcats beneath root cats -------------------------------------------------------------------------------- Hi, I have the 1st level of subcategories displaying in the categories menu as described in this thread, but I also want to display 2nd and 3rd level subcategories in the categories menu too. How do I do this? __________________ Wardworth Ltd I assume it has to do with subcategories.tpl which is what I asked above.
__________________
Juan (Teksavers) |
|||||||
#69
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Also, what if I wanted for all subcategories to show regardless of which category I am currently on?
__________________
Juan (Teksavers) |
|||||||
#70
|
|||||||
|
|||||||
Re: ALWAYS display first level subcats beneath root cats
Quote:
If you comment out that line, the subcategories will then sort by the Position Number you specify and not alphabetically. However, it will mess up the category order on the back end, which makes it more difficult to add a new product to the correct category/categories. 4.0.x Solution: Only have the subcategories sorted by position number on the customer front-end by putting the usort in an IF statement as follows... (Note: it's around Line 164 (4.0.19) and Line 171 (4.1.9) in my include/categories.php file) Code:
First, follow Post #22 in this same thread (on page 3): http://forum.x-cart.com/showpost.php?p=124458&postcount=22 Next, notice the usort is now uasort in the 4.1.x code... Code:
Robert
__________________
X-cart 4.1.10 |
|||||||
|
|||
X-Cart forums © 2001-2020
|