Welcome to Eight Docs

Installation: Customer Portal

When your customers purchase a subscription order, Assemble allows them to manage their Subscriptions preferences through the customer portal.



To install this functionality, simply complete the following steps.

Step 1: Duplicate Your Theme


Due to the far-reaching nature of altering theme code-files, Shopify recommends duplicating your theme to create a backup copy before adding apps, allowing you to start again if you need to.

  1. Within your Shopify admin, go to Online Store > Themes.
  2. Select your theme, and click Actions > Duplicate.



Step 2: Copy the Snippet


Under Installation, go to Customer portal and click the snippet {% render 'assemble', type: 'subscription-link' %}to copy it onto your clipboard.



Once the snippet has been copied, a Copied! note will appear for confirmation.


Step 3: Go to templates/customers/account.liquid


Click the link within the Customer portal installation steps to be taken to templates/customers/account.liquid within your theme's code.



This will open your theme's code editor.



Step 4: Paste Your Snippet


Paste your snippet on a blank line whereever you would like your Subscriptions link to appear on your customers' account page.

Warning: Do not replace any existing code.



Once this has been completed, click  Save.

Was this article helpful?