Example of setting up a site near the add to cart button or other purchase path when encouraging members to register on Shopify
If you want to actively encourage members to register on Shopify, it is effective to place it on the purchase path, such as near the add to cart button, rather than using a banner or modal. However, it is not necessary to display it to registered users, so it is a good idea to use the liquid customer object to display it in different cases.
How to display content only to non-logged-in users
