Hi all I want to add a couple of products that only certain customers can view and purchase. Any advice would be greatly appreciated.
Hi @Simon101
This is Kate from PageFly - Landing page builder. Iâd like to suggest this idea:
- 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.
- Password-protected pages: Create a password-protected page for specific products and share the password only with select customers.
- Inventory management: Use Shopifyâs inventory management system to adjust the product visibility, making it only visible to specific customers.
- 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.
Hello!
To set up customer-exclusive products in your Shopify store, thereâs few steps to how I would go about it:
- Create Customer Tags: Assign tags to the customers who should have exclusive access to certain products.
- Use Liquid Code: Modify your themeâs Liquid files to restrict product visibility based on customer tags.
- Set Up Product Availability: Ensure that only tagged customers can add the exclusive products to their cart and check out.
Step 1: Tagging Customers1. Go to Customers in your Shopify Admin.
-
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 Visibility1. Edit your themeâs product.liquid or product-template.liquid file.
- Insert the following Liquid code snippet:
{% if product.tags contains 'Exclusive' %}
{% if customer and customer.tags contains 'exclusive' %}
{% else %}
This product is only available for exclusive members.
{% endif %}
{% else %}
{% 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!
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?