Discussion
Shopify
How to show different content for logged-in customers vs guests?
Mark Entrepreneur
0 reputation
4 days ago
39 views
3 replies
I've been researching this for a while but would love to hear your experiences.
Question: How to show different content for logged-in customers vs guests?
Question: How to show different content for logged-in customers vs guests?
2 Replies
Frank Start
· 4 days ago
Be careful: If you use caching apps, the page might cache the 'logged in' view for guests.
Frank Start
· 4 days ago
For price hiding, use JavaScript to verify login state via AJAX if caching is aggressive.
You must be logged in to reply.
Log In to ReplyRelated Discussions
Liquid Error: 'Memory limits exceeded' in collection.liquid loop. How to optimize?
3 replies
1 week ago
How do I access Metafields in a .js file for my custom section?
3 replies
2 weeks ago
Why is 'img_url' filter deprecation warning showing up in my theme editor?
3 replies
2 weeks ago
How to filter a collection by tag using URL parameters without an app?
3 replies
5 days ago
Implementing 'Add to Cart' via AJAX. Getting 422 Unprocessable Entity.
3 replies
1 week ago