Hello,
I am developing an Embeded App for Shopify, and I have created an Extension that is on the Admin Product Page on the top menu that opens my App page.
On that page, I want to return to the admin product page that openned the App Page, so I tried to redirect directly to: “https://admin.shopify.com/store/mystore/products/8545732395300”.
The problem is that shopify shows the error: Refused to display ‘https://admin.shopify.com/’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.
Hello,
Use the target URL like this:- YOUR_HOST_URL/products/8545732395300
https://shopify.dev/docs/apps/admin/admin-links/getting-started
Md Shafiul Islam | Brain Station 23
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Hello,
Use target URL like this: YOUR_HOST_URL/products/8545732395300
YOUR_HOST_URL → Your app host URL
https://shopify.dev/docs/apps/admin/admin-links/getting-started
Md Shafiul Islam | Brain Station 23
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Hello,
Use Target URL like this: YOUR_HOST_URL/products/8545732395300
YOUR_HOST_URL: Your app host URL
https://shopify.dev/docs/apps/admin/admin-links/getting-started
Md Shafiul Islam | Brain Station 23
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Hello,
Use Target URL like this: YOUR_HOST_URL/products/8545732395300
YOUR_HOST_URL: Your app host URL
https://shopify.dev/docs/apps/admin/admin-links/getting-started
Md Shafiul Islam | Brain Station 23
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution