Change catalog actions status if actived

Help for integrating the Laravel package
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!
User avatar
PedroLópezAndradas
Posts: 22
Joined: 16 Jan 2023, 11:30

Change catalog actions status if actived

Post by PedroLópezAndradas » 01 Feb 2023, 11:53

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!

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

Re: Change catalog actions status if actived

Post by aimeos » 02 Feb 2023, 13:49

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! :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply