Wc-cart-fragments and whishlist icon on pages with cache

This topic has 2 replies, 2 voices, and was last updated 3 years, 9 months ago ago by Olga Barlow

  • Avatar: Krzysztof
    Krzysztof
    Participant
    August 11, 2021 at 23:59

    Hello …
    I turned on option “Always Load Wc-Cart-Fragments” in “Speed optimization” section as without it my nice small cart icon on header was not being updated … most probably due to cache i use (Litespeed cache). Turning on above option helped and works fine but now I noticed a problem with wishlist icon. This one is not being updated and I’m getting 0 products in wishlist e.g. on main page but some number on other pages which have not being cached yet. Same goes for mini cart which works and shows products on any page (cached or not cached) but mini wishlist is empty on cached pages. So the question is (and kind request :)) whether it is possible to somehow extend functionality of Wc-Cart-Fragments to cover also Wishlist or maybe add separate option for that ?

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 12, 2021 at 14:22

    Hello,

    Check the cache plugin settings and try to add yith_wcwl_session_* cookies to your exceptions to exclude them from the cache.
    Because YITH Wishlist has known issues with cache https://support.yithemes.com/hc/en-us/articles/219912648-The-wishlist-is-empty-after-that-the-customer-add-products-in-list

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘wc-cart-fragments and whishlist icon on pages with cache’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.