Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello Shopify Community,
I’m working on a Shopify site with product price restrictions where prices are gated and only shown to logged-in, approved customers. I need assistance modifying this setup for two requirements:
1. Display Price for One Product Publicly:
I need the price for one specific product—“SOLIKA Hair Treatment”—to be visible to all customers, regardless of login status, while keeping the prices of all other products gated.
All other products should remain gated, displaying a “Login to view price” message for customers who are not logged in or not approved.
2. Allow Account Creation and Guest Checkout:
I want customers to be able to create an account and check out without needing approval. This way, they can participate in our rewards program and earn points even if they are not approved for price visibility on other products.
Ideally, customers should be able to check out as guests or create an account during checkout, and still benefit from our rewards program.
Code Context:
I believe the code for price visibility is in my product-tile.liquid or similar snippets like product-thumbnail.liquid. I attempted to add a conditional check to bypass the gating for “SOLIKA Hair Treatment” but haven’t been able to achieve the desired result.
Could someone guide me on the exact code or logic to achieve these goals?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025