Shopify themes, liquid, logos, and UX
Hi,
We would like to restrict our shopify online store to trade customers only, and therefore I wanted to create a members only / account log in for the online shop page. I still want everyone to be able to see the other pages, but restrict the store page or even just the prices. The store and prices should only be accessible after customers register an account through a registration form. Once these forms have been approved, the customers should be able to log in straight away in the future.
How can I do that? Do I need a Shopify expert to write this for me?
Thank you,
Nadine
Hey @NadiB2010
If you want I can provide you a code that can hide prices until user is logged in into your website and non-logged in users won't be able to see the prices. Let me know if you want that and also please share your Store URL and Password if enabled
Best Regards,
Moeed
Hi Moeed,
That would be amazing yes please.
URL is www.trinketypaws-trade.co.uk
Is there a way as well how I can create a more custom registration form users will have to fill when registering?
I keep getting stuck with the regular one, which I have now added, but somehow it won't let me adjust it to require more info from the logging in user....
Somehow it's suddenly also asking for an account domain? I thought I had it all solved, but so many new issues popping up today 🙈
Thank you so much for help. 🙂
Hey @NadiB2010
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
{% if customer %}
<style>
.price {
display: block;
}
</style>
{% else %}
.price {
display: none;
}
</style>
{% endif %}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
I'm going to try this as well, as I've been needing to get something like this for a more "members only" type of structure. I'm going to reach out if it works or doesn't
Hi @Moeed
I have done this now, but can still see the pricing when I go the page.
Is that possibly because I haven't set up the registration form properly
Thanks,
Nadine
Hey @NadiB2010 and @AsYouCanSee!
We generally recommend using the Helium Customer Fields app along with the Locksmith app to accomplish something like this. It is also possible to do some of this by editing the theme code directly, but you may need to actually work with a developer directly if you need assistance.
The Helium Customer Fields app allows you to build a custom registration form for the site to add additional field and collect any information you need. It also gives you the ability to require manual approval for applications, so that you can review and approve/deny customers for wholesale access.
The Locksmith app gives you the ability to control access to your site, which could be blocking access to the entire site itself, specific pages, or just the prices. Used with the Customer Fields app, this essentially means that only approved customers would be able to view the site/prices.
Hey @NadiB2010, check out this quick tutorial on creating a Members-Only Store on Shopify:
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024