All things Shopify and commerce
Hello everyone!
I work with the Brooklyn theme and want to make it members-only. Where do I need to put which HTML to make it look like:
For translation: Log In
Email
PW
Stay logged in
Forgot PW
I also need a clear T&C's button below, so they can read that 🙂 It's mandatory here. A picture would be great too (as seen above), for consumer-trust.
Kind regards and thanks in advance!
Gen
There are apps which will allow you to create a members only website with various benefits and access controls. This is what it sounds like you want. Locksmith is one way. I'm sure it could be implemented with code as well.
If you just need a basic version where the storefront is locked unless you have an account you can set a storefront password in your store preferences then your store will require an account or the password to access.
I got the member only part done, but now I'd like to add a subtle background, since the next is pretty boring:
Do you know how that might work? Got the rest running in HTML 🙂
Have a great day!
As in you want to replace white background with image? or gradient? If so yes you will add HTML/CSS to template files.
Please go to Online Store -> Pages -> the page in which you want to add background image -> Click on Edit website SEO -> Go to URL and handle and copy the last word of the handle.
Then go to Online Store -> Themes -> Edit code -> Assets -> Upload your Image here. Copy the image name with extension.
Then go to Online Store -> Themes -> Edit code -> Layout -> theme.liquid and paste below code between <head></head>
{% if request.path contains 'page-handle' %}
<style>
body {
background-image: url({{ 'image-name-with-extension' | asset_img_url: 'original' }});
background-repeat: no-repeat;
background-size: cover;
}
</style>
{% endif %}
Hey @Genevieveee, looking to add a Members-Only section to your Shopify store? Check out this tutorial for a quick solution:
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025