Home › Forums › WoodMart support forum › Add to basket button not working › Reply To: Add to basket button not working
June 5, 2020 at 11:28 am
#200985
Aisaac92
Participant
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)