I created a page where I want to add those specific products. They are not uploaded yet, I wanted to see if I can even hide the page. There is one test product though.
thanks for the code. Would this work on the whole site or just that page? The idea would be that the site is visible for everyone, and only that page needs signing in.
I actually found a code and tried to use it, but it didn’t work. I think I couldn’t target properly the ‘template contains’ part so it was probably not set up correctly.
This is the code and the highlighted on is what I think was wrong, but not sure. Can you please let me know where and how can I add this code (or yours) to make it work?
You can create a members-only store by showing a login or register page when customers navigate to your website. This tutorialwill guide you through the steps to achieve this feature.
Please note that Shopify does not support this tutorial, and knowledge of HTML, CSS, JavaScript, and Liquid is required. Consider hiring a Shopify Expert if you aren’t comfortable doing the steps in the tutorial.
Alternatively, the app Locksmith is an excellent way for you to create members-only areas of your store. This app will allow you to lock down pages, products, collections, etc. Only people with a specific login account can get in!
Also, there is an app called Customer Pricing. Although it doesn’t lock specific areas of your store, it lets you show different prices to different customers depending on their login details. So it might be a good alternative in this case!
How is everything else going for you with the store? Are you also doing any marketing you would like to discuss? I would love to hear about your business and anything you are working on!
Several Shopify apps can help you achieve this functionality with more flexibility and features. Here are a few popular options:
Wholesale All In One: This app allows you to create different customer groups with different pricing and product visibility settings. You can create a “wholesale” group for your registered users and only make the restricted products visible to them.
Wholesale Club by Bold Commerce: This app offers similar features to Wholesale All In One, but with additional functionalities like tiered pricing and order minimums.
Memberstack: This app allows you to create membership levels with different access permissions. You can create a free membership level for registered users and give them access to the restricted products.