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
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025