Skip to content

Coding for the issue

{% capture email_body %}
{% if requires_shipping and discount.code contains 'SUBFRSHP' %}
<!-- Email content for a recurring payment -->
Your recurring payment has been processed successfully. Thank you for your continued support.
{% else %}
<!-- Email content for a shipping order -->
Your order is now being prepared for shipping. We will notify you when it has been sent.
{% endif %}
{% endcapture %}

{% if order.tags contains 'Subscription' and order.tags does not contain 'Subscription-Order-2' %}
<!-- The rest of your email template goes here -->
{% endif %}

Back to top