Skip to main content

How Do I Make PreOrder Now Work for Logged-In Customers Only?

Setting up Pre-order Now to be accessible only for logged-in customers.

Updated this week

Here’s how to do it:

  1. In your Shopify Admin, go to Sales Channels > Online Store > Themes.

  2. Click the three dots next to your theme and select Edit code.

  3. Open the theme.liquid file.

  4. Locate the line where the PreOrder Now snippet is included. It usually looks like this: E.g.,

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

  5. Wrap that line in a conditional statement that checks if the customer is logged in:

  6. Click Save.

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