Adjust Shopify Notification for $0 Pre-Paid Orders

If you set a product up with a 3-month charge interval and ships ever 1 month, you will get $0.00 Shopify orders during the second and third months. This way you will know to fulfil the order. You'll notice your customers get emails for these orders too, which may be confusing. You can adjust the message that goes to them using the following IF statements:

Warning: This will require some basic knowledge of Shopify liquid tags.

There are the following cases to handle:

  • Regular Shopify orders with a price greater than $0.00.
  • Pre-paid $0.00 orders.
  • $0.00 orders for other reasons, such as discounts.

You can use the IF statements here for each case:

{% if total_price > 0 %} 

THIS IS FOR REGULAR SHOPIFY ORDERS

{% else %} 
{% for line in line_items %} 
{% if line.title contains 'Subscribe' %} //ADJUST THIS BASED ON THE NAMES OF YOUR SUBSCRIPTION PRODUCTS 

THIS IS FOR THE $0 PRE-PAID ORDERS 

{% break %} 
{% else %} 

THIS IS FOR OTHER FREE ORDERS

{% endif %} 
{% endfor %} 
{% endif %}

Still stuck? How can we help? Still stuck? How can we help?