Cant set setting catalog tree levels-always in template

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

Cant set setting catalog tree levels-always in template

Post by tenkraD » 01 Feb 2018, 16:54

I want to show 3 levels of my catalog as default.
client/html/catalog/filter/tree/levels-always =

So i tried to set plugin.tx_aimeos.settings.client.html.catalog.filter.tree.levels-always = 3 in my template under page section", but i doesn't work.

If i set the same code on the plugin in the section typoscript configuration - It works.
If i set it on the plugin in the field show al categories until - It works also.

Cant this be done in the template or do i something wrong?

Typo3 7.6.20 / Aimeos 17.10.0

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

Re: Cant set setting catalog tree levels-always in template

Post by aimeos » 02 Feb 2018, 17:49

That's a problem in TYPO3: You have to set level-always in the Flexform of the plugin. Otherwise, TYPO3 overwrites your setup TS setting with the empty value from that Flexform.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply