Change catalog actions status if actived
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!
- PedroLópezAndradas
- Posts: 22
- Joined: 16 Jan 2023, 11:30
Change catalog actions status if actived
Hello!
Is there any option to change the style of the catalog action icons when they are activated?
For example, if a product is a favorite, the heart icon should be filled in.
Now there is no "active" class or something similar, but maybe it's a configuration setting I missed.
If this functionallity does not exist, what dou you think would be the best approach to achieve this?
Thanks!
Is there any option to change the style of the catalog action icons when they are activated?
For example, if a product is a favorite, the heart icon should be filled in.
Now there is no "active" class or something similar, but maybe it's a configuration setting I missed.
If this functionallity does not exist, what dou you think would be the best approach to achieve this?
Thanks!
Re: Change catalog actions status if actived
The best way would be to use the JSON REST API to fetch the favorite products of the logged in customer:
https://aimeos.org/docs/latest/frontend ... -relations
We would love to get the feature into the Aimeos core. If you can create a PR, we will merge it for sure!
https://aimeos.org/docs/latest/frontend ... -relations
We would love to get the feature into the Aimeos core. If you can create a PR, we will merge it for sure!
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