Subscription app post-purchase portal navigation

2 0 1

Hey community,


In developing a subscription application, one of Shopify's requirements is as follows:


The subscription app must include navigation to a customer portal, both on the order status page and through a post-purchase email to a merchant's customers so that they're able to manage their subscription.


Could someone guide us on how we can add this link to the post-purchase page? I believe we don't have direct access.


Thank you,


Replies 2 (2)
Shopify Partner
1 0 0

Hey @SepehrHengam did you manage to do this ?? 

Shopify Partner
1 0 0

Hi there,


You can add a javascript using ScriptTag and in your js, add such a code. This will insert a box in the order status page.

if (Shopify.checkout?.customer_id && Shopify.Checkout.hasSellingPlan) {
    `<p>Continue to your account to view and manage your subscriptions. Please use this link ... </p>`