Issue with translated domain

KevinLam
Tourist
5 0 0

Hi there, 

 

I have the WeGlot translation app and I am having an issue with the translated domain. Whenever someone tries to add to cart on this domain, the add to cart button keeps loading without adding the item to the cart. 

 

This is the error I get in the console:

 

vis-dry-pique-long-sleeve-polo-blue:1 Access to XMLHttpRequest at 'https://shop.detshirts.com/cart.json' (redirected from 'https://zh.shop.detshirts.com/cart.json') from origin 'https://zh.shop.detshirts.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

 

I reached out to WeGlot but apparently this is a problem with Shopify. They mentioned Shopify needs to whitelist api.weglot.com, weglot.com, dashboard.weglot.com, and also allow our user-agent Mozilla/5.0 (compatible; MSIE 6.0) related to the Visual Editor

 

Is this possible on Shopify side? 

You can have a look at the error here: https://zh.shop.detshirts.com/collections/polos/products/vis-dry-pique-long-sleeve-polo-blue

 

Thanks in advance

 

Gregory

Replies 3 (3)
jessica0318
Explorer
95 0 14

Maybe you should get a professional to help you!

KevinLam
Tourist
5 0 0

Thank you but have you read the post?

weglot-team
Shopify Partner
28 0 7
Hi There,
Sorry for the late reply. Weglot support here, we're glad to help you out.
I can notice that you've contacted our Support team.
Do you still need any help regarding the Add to Cart issue on your website?

Don't hesitate to come back to us (directly at support@weglot.com) or visit our support documentation (https://support.weglot.com/) or our Youtube Channel if you need any further information or any help regarding Weglot.

Have a great day,

Best