Title: Woocommerce/template wishlist function problem
Last modified: May 29, 2023

---

# Woocommerce/template wishlist function problem

 *  Resolved [dionysios](https://wordpress.org/support/users/dionysios/)
 * (@dionysios)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/)
 * Hi,
 * I am using BeTheme and woocommerce for the provided eshop. When I enable the 
   LS plugin the wishlist function does not work properly. When you click on the“
   love” icon seems from the number in the icon of the header that the product is
   added to wishlist but in many cases does not. Also if you try to remove wishlist’s
   products and refresh the page does not remove them.
 * I tried to exclude “/wishlist” in settings but does not work.
 * I have sent access from the report. Debug mode is enable.
    - _Link to your site_: **Provided**
    - _Screenshots_: **Not needed**
    - _Instructions to reproduce the issue_: **Just add/remove some products to/
      from wishlist**
    - _Report number_: TZMYLFHT
    - _Other Information: _Do you know which feature is causing the problem? **NO**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwoocommerce-template-wishlist-function-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16777992)
 * you can add `mfn_wishlist` to Cache -> Exclude -> Do Not Cache Cookie in order
   for wishlist function to work properly
 * but this will greatly reduce the efficiency of cache system
 * a more optimal solution is to advice the theme support to use alternative means
   like ajax to check/display the wish button status
 * or can also integrate our ESI API , ESI will make the whole page continuously
   to be cached while certain section of the page, like mini-cart or wishlist button,
   to no-cache
 * [here](https://github.com/litespeedtech/lscache_wp/blob/master/thirdparty/yith-wishlist.cls.php)
   is an example for YITH wishlist plugin with ESI integration
 *  Thread Starter [dionysios](https://wordpress.org/support/users/dionysios/)
 * (@dionysios)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16781772)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) thanks for the reply.
 * I don’t know if I understood correctly but of the 3 cases the last one seems 
   to be able to solve the problem. The first because the cache will not work effectively
   and the second because BeTheme told me to contact you. Unfortunately, from what
   you tell me, the first and second solutions are not possible. Could you help 
   me to make the third option you tell me about ESI. I’m not really familiar with
   code and I didn’t understand what I have to do with the provided link.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16784571)
 * well, unfortunately , the first option is probably the only one that is viable,
   the 2nd and 3rd will need some code work from the theme itself
 * you can try forward the link to BeTheme support , let their dev check the code
   for their evaluation and assessment if it’s viable for them to add such support
   for compatibility
 *  Thread Starter [dionysios](https://wordpress.org/support/users/dionysios/)
 * (@dionysios)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16785431)
 * Despite that I have already contacted them and told me to reach out to you I 
   will make a second contact. However, keep in mind to take the necessary actions
   on your part so that you can help more in future updates. Betheme is one of the
   most famous themes. the same thing I will write to them for your cache system,
   of course.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16786224)
 * I know it’s popular , I had some cases with Betheme before where I even tried
   to request a dev license from them for some debug , but that didn’t work out ,
   I even had to purchased a license for it
 * ideally , it will be best for them to make it ajax , since that will make it 
   compatible for all cache plugin not only ours
 *  Thread Starter [dionysios](https://wordpress.org/support/users/dionysios/)
 * (@dionysios)
 * [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16786264)
 * Thank you very much for your help. I will send them this.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Woocommerce/template wishlist function problem’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [dionysios](https://wordpress.org/support/users/dionysios/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/woocommerce-template-wishlist-function-problem/#post-16786264)
 * Status: resolved