Admin link to node app subpage with page details parameters

erolsi
New Member
2 0 0

Hi all

I have a node app with custom page. I have created admin link following the instructions https://shopify.dev/tutorials/add-an-admin-link-to-the-shopify-admin-with-app-extensions on admin order details page pointing to my new custom page. Everything works great and link it correctly generated.

Problem is when I click on link (it has resource id), it gets redirected to initial/home page, so resource id/orderid is lost. Checking online, this is common issue https://github.com/Shopify/shopify-node-api/issues/170.

Any ideas how to resolve this? As the whole admin link is useless if I cannot keep the resource id/orderid after redirect?

0 Likes