loading html dropdowns returns wrong data – Can’t load HTML blocks with AJAX
-
My shop is totally broken now. I mean no one can add
– items to the cart on listings / categories
– ajax cart is not showing anything, loading empty
While products can actually be added on product cards (it will show proerly loaded ajax minicart), but the on the checkout products summary is not loading.
In the console I can see this mistake :
loading html dropdowns returns wrong data – Can’t load HTML blocks with AJAX
and i think it is related to
module named : menuDropdownsAJAX
Please help to see what is going on.
Note, I have updated my shop on stagging to 7.3 but did not help at all.
Cezary
Hello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
Hmm….
Twenty Tweny is working , because it does not use AJAX dropdowns at all.
As explained the console shows the problem IS in the woodmart file.
Check the attachment below
Attachments:
You must be
logged in to view attached files.
It has no relation to the dropdowns functionality. Can we switch to the default theme and check how the add-to-cart button works?
Hello
On the stagging version you can do whatever you want.
I add login details again below.
We tested with the Storefront theme and it doesn’t work either. There is some custom JS script on your website that breaks a lot of functions https://gyazo.com/861414d69981dc194a18a3dbaa9af169
Thank you for your insight.
Indeed when I uploaded a backup from few days ago, I do not have this script and everything is working properly.
I have to find now which plugin update from last days added that
Best
OK, we are glad that you sorted it out! Feel free to contact us if you need any further assistance.