Home Forums WoodMart support forum Woodmart and LiteSpeed Cache

Woodmart and LiteSpeed Cache

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #492796

    [email protected]
    Participant

    Hello. I have problem with my website.

    I used woodmart theme on many other websites but this time i think there is a conflinct with LiteSpeed plugin.

    Problem: When the plugin is activated, the AddToCart buttons do not work. It loads but nothing happens.

    I tried to search through Inspect Element all the Requests to exclude something, but without success.

    What I tried until I got to write you here:
    – I disabled all plugins (except the native ones) – Without any result
    – The website works correctly without Litespeed

    I can’t find the request for AddToCart (probably AJAX) to exclude it from the LiteSpeed Cache.

    Do you have a solution for me?

    #492807

    [email protected]
    Participant

    Here are the steps I have taken to troubleshoot the problem:

    1. Deactivated all plugins except WooCommerce and Woodmart Core.
    2. Updated the Woodmart theme to the latest version.
    3. Reviewed and adjusted Litespeed Cache settings, including URL exclusions.
    4. Checked the browser console for JavaScript errors related to the “Add to Cart” button.

    Despite these efforts, the issue persists, and I believe it may be related to the interaction between the theme, the cache plugin, and WooCommerce.

    I kindly request your assistance in resolving this matter. I would appreciate any guidance, recommendations, or specific steps I can take to ensure that the “Add to Cart” functionality works correctly, even with the Litespeed Cache plugin enabled.

    If there are specific settings, updates, or customizations that need to be applied to the Woodmart theme to address this issue, please provide detailed instructions.

    Attachments:
    You must be logged in to view attached files.
    #492826

    [email protected]
    Participant

    Do you have any update for me?

    Thank You!

    #492839

    [email protected]
    Participant

    These are the excludes:

    admin-ajax.php
    /?wc-ajax=add_to_cart
    /wp-content/themes/woodmart/js/scripts/wc/addToCartAllTypes.min.js
    /wp-content/themes/woodmart/js/scripts/wc/addToCartAllTypes.min.js?ver=7.2.5
    woodmart_ajax_add_to_cart
    /woodmart/js/scripts/combine.min.js
    /woodmart/js/libs/waypoints.min.js
    /cart/
    /wp-includes/js/jquery/jquery.min.js
    /wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
    /woodmart/js/libs/owl.carousel.min.js
    /wp-includes/js/imagesloaded.min.js

    I think there is a problem because i can’t make the AddToCart buton to work.

    #492846

    Hello,

    I am terribly sorry for the delay.

    I have submitted the case to our developers, and we will get back to you as soon as I get the feedback.

    If you have any questions please feel free to contact us.

    Best Regards

    #493058

    Hello,

    Please check this manual https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/ , it has the list of the files, which should be excluded from the cache: https://monosnap.com/file/k2ciKaDkP4dT5eiihr2ElK47jhKKhD

    If the problem remains, insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

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