Show only related brands/suppliers.
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!
Show only related brands/suppliers.
In the sections where products are listed, on the left side there are options to filter by price, brands/suppliers. However, I see that all suppliers are listed.
I think it would be better to list only the suppliers that are present in the products being displayed.
Is there any configuration related to this part or any way to do it?
Thank you so much for the amazing package you have created,
Best Regards,
I think it would be better to list only the suppliers that are present in the products being displayed.
Is there any configuration related to this part or any way to do it?
Thank you so much for the amazing package you have created,
Best Regards,
Re: Show only related brands/suppliers.
I was reading the documentation and apparently there is no related configuration, I think I have to do it manually as it may be a particular behavior.
Re: Show only related brands/suppliers.
For supplier filter (as well as attribute and category filter), there's an async request that returns the number of found products for each supplier and the Javascript code sent along disables the ones with no products found. You can see the code here:
https://github.com/aimeos/ai-client-htm ... r-body.php
https://github.com/aimeos/ai-client-htm ... r-body.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Show only related brands/suppliers.
Thank you very much for the information. With CSS I have hidden the disabled flags/suppliers.
Thanks for your help!
Thanks for your help!