Add Membership Link Snippet to Customer Account Template
You must paste a snippet into your theme code so your members can reach the member portal
The membership link snippet must be installed so your customers have a way to click to their membership landing page
Add the following snippet to the templates/customers/account.liquid file found in your theme code:
<a class="inveterate-manage-membership" data-inveterate-manage-membership href="/community/membership?customerId={{ customer.id }}">
Manage Membership
</a>Where to Add the Snippet
Select the theme and click Actions -> Edit code to open the Shopify code editor. Find the file templates/customers/account.liquid
Navigate to the Themes menu
Select the theme you want to edit and click
Actions -> Edit codeto open the Shopify code editorFind the file templates/customers/account.liquid
Search for account_logout_url and paste the snippet above or below.
Click Save


Download the PDF below for step-by-step instructions
How to Add the Snippet When Your Theme is Using JSON Templates
Open the templates/customers/account.json file to find what liquid files are used on the account page

Take note of the
typevalue for any sections listed here, which is "main-account" in this case. This corresponds to the liquid file or files that make up the customer account page. So, in this case, we are looking for a single liquid file:sections/main-account.liquid
Last updated
Was this helpful?


