OrderlyEmails updated to latest Shopify Tax requirements (again!)

OrderlyEmails

Shopify has recently announced another update to some of their email templates, which will affect the "Payment Info" section of the emails. This update is related to the new Shopify Tax features, which allow merchants to automatically calculate and charge sales tax on orders based on their location. This change will update the way the logic works in the Liquid code behind the emails, but there will be no visible changes to the emails themselves.

To ensure that your email templates are fully compatible with these changes, OrderlyEmails has been updated to remove the need for manual code changes.

What do you need to do

  1. Login to OrderlyEmails
  2. Click the "Export to Shopify" button on your purchased email theme
  3. Follow the instructions to copy/paste the updated email code into your Shopify admin for the following email templates:
  • Order confirmation
  • Order edited
  • Order cancelled
  • Order refund
  • Draft order invoice
  • Abandoned POS checkout
  • Payment pending success
  • Ready for pickup
  • Picked up
  • POS and mobile receipt

Once you have updated your email templates, your store will be using the latest version of the email code, which includes all necessary changes. If you have any questions or experience any issues during this process, our friendly support team is here to help.

For those interested in the technical details, the changes made to the email code include the following:

1- The following line of code changed.

From:

{% if transaction.kind == "capture" or transaction.kind == "void" or kind == "emv_authorization" or transaction.status == "failure" or transaction.status == "error" %}
  {% continue %}
{% endif %}

To:

{% if transaction.kind == "authorization" or transaction.kind == "void" or kind == "emv_authorization" or transaction.status == "failure" or transaction.status == "error" %}
  {% continue %}
{% endif %}

2- The following line of code also changed.

From:

{% if kind == "capture" or kind == "void" or kind == "emv_authorization" or status == "failure" or status == "error" or gateway == pending_gateway %}
  {% continue %}
{% endif %}

To:

{% if kind == "authorization" or kind == "void" or kind == "emv_authorization" or status == "failure" or status == "error" or gateway == pending_gateway %}
  {% continue %}
{% endif %}

 

We hope that these updates, along with the new Shopify Tax feature, will provide a smoother and more seamless experience for you and your customers. We will continue to monitor any future changes made by Shopify, and ensure that OrderlyEmails remains fully compatible.

Back to blog

Our Shopify Apps