Use cases
Show different Shopify content to guests and logged-in customers
ePlugin ·
Use customer login-state conditions to show sections to either logged-in customers or guests. Visi offers this. Login state is different from visitor history, customer tags and B2B status.
The merchant problem
A sign-in invitation is unnecessary for a signed-in customer, while an account reminder may confuse guests. Conditional messaging lets one shared storefront handle both states.
How to do it with Visi
- Prepare the guest or account message in a section.
- Add a customer login-state rule for guest or logged-in and save.
- Test signed-in and logged-out states on the actual storefront.
Specific storefront use cases
Guest-only banners and sign-in reminders
Choose guest login state for a invitation section. Test after signing in to confirm it no longer qualifies.
Logged-in customer messages
Choose logged-in state for an account-related notice. Add a tag or other condition only if login alone is not specific enough.
Questions merchants ask
How do I hide a Shopify section from logged-out visitors?
Use a logged-in customer-state rule to display account announcements, a welcome-back section or shopping information for signed-in customers.
Can I show a Shopify login banner only to guests?
Yes, with a guest-state display rule for a existing banner.
Example setup
Show a guest-only sign-in reminder that links to the store’s account flow. A different section can welcome authenticated customers.
Further reading: Official Shopify documentation
Related resources
Use cases
Show Shopify content to customers with a specific tag
Show or hide Shopify sections by customer tag. Personalize VIP banners, loyalty announcements and member messages with practical examples.
- VIP customer banners and loyalty announcements
- Member-only messaging based on Shopify customer tags
- Personalized content using customer metafields
Use cases
Show Shopify sections to B2B and wholesale customers
Show Shopify sections for B2B buyers, wholesale customers, companies and company locations. Personalize ordering instructions and wholesale announcements.
- B2B-only storefront announcements
- Company and company-location content
- Wholesale customer-tag messaging
Use cases
Personalize Shopify sections for first-time and returning visitors
Show Shopify content for first-time or returning visitors using visitor rules. Personalize welcome messages and repeat-visit announcements.
Read the practical guide →