Guides
Log In
Guides

How to Setup Exclusive Products with VIP

Overview

This guide will show you how to set up exclusive products in Shopify that can only be purchased by customers in a specific VIP tier. Once setup, managing whether a product is only accessible to certain VIP tier customers is as easy as changing the product template that the product is using. Everything else is automated by Raleon.

Let's dive into creating that product page template first.

Step 1: Create a New Product Template

  1. Log into your Shopify Store:

    1. Go to the Shopify admin panel.
    2. Navigate to "Online Store" > "Themes."
      Customize Your Theme:
  2. Click on "Customize" next to your current theme.
  3. Create a New Product Template:
    1. In the top navigation area, click on "Home page" to get a drop-down menu.
    2. Select "Products" and then click "Create new template."
    3. Build off your default product template and name it "exclusive-products."

Step 2: Add Custom Liquid Block

  1. Edit the New Template:
    1. Within your new "exclusive-products" template, locate the section where the "Add to Cart" and "Buy Now" buttons are.
  1. Add a Custom Liquid Block:
    1. Add a new block and select "Custom Liquid."
    2. Within the liquid code block, you will need to make sure it's targeting your quantity, add to cart, and buy button class (if they're not all in the same container) so it can control them. Note: This part is more technical! Let us know if you need assistance!
    3. The below is an example of the code to be inserted into the Custom Liquid block, but where the style being targeted and "VIP Tier Name" is your tier name:
      liquid
{% assign required_value = 'VIP Tier Name' %}
{% assign customer_metafield = customer.metafields['raleonInfo']['raleon_vip_tier'] %}

{% if customer_metafield and customer_metafield == required_value %}
{% else %}
  <p>You must be a VIP member to access this content.</p>
  <style type="text/css">
  .product-form__buttons { display: none !important;
  }
</style>
{% endif %}

  1. Save Your Changes:
    1. Click "Save" to apply the changes to your new template.

Step 3: Assign the Exclusive Template to Products


  1. Go to Your Products Page:
    1. In your Shopify admin, go to "Products."
  2. Select the Product You Want to Make Exclusive:
    1. Choose the product that you want to restrict to VIP customers.
  3. Assign the Exclusive Template:
    1. On the product details page, scroll down to the "Theme templates" section.
    2. Select the "exclusive-products" template from the dropdown menu.
    3. Click "Save."

Managing Exclusive Products

Whenever you want a product to be exclusive to the VIP tier, assign the "exclusive-products" template to that product.

Making a Product Available to All Customers

To make a product available to all customers, change the product’s theme template back to your standard product template.

By following these steps, you can control access to certain products in your Shopify store, making them exclusive to customers who are part of your VIP program. This ensures that only VIP members can purchase specific products, enhancing the exclusivity and value of your VIP program.