App reviews, troubleshooting, and recommendations
I need to redirect the user from the application to the theme editor. Using API requests, I obtained the necessary parameters and formed a valid link. In my case, it looks like this:
https://admin.shopify.com/store/ju*****re/themes/13******63/editor?context=apps
All I need is for the user to click on the link or button and be directed to the desired section. It works if I add `target="_blank"` to the link, but I would like to keep the user in the same window instead of opening a new one.
If I remove `target="_blank"`, I see the content as shown in the screenshot. I get the same result if I execute `window.location.href = buttonUrl;`.
What am I doing wrong? Making a link seems like a straightforward task, but I've already spent about 4 hours on it.
Thank you all. I figured it out. It is necessary to add target="_top" to the link, and the app-bridge will change the URL within the current page.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024