Hello everyone,
I need some help.
Indeed, I am creating a Vinted app like (marketplace) in which I created a favori toggle button using and an user count, which displays the number of likes on the item.
When a customer clicks on the fav toggle, the favori button becomes black. When the customer clicks on it again to unlike the item, it becomes white.
Therefore, when a user clicks on the favori toggle button, it creates a notification that says “user XXX likes your item”. It works without any problem.
The problem is that when the customer clicks again on the toggle to unlike the item, it creates again a notification on the notification page. That’s a problem that I couldn’t solve on my own.
I tried to use the conditional visibilty system but it doesn’t work.
Do you have any advices for me ?
Thank you.