Hi guys how are you? This is Juan. I am not very good at coding so I am requesting this help from you.
What I really need is the next: I would like my customers to receive an email that links https://www.17track.net/en with my tracking number for example:
When they click track your order I would like that the order number is shown and then a button that say track your order. The email they are receiving right now is the regular one from shopify and this is a big mistake because they receive wrong locating information of their package.
What I have realized is the next: if you go to: https://www.17track.net/en and you insert the tracking number then it becomes https://t.17track.net/en#nums=YT2017021266102502 where what is red would be the tracking numbe provided by my supplier that is fulfilled by oberlo or udroppy.
With that said I would like to have let’s say this link https://t.17track.net/en#nums= and then automatically put the tracking code provided by the email flow that brings it from shopify.
I hope I am clear and I tried to explain my self very well
Thank you so much guys I hope you can help me.
This is the code I have right now
{% if fulfillment.item_count == item_count %}
{% capture email_title %}Your order is on the way{% endcapture %}
{% capture email_body %}Your order is on the way. Track your shipment to see the delivery status.{% endcapture %}
{% elsif fulfillment.item_count > 1 %}
{% if fulfillment_status == ‘fulfilled’ %}
{% capture email_title %}The last items in your order are on the way{% endcapture %}
{% capture email_body %}The last items in your order are on the way. Track your shipment to see the delivery status.{% endcapture %}
{% else %}
{% capture email_title %}Some items in your order are on the way{% endcapture %}
{% capture email_body %}Some items in your order are on the way. Track your shipment to see the delivery status.{% endcapture %}
{% endif %}
{% else %}
{% if fulfillment_status == ‘fulfilled’ %}
{% capture email_title %}The last item in your order is on the way{% endcapture %}
{% capture email_body %}The last item in your order is on the way. Track your shipment to see the delivery status.{% endcapture %}
{% else %}
{% capture email_title %}One item in your order is on the way{% endcapture %}
{% capture email_body %}One item in your order is on the way. Track your shipment to see the delivery status.{% endcapture %}
{% endif %}
{% endif %}
{% capture email_emphasis %}Estimated delivery date: {{fulfillment.estimated_delivery_at | date: “%B %-d, %Y”}}{% endcapture %}
{{ email_title }} .button__cell { background: {{ shop.email_accent_color }}; } a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
|