Display catalog/filter/tree in <aside> for product listing page
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!
Display catalog/filter/tree in <aside> for product listing page
Laravel framework version: 9.40.0
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.12
Environment: Linux
Hello,
I need to include the catalog/filter/tree in the <aside> section in the product listing.
I have determined that it should be visible judging by this template file:
/templates/client/html/catalog/filter/body.php
There is $this->block()->get( 'catalog/filter/tree' ) inside the file, but it's not displayed.
What am I missing here?
Aimeos Laravel version: * 2022.07.2
PHP Version: 8.1.12
Environment: Linux
Hello,
I need to include the catalog/filter/tree in the <aside> section in the product listing.
I have determined that it should be visible judging by this template file:
/templates/client/html/catalog/filter/body.php
There is $this->block()->get( 'catalog/filter/tree' ) inside the file, but it's not displayed.
What am I missing here?
Re: Display catalog/filter/tree in <aside> for product listing page
I found what I had to change.
I had to add this config in my config/shop.php
By default the 'tree' subpart is commented in ai-client-html/config/client.php
I had to add this config in my config/shop.php
Code: Select all
'client' => [
'html' => [
'catalog' => [
'filter' => [
'subparts' => ['tree', 'search', 'price', 'supplier', 'attribute']
]
]
]
]