Title: wishlist function
Last modified: October 2, 2020

---

# wishlist function

 *  [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * (@studioviv)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wishlist-function/)
 * Hello,
 * I have a heart in de product overview page and when I hit that button the product
   is added to the wishlist and the heart is filled. So far so good!
 * But when I refresh the page the heart is empty. But I want it filled when it 
   is already filled. Is there a way to check (php/js) if the product is already
   in the wishlist?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwishlist-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/wishlist-function/#post-13503507)
 * Hi there
 * Status should be preserved indeed, and the same should happen for the icon
    Maybe
   you’re experiencing a cache problem: when you click ATW button, template is reloaded
   via ajax, so it is update with a fresh version Anyway, when you refresh the page,
   content is retrieved from cache, and you see the previou status
 * If this is the case, try to enable Ajax loading under WP Dashboard -> YITH ->
   Wishlist -> General Settings
 * I wanted to investigate further the issue on your site, but the link that you
   posted brings me to a 404 error
    -  This reply was modified 5 years, 8 months ago by [YITHEMES](https://wordpress.org/support/users/yithemes/).

Viewing 1 replies (of 1 total)

The topic ‘wishlist function’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-wishlist/assets/icon-128x128.gif?rev=3129302)
 * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-wishlist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-wishlist/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/wishlist-function/#post-13503507)
 * Status: not resolved