Shopify area doesn’t load (cross origin error)
-
Hello,
We are running Shopify on multiple WP sites. Each site has it’s own collection. The problem arrives when the site is loaded many times the shopify collection will not load. This even happens on an incognito window with that does not use cache. When I hard refresh it always works. When the Shopify plugin does not function and I inspect with chrome I get a
“Fetch API cannot load https://widgets.shopifyapps.com/v4/adapter_props?shop=blissedoutgeek.myshopify.com. The ‘Access-Control-Allow-Origin’ header has a value ‘https://www.unicornthingy.com’ that is not equal to the supplied origin. Origin ‘https://www.dolphinthings.com’ is therefore not allowed access. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.”
The value can vary. It could be one site or another. I am assuming it is the last one that we visited. Right now we have 7 sites loading the shopify plugin this way. With more to come shortly.
All of the sites are created with the Divi theme. Are there any compatibility issues?
What would be the proper approach to fix this? Is this a cache issue?
- The topic ‘Shopify area doesn’t load (cross origin error)’ is closed to new replies.