tree: no sub-categories on detail page

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!
columbo
Advanced
Posts: 129
Joined: 09 Oct 2019, 09:42

tree: no sub-categories on detail page

Post by columbo » 28 Dec 2020, 10:07

Hi,

we provide the tree menu navigation with dropdowns; so all (sub-)categories should be displayed on all pages at any time.
This worked finde until 2020.07; now after update to 2020.10
  • on catalog list page: all sub-categories (cat-x-y) are displayd as expected
  • on catalog detail page: only categoies (cat-x, without childs) are displayed - sub-categories are missing
controller/frontend/catalog/levels-always was and is is set to "3"

category example:

Code: Select all

root (not displayed)
-> cat-1 (dropdown)
--> cat-1-1

-> cat-x (dropdown)
--> cat-x-1
--> cat-x-2
--> cat-x-y
...
Any clue why sub-categories are missing on catalog detail page?

Thanks!

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

Re: tree: no sub-categories on detail page

Post by aimeos » 29 Dec 2020, 08:22

There has been some optimizations made to reduce the number of loaded category nodes in trees of thousands of categories. To enforce loading all categories, there's a new setting available:
https://github.com/aimeos/ai-client-htm ... #L256-L275
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply