For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Admin Link app extensions work fine for a stable, production app. However, for a dev app where the hostname changes regularly (e.g. https://some-random-word-combination.trycloudflare.com) it can be really cumbersome to test Admin Link app extensions.
It would be very helpful if it was possible to specify a relative URL for an app extension, and Shopify dynamically prefixed it with the main App URL. As can be seen in the screenshot below, it rejects my attempts. Is there a clever way around this that I'm missing? If not, could this be considered as a feature request?
Hi there, here's how you can do it. In my example I've created an admin link to be displayed on the product variant page.
If you put https://admin.shopify.com/admin-link as URL, the merchant will be redirected to https://admin.shopify.com/store/<your_store>/apps/<your app name>/admin-link?id=<product variant id>&shop=<shopify domain>`