Shopify / shopify-app-template-remix

357 stars 150 forks source link

Open two tabs - one with admin.shopify and another one with shop.myshopify.com with ?force_legacy_domain=1 #416

Closed claytonfaria closed 11 months ago

claytonfaria commented 1 year ago

Issue summary

App is deployed to production and when clicking to open it from the admin.shopify , it opens a new tab with address shop-name.myshopify.com with ?force_legacy_domain=1 , then in both tabs the app loads correctly

Expected behavior

Open the app on the current tab

Actual behavior

open in both tabs in production, while in dev it does not

Steps to reproduce the problem

  1. create basic app with remix template
  2. deploy to app that was already previously in production
claytonfaria commented 11 months ago

For anyone with the same issue, as per Shopify tech support team, it seems to be a issue with "old / custom" apps migrating to embedded, so that Shopify team needs to manually toggle some setting so that it does not open an extra tab.

So if you have same situation, Shopify tech support is the way to go

cldellow commented 11 months ago

@claytonfaria Can you share how you contacted Shopify?

I think our app is facing this issue too (we just turned it into an embedded app using a recent Shopify template), but it's not clear how to reach someone at Shopify.

cldellow commented 11 months ago

Ah, https://help.shopify.com/en/support/partners/org-select gets you to a support system.

VadimLeader commented 8 months ago

Thanks @claytonfaria, @cldellow It seems contacting support is the only way to resolve it so far. I also asked them to forward my request to their dev team and fix it so that no one else needs to spend their time on it, In terms of "toggle some setting" they said it's:

adding a beta flag to the app

So once again if you still face the same issue:

  1. Contact the support team https://help.shopify.com/en/support/partners/org-select
  2. Add the link to this GitHub issue and say that you have the same https://github.com/Shopify/shopify-app-template-remix/issues/416
  3. Add the Client ID of your app
  4. Ask them to add a beta flag to the app in order to resolve it
jmattiace commented 7 months ago

Thanks @claytonfaria, @cldellow It seems contacting support is the only way to resolve it so far. I also asked them to forward my request to their dev team and fix it so that no one else needs to spend their time on it, In terms of "toggle some setting" they said it's:

adding a beta flag to the app

So once again if you still face the same issue:

  1. Contact the support team https://help.shopify.com/en/support/partners/org-select
  2. Add the link to this GitHub issue and say that you have the same Open two tabs - one with admin.shopify and another one with shop.myshopify.com with ?force_legacy_domain=1 #416
  3. Add the Client ID of your app
  4. Ask them to add a beta flag to the app in order to resolve it

I can confirm that this resolved the issue for me.