Load discount edits in new tab

Load discount edits in new tab

muditbhutani
Shopify Partner
1 0 0

I have built a discount creation app where users create discounts through my dashboard which opens in a separate tab in another link

 

When users are coming to edit the discounts via this flow: (shopify -> discounts -> click on specific discount ) my specific discount edit page of dashboard is not opening if embed is disabled for the app. It opens primary page of my dashboard instead

 

If I enable app embed and try, it opens the specific discount edit page

 

How can I make this work when my dashboard is not embedded inside the app?

Replies 0 (0)