Home › Forums › WoodMart support forum › Woodmart and LiteSpeed Cache
Woodmart and LiteSpeed Cache
- This topic has 5 replies, 2 voices, and was last updated 1 year, 7 months ago by
Elise Noromit.
-
AuthorPosts
-
September 2, 2023 at 2:55 pm #492796
[email protected]ParticipantHello. 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 LitespeedI can’t find the request for AddToCart (probably AJAX) to exclude it from the LiteSpeed Cache.
Do you have a solution for me?
September 2, 2023 at 3:21 pm #492807
[email protected]ParticipantHere 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.September 2, 2023 at 4:51 pm #492826
[email protected]ParticipantDo you have any update for me?
Thank You!
September 2, 2023 at 10:51 pm #492839
[email protected]ParticipantThese 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.jsI think there is a problem because i can’t make the AddToCart buton to work.
September 3, 2023 at 3:32 am #492846
Elise NoromitMemberHello,
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
September 4, 2023 at 3:28 pm #493058
Elise NoromitMemberHello,
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
-
AuthorPosts
Tagged: LiteSpeed Cache
- You must be logged in to create new topics. Login / Register