Re: Return to Admin Product Page from APP

How to return to admin product page from embedded app?

RfcSilva
Shopify Partner
26 1 6

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'.

Replies 4 (4)

BrainStation23
Shopify Partner
416 62 62

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

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps

BrainStation23
Shopify Partner
416 62 62

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

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps

BrainStation23
Shopify Partner
416 62 62

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

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps

BrainStation23
Shopify Partner
416 62 62

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

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps