Support » Plugin: LiteSpeed Cache » YITH WooCommerce Wishlist Premium v3.2.0

  • Resolved splaquet

    (@splaquet)


    Report number: OFVOGPUX
    Report date: 10/30/2021 14:25:02

    Between this support forum and the various LiteSpeed docs, I’ve read a lot on YITH Wishlist issues (YITH plugins seem to have issues in general).

    But, even after trying everything that I’ve read, I still cannot seem to have the Wishlist icons show consistently. The only consistent parts I see are the following…

    When it’s not working, I see this code where the button should be:

    <div class="links-on-image">
    <div class="add-links-wrap">
    <div class="add-links clearfix">
    <span href="?add-to-cart=1180265" data-quantity="1" class="viewcart-style-3 button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="1180265" data-product_sku="" aria-label="Add “Schitt's Creek Monopoly” to your cart" rel="nofollow">Add to cart</span>
    <!-- lscwp YITH ADD TO WISHLIST -->
    <!-- lscwp YITH ADD TO WISHLIST esi end -->
    <div class="quickview" data-id="1180265" title="Quick View">Quick View</div></div>
    </div>
    </div>

    When I add /?LSCWP_CTRL=before_optm to the URL (and after a slight load delay), I do see the button:

    <div class="links-on-image">
    <div class="add-links-wrap">
    <div class="add-links clearfix">
    <span href="?add-to-cart=1180265" data-quantity="1" class="viewcart-style-3 button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="1180265" data-product_sku="" aria-label="Add “Schitt's Creek Monopoly” to your cart" rel="nofollow">Add to cart</span>
    <div class="yith-wcwl-add-to-wishlist add-to-wishlist-1180265 exists wishlist-fragment on-first-load" data-fragment-ref="1180265" data-fragment-options="{"base_url":"","in_default_wishlist":true,"is_single":false,"show_exists":true,"product_id":"1180265","parent_product_id":"1180265","product_type":"simple","show_view":false,"browse_wishlist_text":"Browse Wishlist","already_in_wishslist_text":"Wishful Thinking, but this product is already in your wishlist.","product_added_text":"Product Added!","heading_icon":"fa-heart-o","available_multi_wishlist":false,"disable_wishlist":false,"show_count":false,"ajax_loading":false,"loop_position":"after_add_to_cart","product_image":"","label_popup":"Add to Wishlist","add_to_wishlist_modal":"yes","item":"add_to_wishlist"}">
    <!-- ADD TO WISHLIST -->
    <!-- BROWSE WISHLIST MESSAGE -->
    <div class="yith-wcwl-wishlistexistsbrowse" data-product-id="1180265" data-original-product-id="1180265">
    <span class="feedback">
    <i class="yith-wcwl-icon fa fa-heart"></i>Wishful Thinking, but this product is already in your wishlist.</span>
    <a href="https://schittscreek.shop/wishlist/" rel="nofollow" data-title="Browse Wishlist">
    Browse Wishlist</a>
    </div>
    <!-- COUNT TEXT -->
    </div>
    <div class="quickview" data-id="1180265" title="Quick View">Quick View</div></div>
    </div>
    </div>

    I’ve been unable to figure this out. Is it possible, as the theme is “YITH Wishlist Compatible”, that they’ve modified the loading/scripting methodology?

    What does this mean, and that it isn’t present in the live version?

    <!-- lscwp YITH ADD TO WISHLIST -->
    <!-- lscwp YITH ADD TO WISHLIST esi end -->

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter splaquet

    (@splaquet)

    ahh, winning! (heh… kinda)

    i’ve discovered that this only actually happens with the Premium version, and not with the Free version.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    first of all I’d suggest you to disable cloudflare page cache , it will create certain conflict with LSCWP

    Best regards,

    Just a side note which you said yourself, try to stay away from the YITH plugins. We have had so many stupid bugs and issues with their plugins with all our sites that it’s insane. Not to mention, many of their plugins do not work in the same site or occasionally stop working because they tend to use same enviroment variables. Their changelogs are not standard with wordpress and often do not say anything what actually has changed.

    • This reply was modified 6 months, 2 weeks ago by sirrahikkala.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘YITH WooCommerce Wishlist Premium v3.2.0’ is closed to new replies.