TOTECS Forums

Add favourite onclick doesn't update favourites_product_class and/or favourites_product_is_added hook until page reload

Author
Thread

Add favourite onclick doesn't update favourites_product_class and/or favourites_product_is_added hook until page reload

Author anonymous
July 12 2016 @ 02:35 PM
Thread

In a product search record, the function onclick="$favourites_product_add_onclick$" doesn't update the hooks $favourites_product_class$ and/or $favourites_product_is_added$ from N to Y until page reload. This means currently we can't use CSS to change the state of a fav button when the user clicks it, meaning the user may think it didn't work




null

Post a Comment
Message:
By clicking on the Post button you accept the rules and guidelines of using this forum.