Hello, I’m reporting an issue where App block deep linking does not work only when the language setting of the shop is set to Japanese.
Target Code
const handleDeepLink = () => {
const template = "product";
const handle = "app_name";
const SHOPIFY_EXTENSION_NAME_ID = 'xxx';
const deepLinkUrl = `https://${shopDomain}/admin/themes/current/editor?template=${template}&addAppBlockId=${SHOPIFY_EXTENSION_NAME_ID}/${handle}&target=mainSection`;
window.open(deepLinkUrl, "_blank");
};
When the language setting of the shop is English, the deep link functions as expected.
However, when the language setting is Japanese, an error occurs, as shown in the below image.
Does anyone know a solution to this problem?
I’m referring to the following document for guidance:
https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#example-urls