How to display filter based on category of product?
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!
How to display filter based on category of product?
How to display filter based on category of product?
I need to show dinamic filters based current category of product. How do do that and manage it?
I need to show dinamic filters based current category of product. How do do that and manage it?
Re: How to display filter based on category of product?
By default, filters which are not available for the current category are hidden via CSS and enabled by JS:
https://github.com/aimeos/ai-client-htm ... #L213-L218
https://github.com/aimeos/ai-client-htm ... #L213-L218
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
Re: How to display filter based on category of product?
Could I manage it in Admin panel? For example create a custom filter for tree categories?
Re: How to display filter based on category of product?
It would be possible to assign attribute types to categories via the mshop_catalog_list table and use them in the frontend to determine what filters should be shown. For that, you have to create your own subpart for the category tree panel where you can assign the attribute types and you have to change the frontend code to use that attribute types.
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