Shopify themes, liquid, logos, and UX
Can I put a membership requirement on the products page of my store? Non-members cannot see prices.
Can we do something like opt-in in the product title?
Thank you very much for your help in advance.
Theme: İmpulse
Hi Adoring,
Yes, definitely, it is possible to put a membership requirement on the product page, but you'll need to edit your theme code. Currently, how your code is going to look like is this:
show the product title
show the product price
show the variant selectors
...
What you'll need to do is to change it into something like
if the visitor is logged in
- show the product title
- show the product price
if the visitor is NOT logged in
- show an opt-in instead
- hide the product price
show the variant selectors
...
By adding the if-this-do-that and the if-not-this-do-that, you'll have different content being show to visitors that are logged in and visitors that aren't. Do note that the examples above are simplified versions of what your code looks like
Hope this helps and if you have any questions, feel free to ask!
If you're looking for someone to take this task off your hands, I'd be happy to do it for $25. I'll make sure that customers who are NOT logged in cannot interact in the same way as logged-in customers such as only showing price/add-to-cart to logged-in customers, plus other requirements you are looking to have. Let me know if you're interested via the comments or thru my contact email below! 🙂👌
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024