App reviews, troubleshooting, and recommendations
Any solution to this one? I am also currently experiencing every link always opening in a new tab, even with external set to false, any ideas on how to make sure it stays in the same tab?
Can't necessarily help you, but I have the opposite issue: the link always goes to a new tab!
Would you share your link code please?
My code looks like this:
import createApp from "@shopify/app-bridge";
import { Redirect } from "@shopify/app-bridge/actions";
const host = Buffer.from(`${shop}/admin`).toString("base64");
const app = createApp({
apiKey: fConstants.SHOPIFY_API_KEY,
host: host,
});
const redirect = Redirect.create(app);
const url1 = Redirect.Action.ADMIN_PATH;
const url2 = "/products/";
redirect.dispatch( url1, url2 );
Cheers jb
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025