OrderlyEmails updated to latest Shopify requirements (again!)

OrderlyEmails

Yesterday, Shopify sent out another email to many stores letting them know that some email templates require an update. The update relates to the new Shopify Tax features, an upcoming Shopify change.

The change itself is related to how the "Payment Info" section of the emails works, and which transactions are displayed in the emails. There is no visible change in the emails, only how the logic works in the Liquid code..

OrderlyEmails has been updated to be fully compatible with these latest requirements, and removes the need to manually make code changes to your email templates.

What do I need to do?

1- Login to OrderlyEmails: https://www.orderlyemails.com/login

2- Click the "Export to Shopify" button on your purchased email theme.

3- Follow the instructions to copy/paste the email code from the app, into your Shopify admin for the following email templates:

  1. Order confirmation
  2. Order edited
  3. Order cancelled
  4. Order refund
  5. Draft order invoice
  6. Abandoned POS checkout
  7. Payment pending success
  8. Ready for pickup
  9. Picked up
  10. POS and mobile receipt

Once done your store will be using the latest version of the email code, which includes all necessary changes.

If you have any questions or troubles with the above, do get in contact with our friendly support team.

 

What changed?

Note: This section is just for information, and does not require you to do anything. It simply highlights what actually changed in the email code.

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 %}



Hopefully this will be the last of these changes that Shopify makes for a while :)

Back to blog

Our Shopify Apps