Adding and adjusting the 'Manage Subscriptions' link to the customer account in Shopify for Shopify's legacy customer accounts
If your customer portal location is set to "Embedded in platform storefront," customers can log into their account and access their subscriptions. On the main customer account screen, they will see a "Manage Subscriptions" link that Recharge automatically injects. Some Shopify themes need this link installed manually. If the link is missing from all customer accounts, follow this guide to insert the necessary code.
- Shopify Checkout Integration
Before you start
- This guide is for merchants using Shopify’s legacy customer accounts. See How to set up Shopify customer accounts with your Recharge customer portal if you use Shopify’s customer accounts feature.
- Review Shopify’s Customer accounts and legacy customer accounts to understand the differences.
- This update requires minimal Shopify theme knowledge.
- Learn more about Legacy customer accounts on the Shopify Checkout Integration.
- Some 2.0 themes required the code to be added to a different theme file. Work with your theme developer to identify the correct theme file before proceeding.
- This guide goes over the Manage subscriptions link in the Shopify customer account. To add or adjust the link on the Login page, see Confirming the Manage subscriptions link is installed on the Login page
Add and adjust the Manage Subscriptions link
There are two ways you can add the Manage Subscriptions link depending on your store setup.
Option 1
Add the Manage Subscriptions link code:
- In your Shopify Admin, click Online Store and select Themes.
- Click the ellipsis and Edit code.
- Open the customers/account.liquid template file.
- If you're using Shopify 2.0 themes, use main-account.liquid under Sections and the code can be injected around line 149. underneath the addresses link.
- Add the code shown below and adjust the Manage Subscriptions text as needed.
<!-- Begin Recharge code --> <p><a href="/tools/recurring/login/">Manage Subscriptions</a></p> <!-- End Recharge code -->
- Click Save.
Option 2
Add an App block to display the link:
- In your Shopify Admin, click Online Store and select Customize.
- In your Shopify Theme Editor, click the dropdown menu and select Legacy customer accounts.
-
Select Customer account.
- Click Add section, then Apps.
-
Select the Manage Subscriptions app block.
- Optionally, you can add the text and styles within the theme editor.
- Click Save.
