If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #22716

    On the shop page, is there a way to update this function to allow the check icon to remain active once an item has been added to the cart.


    No, I’m not aware of an easy way. Maybe you can use a hook or js function to check the cart items against the products in the shop loop and if they match you can add the icon. Personally I’d solve this with php but this definitely requires some coding…

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Update function product_add_to_cart_click’ is closed to new replies.