Expanding the Categories Tree

Open to all! Ask other shopowners for help.
Post Reply
User avatar
tessthepup
Certified Developer
Posts: 383
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Expanding the Categories Tree

Post by tessthepup »

Hi Guys,

Just wondering if anyone has been experimenting with the categories tree.

I have been playing but can not seem to change it to what I want as per the images below

Image 1 - Stock category dropdown
Screenshot (93).png
Image 2 - Desired look
Screenshot (94).png
You do not have the required permissions to view the files attached to this post.


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Expanding the Categories Tree

Post by ecartz »

The second one looks like it was done manually to me. In particular, splitting a top category (e.g. Home & Garden) into two columns is difficult in an automated system. However, the same thing is rather basic in HTML. So one would normally hard code the HTML of the menu. That of course is harder to change in the future (because if you add more categories, you have to edit the HTML). But it gives more precise control over the appearance.

This is the kind of thing that the certified developers can help you do. It's not something that you could just configure into being. Someone would have to code a new menu. Either manually in the HTML or possibly as a new PHP file. But figuring out how many columns and splitting categories into columns might be difficult to automate in PHP. I think it would likely be easier to hand code and edit. Because the PHP version would likely need tweaked almost as often and the tweaking would be more difficult.
User avatar
tessthepup
Certified Developer
Posts: 383
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: Expanding the Categories Tree

Post by tessthepup »

ecartz wrote: Tue Dec 06, 2022 12:04 pm The second one looks like it was done manually to me. In particular, splitting a top category (e.g. Home & Garden) into two columns is difficult in an automated system. However, the same thing is rather basic in HTML. So one would normally hard code the HTML of the menu. That of course is harder to change in the future (because if you add more categories, you have to edit the HTML). But it gives more precise control over the appearance.

This is the kind of thing that the certified developers can help you do. It's not something that you could just configure into being. Someone would have to code a new menu. Either manually in the HTML or possibly as a new PHP file. But figuring out how many columns and splitting categories into columns might be difficult to automate in PHP. I think it would likely be easier to hand code and edit. Because the PHP version would likely need tweaked almost as often and the tweaking would be more difficult.
well if any of the certified developers want to drop me a pm with a quote then please do

Basically I want all top level categories in seperate columns with the sub-cats underneath.

All depends on how much it is going to cost ;)
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Expanding the Categories Tree

Post by heatherbell »

tessthepup wrote: Tue Dec 06, 2022 1:08 pm well if any of the certified developers want to drop me a pm with a quote then please do
Search 'menu' in the Addons Library shows it's already available, thanks to @zipurman :
app.php/addons/paid_addon/menu_master


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply