Üyelik gereksinimi yardımı

Üyelik gereksinimi yardımı

Adoring
Tourist
15 0 1

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

Reply 1 (1)

PaulMartin
Shopify Partner
585 57 136

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! 🙂👌

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ