| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Fancy Cats - Trying to show ALL cats + subcats by default | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Fancy Cats - Trying to show ALL cats + subcats by default
Boy, I didn't think this task would be so involved! What I'm trying to do is to create a category driectory which shows all Main Cats as well as Sub Cats without the need to 'expand'. I got this to work (kinda) without the fancy cats add-on, but it displayed my sub cats weird.
So anyway, I purchased the Fancy Cats Add-On in hopes of making life simple. Well, I could do exactly what I need to do if I could only get the 'Catagories' menu to show the entire expanded category 'tree' by default. Has anyone attempted this? Thanks, Piper
__________________
x-cart 3.4.4 (UNIX) |
|||||||
#2
|
|||||||||
|
|||||||||
instead of looping {$categories} in categories.tpl loop through {$allcategories} instead
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
Quote:
Shan, that worked very well, but It does not give me the control over the appearance of the cats & sub cats like I need. The mod will display like this: Cat 1 Sub cat 1a Sub cat 1b Sub cat 1c Cat 2 sub cat 2a sub cat 2b sub cat 2c Cat 3 sub cat 3a sub cat 3b sub cat 3c However, I really need to have controll over the look of the categories vs. the sub catagories. In other words, lets say I want to have all of the categories show up in a 14pt Bold typeface, but I want all of the sub cats to be 12pt regular. I know this can be done via CSS, but because I am currently looping the entire list as shown above, I have no control over those parameters. That's why I bought the Fancy Categories module. I had hoped that I would gain control over the styles of the cats vs the sub cats. With Fancy Cats, I was able to display all of the cats & sub cats by default (with control over the styles), but when the user clicks on a sub cat, the list doubles up on the sub cats for the parent. Like this: (this is what I get when you click on a sub cat. In this case, it could have been 1a, 1b or 1c) Cat 1 Sub cat 1a Sub cat 1b Sub cat 1c Sub cat 1a Sub cat 1b Sub cat 1c Cat 2 sub cat 2a sub cat 2b sub cat 2c Cat 3 sub cat 3a sub cat 3b sub cat 3c I am still trying to figure this out so if anyone has any input, please chime in! Thanks, Piper
__________________
x-cart 3.4.4 (UNIX) |
|||||||
#4
|
|||||||
|
|||||||
sorry to hijack but to list catergories like this
Main Sub A Sub B SubC Main 2 Main 3 so that the active one shows the sub cats then what wud i need to do, heres my code Quote:
__________________
www.anything-cars.com |
|||||||
#5
|
|||||||
|
|||||||
but this still doesnt anwser the Fancy Categories, if you have say something like Paper product and then lots of sub categories how do you auto expand the fancy categories explorer theme to default show the first round of Subcategories...
__________________
Catalyst |
|||||||
#6
|
|||||||
|
|||||||
I had posted this over a month ago with no reply... so I'd like to try again... I'm using fancy categories...
Right now when you see my cart its like this... + Categorie1 What I want to have is if no products are listed in it then to expand to show the subcategories ie - Categorie1 + subcat1 + subcat2 did anyone hack the fancy categories to do this... or can help me out. thanks.
__________________
Catalyst |
|||||||
#7
|
|||||||||
|
|||||||||
Forget Fancy Categories.
If all you have is two levels (category and category///subcategory) then try this code: Code:
You will need to define the two classes used (CategoriesList and SubCategoriesList) in your CSS file. |
|||||||||
#8
|
|||||||
|
|||||||
Inspire of TelaFirma's code and combine with Fancy Cat: Explorer mod, here is my hack:
fancy_categories.tpl Code:
fancy_subcategories.tpl Code:
Note 1: Icon indent does not support. Note 2: I feel dumb since I modified a bloat-code. It's not innovation... Note 3: If you'd like to see what it looks like, goto: http://www.wgdirect.com |
|||||||
#9
|
|||||||||
|
|||||||||
Is there any way to show all categories and sub categories but not sub categories of sub categories.
So basically it shows... Main 1 - Sub 1 - Sub 2 - Sub 3 Instead of... Main 1 - Sub 1 - Sub Sub 1 - Sub Sub 2 - Sub 2 - Sub 3
__________________
X-Cart Gold Plus v4.7.12 ReBOOT ReDUX Theme |
|||||||||
#10
|
|||||||
|
|||||||
Re: Fancy Cats - Trying to show ALL cats + subcats by default
Hi, I tried this mod with some serious problems.
Please see www.wildelectronics.com.au/store/customer First of all, the categories are back to the way they used to be, with "Gifts for him/Her" in the left menu. They were previously invisible there, only to be in the GIFT section. Also, when you click into a category, you'll notice the words up top are screwed up. Does anyone know how I can restore this? Regards Kurt X-Cart 3.5.5
__________________
Xcart version 3.5.5. |
|||||||
|
|||
X-Cart forums © 2001-2020
|