I would like to make changes to the Shopify email template. This is the code:
Show More
</table><table>
</table><table>
</table>
| <br><br>{%- if shop.email_logo_url %} {%- else %}# {{ shop.name }}{%- endif %}<br><br> | <br><br>Order {{ order_name }} <br><br> |
| - | - |
<table>
</table>
## {{ email_title }}
{{ email_body }}
{% if fulfillment.estimated_delivery_at %}
{{ email_emphasis }}
{% endif %} {% if order_status_url %}<table>
</table>
| <br><br> |
| - |
| <br><br>View your order<br><br> |
| - |
{% if shop.url %}
| <br><br>or Visit our store<br><br> |
| - |
{% endif %}{% else %} {% if shop.url %}<table>
</table>
| <br><br>Visit our store<br><br> |
| - |
{% endif %} {% endif %} {% if fulfillment.tracking_numbers.size > 0 %}
{% if fulfillment.tracking_numbers.size == 1 and fulfillment.tracking_company and fulfillment.tracking_url %} {{ fulfillment.tracking_company }} tracking number: {{ fulfillment.tracking_numbers.first }} {% elsif fulfillment.tracking_numbers.size == 1 %} Tracking number: {{ fulfillment.tracking_numbers.first }} {% else %} Tracking numbers:
{% for tracking_number in fulfillment.tracking_numbers %} {{ tracking_number }}
{% endfor %} {% endif %}
{% endif %}<table>
</table>
| <br><br>### Items in this shipment<br><br> |
| - |
{% for line in fulfillment.fulfillment_line_items %} {% endfor %}<table>
</table><table>
</table>
| <br><br>{% if line.line_item.image %} {% endif %}<br><br> | <br><br>{% if line.line_item.product.title %} {% assign line_title = line.line_item.product.title %} {% else %} {% assign line_title = line.line_item.title %} {% endif %} {% if line.quantity < line.line_item.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.line_item.quantity }} {% endcapture %} {% else %} {% assign line_display = line.line_item.quantity %} {% endif %} {{ line_title }} × {{ line_display }}<br>{% if line.line_item.variant.title != 'Default Title' %} {{ line.line_item.variant.title }}<br>{% endif %} {% if line.line_item.selling_plan_allocation %} {{ line.line_item.selling_plan_allocation.selling_plan.name }}<br>{% endif %} {% if line.line_item.refunded_quantity > 0 %} Refunded {% endif %} {% if line.line_item.discount_allocations %} {% for discount_allocation in line.line_item.discount_allocations %} {% if discount_allocation.discount_application.target_selection != 'all' %} {{ discount_allocation.discount_application.title | upcase }} (-{{ discount_allocation.amount | money }}) {% endif %} {% endfor %} {% endif %}<br><br> |
| - | - |
<table>
</table>
| <br><br>If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})<br><br> |
| - |
I would like to change “USPS Tracking Number:” to “Track your order here:” and I would like to add this link to the tracking number: https://thephonemount.us/apps/trackingmore
I would like to change “USPS Tracking Number:” to “Track your order here:” and I would like to add this link to the tracking number: https://thephonemount.us/apps/trackingmore
Make sure you backup the file before you start. Replace the old code with the new code below:
Show More
</table><table>
</table><table>
</table>
| <br><br>{%- if shop.email_logo_url %} {%- else %}# {{ shop.name }}{%- endif %}<br><br> | <br><br>Order {{ order_name }} <br><br> |
| - | - |
<table>
</table>
## {{ email_title }}
{{ email_body }}
{% if fulfillment.estimated_delivery_at %}
{{ email_emphasis }}
{% endif %} {% if order_status_url %}<table>
</table>
| <br><br> |
| - |
| <br><br>View your order<br><br> |
| - |
{% if shop.url %}
| <br><br>or Visit our store<br><br> |
| - |
{% endif %}{% else %} {% if shop.url %}<table>
</table>
| <br><br>Visit our store<br><br> |
| - |
{% endif %} {% endif %}
[Track your order here](https://thephonemount.us/apps/trackingmore)
{% comment %} USPS Tracking section commented here {% if fulfillment.tracking_numbers.size > 0 %}
{% if fulfillment.tracking_numbers.size == 1 and fulfillment.tracking_company and fulfillment.tracking_url %} {{ fulfillment.tracking_company }} tracking number: {{ fulfillment.tracking_numbers.first }} {% elsif fulfillment.tracking_numbers.size == 1 %} Tracking number: {{ fulfillment.tracking_numbers.first }} {% else %} Tracking numbers:
{% for tracking_number in fulfillment.tracking_numbers %} {{ tracking_number }}
{% endfor %} {% endif %}
{% endif %} {% endcomment %}<table>
</table>
| <br><br>### Items in this shipment<br><br> |
| - |
{% for line in fulfillment.fulfillment_line_items %} {% endfor %}<table>
</table><table>
</table>
| <br><br>{% if line.line_item.image %} {% endif %}<br><br> | <br><br>{% if line.line_item.product.title %} {% assign line_title = line.line_item.product.title %} {% else %} {% assign line_title = line.line_item.title %} {% endif %} {% if line.quantity < line.line_item.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.line_item.quantity }} {% endcapture %} {% else %} {% assign line_display = line.line_item.quantity %} {% endif %} {{ line_title }} × {{ line_display }}<br>{% if line.line_item.variant.title != 'Default Title' %} {{ line.line_item.variant.title }}<br>{% endif %} {% if line.line_item.selling_plan_allocation %} {{ line.line_item.selling_plan_allocation.selling_plan.name }}<br>{% endif %} {% if line.line_item.refunded_quantity > 0 %} Refunded {% endif %} {% if line.line_item.discount_allocations %} {% for discount_allocation in line.line_item.discount_allocations %} {% if discount_allocation.discount_application.target_selection != 'all' %} {{ discount_allocation.discount_application.title | upcase }} (-{{ discount_allocation.amount | money }}) {% endif %} {% endfor %} {% endif %}<br><br> |
| - | - |
<table>
</table>
| <br><br>If you have any questions, reply to this email or contact us at [{{ shop.email }}](mailto:{{ shop.email }})<br><br> |
| - |