How to display the subcategory links of just one category in a column?
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to display the subcategory links of just one category in a column?
hi - I'm new to Aimeos and building an online store for bakery items where fast, easy access to products is important.
In the right hand column I want to display the food items in the "list" format and in the left hand column I want to permanently display the links to the subcategories of the Bakery products I'm offering - e.g Breads, Croissants, Cakes, Pies, Tarts etc. Clicking cakes for example will display display just cakes in the right column. I'd also like a link for "All Bakery".
I'd really appreciate some guidance on the what's the best way to achieve this? I've tried to manipulate the display of the dropdown menu but it doesn't function correctly. Also clicking the parent category "Bakery" in the breadcrumbs doesn't display any items.
In the right hand column I want to display the food items in the "list" format and in the left hand column I want to permanently display the links to the subcategories of the Bakery products I'm offering - e.g Breads, Croissants, Cakes, Pies, Tarts etc. Clicking cakes for example will display display just cakes in the right column. I'd also like a link for "All Bakery".
I'd really appreciate some guidance on the what's the best way to achieve this? I've tried to manipulate the display of the dropdown menu but it doesn't function correctly. Also clicking the parent category "Bakery" in the breadcrumbs doesn't display any items.
Re: How to display the subcategory links of just one category in a column?
You should create your categories including a category for all items, e.g.:
- All Bakery
- Breads
- Croissants
- ...
Then, you should overwrite the JS method to disable toggling:
https://github.com/aimeos/ai-client-htm ... 1445-L1450
Also, change the CSS to always display the categories:
https://github.com/aimeos/ai-client-htm ... #L514-L522
- All Bakery
- Breads
- Croissants
- ...
Then, you should overwrite the JS method to disable toggling:
https://github.com/aimeos/ai-client-htm ... 1445-L1450
Also, change the CSS to always display the categories:
https://github.com/aimeos/ai-client-htm ... #L514-L522
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to display the subcategory links of just one category in a column?
Thanks - this worked perfectly. I then moved the tree into a menu that slides out from the left to save valuable space on mobile devices.