Skip to main content
All CollectionsFAQsSettings
How do I make Pre-order Now work for only logged in customers?
How do I make Pre-order Now work for only logged in customers?
Updated over 4 months ago

In the theme.liquid file, encase the Pre-order Now include in an if statement that checks if the customer object is present (i.e., customer object is present if a customer is logged in)

E.g.,

{% if customer %}
{% include 'preorder-now' %}
{% endif %}

screenshot-embrujo-del-arte.myshopify.com-2019.05.28-20-00-20.png
Did this answer your question?