/wp-json/wc/v3/products returns a HTML blok from woodmart
-
/wp-json/wc/v3/products returns a HTML blok from woodmart
It should return products in json format, but instead it returns a HTML blok made in woodmart !!!
Hello,
Please update the theme to the latest version first. Then disable all plugins that are not related to our theme so we can investigate the issue.
Kind Regards
The problem is back
This time it did not help:
1) Update you theme
2) Disable all plugins except woocommerce and woodmart related
Please look at i ASAP
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
It is a live webshop, but you are free to set it in maintainance, disable plugins … check the webshop … and reactivate everything
login and password is in private-section
In this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.
Kind Regards
The error is STILL there – please fix it …. I have given you all access in privatre-section
We need you to disable the plugins temporarily. Please do this yourself so we don’t break anything on your website.
We have now disabled all plugins – please fix the problem
Please FIX ASAP – its a live webshop, so every minute the webshop is down, it losing money …..
Hello,
Please, provide us with your admin access as well. The one you sent previously doesn’t work.
Kind Regards
The issue arises from the custom code you’ve added to the theme. Here’s the link to the code: https://monosnap.ai/file/yCmwiuEzGJkVIkhsFaTLEteR8hipBm. To resolve the problem, you need to remove this code, and the theme will start functioning correctly.
Thanks a lot … this solved the problem
We have added
$siteurl_vars = $_SERVER[‘REQUEST_URI’];
if (strpos($siteurl_vars,’wp-json’) === false) {
… include custom code
}
}
Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
The topic ‘/wp-json/wc/v3/products returns a HTML blok from woodmart’ is closed to new replies.