Delay javascript ajax add to cart problem
-
Hello, i use litespeed cache plugin and i have enabled delay javascript. When i open the page in incognito mode what happens is that if i press add to cart instead of using ajax to add the product to cart and also open the minicart it reloads the page. This only happens the first time. If i do it again then it works properly, but i want it to work properly even the first time. I tried to exclude files such as
cart-fragments.js
cart-fragments.min.js
cartWidget.js
wc-mini-cart-block-frontend
wc-add-to-cart
but nothing worked. I finally found out that what works is excluding
ajax
wp
the problem is that these are too general and affect files that have nothing to do with woocommerce and specifically the ajax add to cart. is there a way to exclude files containing the string ajax but only files inside woocommerce? unless you have a better solution to offerThe page I need help with: [log in to see the link]
The topic ‘Delay javascript ajax add to cart problem’ is closed to new replies.