want to list all the categories with one go
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!
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
want to list all the categories with one go
I wanted to display all the categories (with no level restrictions ) on the home page, To achieve this I created a new component with the help of referring catalog tree component logic, and that works but I can't be able to fetch all the category items, it fetches only up to level 2 node of category ,
I know this configuration (catalog/levels-always) can help me, but I want to show directly with no level restriction on categories ...how i can achieve this help me to complete this
I know this configuration (catalog/levels-always) can help me, but I want to show directly with no level restriction on categories ...how i can achieve this help me to complete this
Re: want to list all the categories with one go
Just set "levels-always" to a high value like 100 or 1000. It's very very unlikely that you will have more category levels.
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