Skip to main content

Subscribfy locked products requirements

Updated over a year ago

Make sure to read the Usage page after setting up the requirements!

Description

With this perk you are able to lock access to specific products or all products from a specific collection for customers that have not purchase a membership.

Requirements

  1. Make sure the theme.liquid file of the current active theme for your store has the following snippet of code.

{% comment %}SubscribfyLockHeadBegin{% endcomment %}
{% render 'subscribfy-lock' %}
{% comment %}SubscribfyLockHeadEnd{% endcomment %}

Follow these instructions to check:

  1. Login to your store https://admin.shopify.com/

  2. In the left sidebar click the Online Store button

  3. Click the 3 points button that is on the left side of Customize for your active theme and then click Edit code

  4. From the left sidebar select theme.liquid

  5. Look for the <head> tag in this file and check if the snippet of code above is there.

  6. If you can’t find the snippet of code copy it from this document and paste it right after the <head> tag and click Save

Here’s an example video of the process:

  • Make sure you have a customized Product template file for your locked products. Follow these instructions to check:

  1. Login to your store https://admin.shopify.com/

  2. In the left sidebar click the Online Store button

  3. Click the Customize button for your active theme

  4. Click the Home page button at the top of the page, middle and select Products then click Create template

  5. Give it the name vip and click Create template

  6. Customize this template to your liking, this is the template that will be shown to the customers when they try to view a product that is locked for them.

  7. When done click the Save button from top right

Here is an example video of the process:

Did this answer your question?