Skip to main content

Show members a different page template

Show signed-in members a different version of a page, such as a product page with an early-access heading, using a member-exclusive page template perk.

Member-Exclusive Page Templates show signed-in members a different version of a page in your store. For example, members can see a product page with an early-access heading while everyone else sees the standard page. You make the template in your theme, then add a perk to a membership plan that tells Appstle Memberships which page type, template and pages to use.


Before you start

  • Check that the Appstle℠ Memberships app embed is on in your theme (Online Store → Themes → Edit theme → App embeds).

  • Create a membership plan. A perk belongs to one plan, and only that plan’s members see it. See Create a membership plan.

  • Members see their template only while signed in to their customer account, so customers must be able to sign in to your store. You can check this in Shopify under Settings → Customer accounts.

  • Decide which page type, and which pages, should look different for members, for example the product page /products/house-blend-coffee.


Make the member template in your theme

  1. In your Shopify admin, go to Online Store → Themes and click Edit theme on your published theme.

  2. Open the template picker at the top of the editor and choose the page type, for example Products.

  3. Click Create template.

  4. Name it, for example “members”. In Based on, choose the template these pages use now, so members keep everything else on the page. Then click Create template.

  5. Change the template the way you want members to see it, for example add a heading above the product title.

  6. Click Save.

Don’t assign the member template to any product, collection, page or blog post. If you do, everyone sees it, not only members.


Add the perk to a plan

  1. In the Appstle Memberships app, click Plans & Perks.

  2. Next to the plan, click Membership Perks.

  3. Click Add New Membership Perk, then choose Member-Exclusive Page Templates.

Then set up the perk:

  1. In Select Base Page Type, choose the type of page your template is for, for example Product. The list shows the page types in your published theme.

  2. In Choose Member Template, choose your member template, for example product.members.json. Don’t choose the standard template (product.json): members would see no change.

  3. In Enter page URL path where you want to change the content for members, enter the pages to change, or leave it empty for every page of that type. The table below shows what to enter.

  4. In Path Match Type, keep Contains or choose Exact.

  5. Click Done, then click Save in the bar at the top of the page.

Choose which pages change

The URL path is the part of the address after your domain name. What you enter decides which pages of the chosen page type change:

What you enter

Which pages change

Nothing, or just /

Every page of the chosen page type.

One path, such as /products/house-blend-coffee

With Exact, only that page. With Contains, any page whose address includes that text.

Several paths separated by commas, such as /products/item1, /products/item2

Any page that matches one of them.

Exact compares the full path, including anything before the page name, such as a language (/fr/products/…) or a collection (/collections/coffee/products/…). If a page doesn’t change, try Contains.


What members see

When a member who is signed in to their customer account opens one of the pages you chose, the page reloads once with your template. The address gets view= and your template’s name added, for example view=members. Shoppers who aren’t signed in, and customers who aren’t members of the plan, see the standard page.

This is the page for a shopper who isn’t signed in:

This is the same page for a signed-in member, with the heading from the member template:

After you save the perk, your store can take a few minutes to show it. To test it, sign in as a member in one browser window, and open the same page in a private window to see what everyone else sees.


Things to know

  • A template changes how a page looks. It doesn’t lock the page. To limit who can open or buy something, use Exclusive Member Content. See Add perks to a membership plan.

  • Anyone who adds ?view= and your template’s name to a page address sees the member template, so don’t put anything in it that must stay private, such as a discount code.

  • If more than one perk matches a page, members see the template from the perk listed first on the plan’s Membership Perks page. A perk with no URL path matches every page of its type, so add it after your perks for single pages.

  • The member template replaces whichever template the page uses. If some products use their own template, members see the member template on those pages too, unless you limit the perk with a URL path.

  • Members in a free trial see the standard page when Allow membership perks during trial is off in Shop Settings. See Shop Settings: change how memberships behave across your store.

  • The perk reads the templates of your published theme. If you change your theme, create the member template in the new one and check the perk.


FAQs

Why do members still see the standard page?

Check each of these, then wait a few minutes and reload:

  • The Appstle℠ Memberships app embed is on in your theme.

  • The customer is signed in to their customer account and has the plan’s member tag (the Customer Tag Name in the plan’s settings). Open the customer in Shopify to check their tags.

  • The page address matches the URL path and Path Match Type in the perk.

  • You chose your member template in Choose Member Template, not the standard one, and it is in your published theme.

  • The member is not in a free trial with Allow membership perks during trial off.

Why isn’t my template in the Choose Member Template list?

The list shows the templates in your published theme whose names start with the page type you chose, for example product.members.json for Product. It loads when you open the Membership Perks page, so if you created the template after opening the page, reload it. Templates in an unpublished theme don’t appear.

Why does the address show view=members?

That is how your store shows a template other than the standard one. The text after view= is the name of your member template.

Can members see a different template on different pages?

Yes. Add one perk for each page type, or several perks for the same page type with different URL paths. If a page matches more than one, the perk listed first applies.

How do I give members of several plans the same template?

Add the perk to one plan, then click Clone to Other Plans next to it on the Membership Perks page. Choose the plans and click Clone. The perk is added to those plans, and their other perks stay as they are.

What happens if I delete the member template from my theme?

Delete the perk first: click Delete next to it on the plan’s Membership Perks page, click Delete again to confirm, then click Save. If you delete only the template, members see the standard page, but it reloads once on each visit and the address still gets view=members.

Need help? Email [email protected] and tell us your store address.

Did this answer your question?