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?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024