All things Shopify and commerce
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!
➜ 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.
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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024