Add to basket button not working
-
Hi,
The add to basket button is not working on my site. Would you know why this is?
To add to this, it seems like none of the click through buttons are working or are taking a long time to load.
Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
Hi,
I had temporarily disabled all plugins and the issue still remained.
Login details have been provided below. I’ve also messaged you on another issue (product variant not working properly on mobile) so it might make sense to tackle both issues while logged in 🙂
Thank you!
Please, disable all external plugins first. Leave only plugins related to WoodMart
I have spoken with my host provider and they tested the ‘add to basket’ button using the Storefront theme – on that theme the button works. The issue is with the Woodmart theme JS files.
When I TRY TO add a product it would not add the product and give a browser console error:
Uncaught ReferenceError: wc_add_to_cart_params is not defined
at Object.success (theme.min.js?ver=4.6.0:36)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)
Yes, we saw this error in the console. Please, disable all external plugins and send us your admin access.
Hi,
All external plugins have been disabled and login details in private note
We are not able to view your admin page because of the server authentication https://gyazo.com/3371d5fee5a7bae994f1999b0ef119da
Sorry about that, password protected and wp-admin details in private notes.
We have fixed the problem on your website enabling the following option in WooCommerce settings https://gyazo.com/cf67910a7c6d32a4db1eff112ffa073e