At this time, Jilt doesn't currently support adding shipment tracking details to Jilt emails. We've come up with some workarounds in the meantime, so read on to see if these may work for you!
Shopify merchants
We suggest including a link or button in your email that will direct your customer to the Order Status page. The order status page includes shipment tracking details, if provided. Customers don't have to be logged into their shop accounts to access this page.
For example, the Default Order Receipt template will include a button that says "View Order Status" and links to the order status page with the following merge tag: {{ order.status_url }}
. That merge tag can be used on any placed order email in order to include a link to the order status page.
Learn more about the Shopify Order Status page.
This workaround doesn't work for WooCommerce shops, unfortunately, because the {{ order.status_url }}
link directs the customer to the orders page in the My Account area of WooCommerce, which doesn't include tracking information.
WooCommerce merchants
This workaround is more advanced and depends on the shipment tracking plugin your shop is using. It may require that you have access to a developer to assist if you aren't comfortable adding custom code to your site. Don't worry though, we'll walk you through the process!
We have a snippet that can work for the following tracking plugins:
Step 1: Add the code snippet to your site
If you aren't sure how to add custom code to your site, then we recommend you check out this guide from SkyVerge on how to safely add custom code to WordPress.
WooCommerce Shipment Tracking plugin
If you're using the WooCommerce Shipment Tracking plugin, you can use the following snippet as is to sync tracking details for newly completed orders to Jilt:
Advanced Shipment Tracking for WooCommerce plugin
If you're using the Advanced Shipment Tracking for WooCommerce plugin, then the following snippet can be used as is:
Shipmondo for WooCommerce plugin
If you're using the Shipmondo for WooCommerce plugin, then the following snippet can be used as is:
Step 2: Apply the Liquid merge tag to your email template to display the tracking number
Now, you can apply the following Liquid merge tag to your email template to display the tracking number:
{% unless order.properties.tracking_code == null %}
Tracking Number: {{ order.properties.tracking_code }}
{% endunless %}
If you'd like to take it a step further, you can include a link to the tracking information. To do so, you can highlight {{ order.properties.tracking_code }}
to apply the link (excluding Shipmondo) and enter {{ order.properties.tracking[0].formatted_tracking_link}}
in the link field.
Note: The link merge tag for Shipmondo is {{ order.properties.tracking_url }}
What if I'm using a different tracking plugin?
If this feature is something you'd like to see our team build into Jilt in the future, please get in touch and let us know!