want to list all the categories with one go

Help for integrating the Laravel package
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!
User avatar
mahammadareef
Posts: 54
Joined: 14 Oct 2022, 11:54

want to list all the categories with one go

Post by mahammadareef » 13 Dec 2022, 11:45

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

User avatar
aimeos
Administrator
Posts: 7903
Joined: 01 Jan 1970, 00:00

Re: want to list all the categories with one go

Post by aimeos » 14 Dec 2022, 08:58

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, Image give us a star

Post Reply