A merchant wants to restrict product purchasing and pricing visibility based on customer login status and tags. Specifically:
Requirements:
Hide “Add to Cart” buttons and prices from logged-out visitors
Show purchasing capability only to logged-in customers with specific tags (“Pro” or “VIP”)
Maintain full B2B functionality for Shopify+/Sparklayer customers
Suggested Solutions:
Sparklayer documentation: Since the merchant already uses this B2B app, its built-in content restriction features may address the need
Locksmith app: Recommended for implementing access control, hiding prices, and managing add-to-cart button visibility
Wholesale pricing app: Offers differentiated pricing for retail vs. wholesale customers, supports customer-tag-based pricing tiers, and includes volume discounts
The discussion remains open with multiple app-based approaches proposed but no final decision indicated.
Summarized with AI on October 26.
AI used: claude-sonnet-4-5-20250929.
I am looking to be able to hide the purchase capability of products (Add to Cart) on our site to the general visitor but allow purchase (Add to Cart), based on customer tags to be able to purchase. We may also wish to hide prices.
For example “Pro or VIP” customers with Pro or VIP tags will be able to see products/collections available for purchase (Add to Cart etc.) including prices only when they log into their accounts with any associated discounts.
If you are not logged in or just visiting the site the “Add to Cart” feature will not be visible.
Our B2B customers, Shopify+/Sparklayer will have full "Add to Cart” capability.
Hope this makes sense.
Any help would be appreciated or app suggestions that can handle this.
——-
Barry Levinson | 1to3go
PO Box 31
Vail CO 81658
t. +1 970.376.0808
e. blevinson@1to3go.com
w. www.1to3go.com
Since it sounds like you’re already using the Sparklayer app on your shop, I would recommend checking out their documentation for this or reaching out to their support team for assistance.
Otherwise, you could also consider using a separate app like Locksmith which I highly recommend for easily implementing access control like hiding prices or add-to-cart buttons.
This is a really common setup, especially for stores mixing B2C, VIP, and B2B customers.
At a theme level, this is usually handled with customer tags. The basic idea is:
Customers log in and get tagged as Pro, VIP, etc.
Your product template checks for those tags before showing price and Add to Cart
Visitors or untagged customers can still browse, but they won’t see pricing or be able to purchase
B2B customers using Shopify Plus / SparkLayer can stay fully purchasable since SparkLayer handles pricing and access separately
This works without an app, but it does mean adding Liquid checks in multiple places (product template, price snippet, Add to Cart, and sometimes collection templates), and making sure direct product URLs don’t bypass the rules.
I actually built Latch for this exact scenario. It lets you:
Lock products or collections behind customer tags
Hide prices and Add to Cart for logged-out or non-approved users
Fully restrict access from search results and direct URLs
Mix VIP, Pro, and B2B logic without custom theme edits
Full disclosure: I’m the developer. Happy to help explain how to structure this either with Liquid or using Latch so it stays manageable as the store grows