How to set up customer-exclusive products for purchase?

How to set up customer-exclusive products for purchase?

Simon101
Tourist
5 0 1

Hi all I want to add a couple of products that only certain customers can view and purchase.  Any advice would be greatly appreciated.

Replies 3 (3)

PageFly-Kate
Shopify Partner
1272 362 390

Hi @Simon101 

This is Kate from PageFly - Landing page builder. I’d like to suggest this idea:

  1. Customer tags: Assign customer tags to customers and use them to set up product visibility in your store. Only customers with the designated tag will be able to see and purchase the product.
  2. Password-protected pages: Create a password-protected page for specific products and share the password only with select customers.
  3. Inventory management: Use Shopify's inventory management system to adjust the product visibility, making it only visible to specific customers.
  4. App: Use a Shopify app, such as Wholesale Club or Wholesale Hero, to set up wholesale pricing and customer groups for specific products.

Hope my answer will help you.

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

mt686
Shopify Partner
56 9 19

Hello!

To set up customer-exclusive products in your Shopify store, there's few steps to how I would go about it:

  1. Create Customer Tags: Assign tags to the customers who should have exclusive access to certain products.
  2. Use Liquid Code: Modify your theme's Liquid files to restrict product visibility based on customer tags.
  3. Set Up Product Availability: Ensure that only tagged customers can add the exclusive products to their cart and check out.

Step 1: Tagging Customers

  1. Go to Customers in your Shopify Admin.
  2. Select a customer, then add a specific tag (e.g., "exclusive"). 

    For a less manual approach, you can use Shopify Flow (if you're on Shopify Plus) to automate customer tagging based on certain conditions, like spending over a certain amount or purchasing specific products.

Step 2: Modify Liquid Code for Product Visibility

  1. Edit your theme's product.liquid or product-template.liquid file.
  2. Insert the following Liquid code snippet:
     

 

{% if product.tags contains 'Exclusive' %}
  {% if customer and customer.tags contains 'exclusive' %}
    <!-- Product details -->
  {% else %}
    <p>This product is only available for exclusive members.</p>
  {% endif %}
{% else %}
  <!-- Product details for non-exclusive products -->
{% endif %}​


This code checks if the product is tagged as 'Exclusive' and whether the logged-in customer has the 'exclusive' tag.

 

(optional) Step 3: Restrict Purchasing

  • In the cart.liquid or on an ATC event, check if they have the tag and if they dont, then remove the item from the cart. Let me know if that's something you'd want to use and I can write that out as well, but it will take some customization for each theme.

Another Option

Alternatively, you might consider using an app designed for exclusive product management, like  Latch. You can set it up to only allow customers with certain tags to purchase products. It will validate it on checkout as well, and provide a note to customers who don't have access. You can also upsell a required membership or product. As a disclaimer, I am the main developer for Latch.

Let me know if any of that works for you, best of luck!

otss
Visitor
2 0 0

I am wanting to do something similar to this. But I am wanting to not only restrict purchasing of the item to specific customer but also visibility to those customers as well. What could be added to the code above to hide the product if that verification isn't true?