Shopify themes, liquid, logos, and UX
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,
I am using the dawn template and want to set up some products hidden from the general public (only accessible by members) I am new and don’t know coding or how to even start this?
Shopify itself does not support membership, if you need membership you can use the app to implement it.
Of course if you want to make a customer-specific collection, you can also make a collection and then the entry point to that collectiond is not on your website, but is available separately to your membersj for access.
Great so how do I make a customer specific collection? Will it be visible to everyone or can I just tag the customers I want to have access?
What I mean by this is that once you have created the collection, the entry to this collection you do not want to display on your website, the entry to it needs to be sent to your specific customers via an email situation.
One way to accomplish this would be using a permissions app such as Locksmith. This would allow you to create custom locks and keys - such as locking a specific collection or product unless a customer has a certain tag. This can all be done through the app interface without any coding!
Do you know other app that is free?
Hi @Starlords, check out this quick and easy tutorial on making your Shopify store exclusive:
Hello!
To set up member-exclusive products in your Shopify store, I would use customer tags and validate product access based on that. The high level would go like this:
In the customers section of your Shopify admin, you can select and filter customers, then bulk add tags. You can also use Shopify flow to automate that and add tags based on criteria like purchases.
In your product.liquid or product-template.liquid file you're going to check if the customer has the required tag, then conditionally show the important parts of the page. I'll provide the general code below, then you would copy and paste your whole files contents in between the conditions. I also have it set to check for tags on the product, but you could create a separate template to use instead.
{% 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!
Hey Starlords!
No worries about being new to coding - this is definitely doable! Here's a beginner-friendly approach to set up members-only collections in Dawn:
Option 1: Simple Collection Template Method
{% unless customer and customer.tags contains 'member' %} <div style="text-align: center; padding: 50px;"> <h2>Members Only Collection</h2> <p>Please log in with your member account to view these exclusive products.</p> <a href="/account/login" class="button">Member Login</a> </div> {% comment %} Stop the rest of the page from loading {% endcomment %} <script> document.querySelector('.main-collection-product-grid').style.display = 'none'; </script> {% endunless %}
Option 2: Tag Your Customers Make sure to tag your members with "member" in your customer admin panel.
Easier App Solution: Since you mentioned you're new to coding, I actually developed Latch specifically for this exact scenario - it handles all the member-only collection setup automatically, no coding required! It also adds nice membership upsell features: https://apps.shopify.com/member-lock
The code solution above should work, but if you want something that just works out of the box without touching any code, an app might be your best bet!
Hope this helps you get those exclusive collections set up! 🔒
Hey!
I can see exactly what you're trying to achieve from the BeautyPie example - showing both prices with automatic membership upselling.
Option 1: Custom Code Solution You can create this with custom liquid and JavaScript. Here's the basic structure:
<div class="dual-pricing"> <div class="member-price"> <span class="price-label">Member Price</span> <span class="price">${{ product.price | times: 0.7 | money }}</span> </div> <div class="non-member-price"> <span class="price-label">Non-Member Price</span> <span class="price">${{ product.price | money }}</span> </div> </div> <div class="add-to-cart-options"> {% if customer and customer.tags contains 'member' %} <button class="btn-member-purchase">Add to Cart - Member Price</button> {% else %} <button class="btn-member-purchase" data-membership-required="true"> Add to Cart - Member Price (+ Membership) </button> <button class="btn-regular-purchase">Add to Cart - Regular Price</button> {% endif %} </div>
Then you'd need JavaScript to handle adding both the product and membership to cart when non-members choose the member price.
Option 2: Shopify Scripts (Plus only) If your client is on Shopify Plus, you could use checkout scripts to automatically add membership when certain conditions are met.
App Solution: Actually, I built Latch specifically for this exact use case! It handles the dual pricing display, automatic membership upselling, and cart logic seamlessly - exactly like the BeautyPie example you showed. It can show both prices to everyone and automatically add membership products when non-members try to access member pricing: https://apps.shopify.com/member-lock
The custom code approach would work but requires significant development time. Since you're working with a client, an app solution might be more cost-effective and reliable.
Hope this helps your client get that dual pricing system running! 💰