All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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:
Hope my answer will help you.
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Unlock the secrets to a record-breaking BFCM with PageFly and Canva
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from the Free plan. Live Chat Support is available 24/7.
Hello!
To set up customer-exclusive products in your Shopify store, there's few steps to how I would go about it:
{% 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.
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?