Hello,
I would like to add the TAG of a product to this email that is send to myself after an order has been made. Can someone help me? Thanks in advance.
{%- capture email_title %}
Veiligheidscontrole
{% endcapture -%}
| |
| - |
<table>
{% if fulfillment_aborted %}
<table>
<tr>
<td>
</td>
<td>
**Bestelling is niet automatisch afgehandeld**
Hoog risico op fraude gedetecteerd. Voordat je deze bestelling of betaling uitvoert, moet je de risicoanalyse bekijken en bepalen of deze bestelling frauduleus is.
</td>
</tr>
</table>
{% endif %}
{% if has_high_risks? %}
<table>
<tr>
<td>
</td>
<td>
**Hoog risico op fraude gedetecteerd**
Voordat je deze bestelling of betaling uitvoert, moet je de risicoanalyse bekijken en bepalen of deze bestelling frauduleus is.
</td>
</tr>
</table>
{% endif %}
<table>
<table>
<table>
<table>
<table>
{% assign current_date = date | date: "%b %d" %}
{% assign current_time = date | date: "%l:%M %P" %}
{% if customer.name %}
{{ customer.name }} plaatste bestelling {{ name }} op {{ current_date }} om {{ current_time | strip }}.
{% else %}
Iemand heeft bestelling {{ name }} geplaatst op {{ current_date }} om {{ current_time | strip }}.
{% endif %}
<table>
<tr>
<td>
</td>
</tr>
<table>
<tr>
<td>
[Bestelling weergeven](https://{{ shop.permanent_domain }}/admin/orders/{{ id }})
</td>
</tr>
</table>
</table>
</table>
</table>
</table>
<table>
<table>
**Besteloverzicht**
{% for line in subtotal_line_items %}
{% endfor %}
<table>
<table>
<td>
{% if line.image %}
{% endif %}
</td>
{% if line.quantity < line.quantity %}
{% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %}
{% else %}
{% assign line_display = line.quantity %}
{% endif %}
{% if line.product.title == blank %}
{{ line.title }}
{% else %}
{{ line.product.title }}
{% endif %}
{% if line.quantity %}
{% if line.original_line_price != line.final_line_price %}
<del>{{ line.original_price | money }}</del>
{% endif %}
{{ line.final_price | money }} × {{ line.quantity }}
{% endif %}
{% if line.variant.title != 'Default Title' %}
{{ line.variant.title }}
{% if line.sku != blank %}
•
{% endif %}
{% endif %}
{% if line.sku != blank %}
SKU: {{ line.sku }}
{% endif %}
{% if line.selling_plan_allocation != nil %}
{{ line.selling_plan_allocation.selling_plan.name }}
{% endif %}
{% if line.final_line_price > 0 %}
{{ line.final_line_price | money }}
{% else %}
Gratis
{% endif %}
</table>
</table>
<table>
{% assign discount_value = 0 %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' %}
{% assign discount_value = discount_application.total_allocated_amount %}
{% endif %}
{% endfor %}
{% for discount_application in discount_applications %}
{% if discount_application.target_selection == 'all' %}
{% capture discount_title %}
{% if discount_application.title %}
{{ discount_application.title | upcase }}
{% else %}
Korting
{% endif %}
{% endcapture %}
{% endif %}
{% endfor %}
{% if delivery_method == 'pick-up' %}
{% else %}
{% endif %}
{% for tax_line in tax_lines %}
{% endfor %}
<table>
<tr>
<td>
{% if titleBold %}
**Subtotaal**
{% else %}
Subtotaal
{% endif %}
</td>
<td>
{% if valueBold %}
**{{ subtotal_price | plus: discount_value | money }}**
{% else %}
{{ subtotal_price | plus: discount_value | money }}
{% endif %}
</td>
</tr>
<tr>
<td>
{% if titleBold %}
**Korting**
{% else %}
Korting
{% endif %}
{% if discount_title.size > 0 %}({{ discount_title | strip }}){% endif %}
</td>
<td>
{% if valueBold %}
**-{{ discount_application.total_allocated_amount | money }}**
{% else %}
-{{ discount_application.total_allocated_amount | money }}
{% endif %}
</td>
</tr>
<tr>
<td>
{% if titleBold %}
**Ophalen**
{% else %}
Ophalen
{% endif %}
</td>
<td>
{% if valueBold %}
**{{ shipping_price | money }}**
{% else %}
{{ shipping_price | money }}
{% endif %}
</td>
</tr>
<tr>
<td>
{% if titleBold %}
**Verzending**
{% else %}
Verzending
{% endif %}
{% if shipping_method.title.size > 0 %}({{ shipping_method.title }}){% endif %}
</td>
<td>
{% if valueBold %}
**{{ shipping_price | money }}**
{% else %}
{{ shipping_price | money }}
{% endif %}
</td>
</tr>
<tr>
<td>
{% if titleBold %}
**Belasting**
{% else %}
Belasting
{% endif %}
{% if tax_line.title.size > 0 %}({{ tax_line.title }} {{ tax_line.rate | times: 100 }}%){% endif %}
</td>
<td>
{% if valueBold %}
**{{ tax_line.price | money }}**
{% else %}
{{ tax_line.price | money }}
{% endif %}
</td>
</tr>
</table>
<table>
<tr>
<td>
{% if titleBold %}
**Totaal**
{% else %}
Totaal
{% endif %}
</td>
<td>
{% if valueBold %}
**{{ total_price | money_with_currency }}**
{% else %}
{{ total_price | money_with_currency }}
{% endif %}
</td>
</tr>
</table>
</table>
</table>
</table>
<table>
<table>
{% if gateway %}
<table>
<tr>
<td>
**Betalingsverwerkingsmethode**
{{ gateway }}
</td>
</tr>
</table>
{% endif %}
{% if requires_shipping and shipping_address %}
{% if shipping_methods.first %}
<table>
<tr>
<td>
**Bezorgmethode**
{% for shipping_method in shipping_methods %}
{{ shipping_method.title }}
{% endfor %}
</td>
</tr>
</table>
{% endif %}
{% if po_number %}
{% endif %}
<table>
<tr>
<td>
**Bezorgadres**
{{ shipping_address.name }}
{{ shipping_address.street }}
{{ shipping_address.city }},
{{ shipping_address.province }}
{{ shipping_address.zip }}
{{ shipping_address.country }}
{{ shipping_address.phone }}
</td>
</tr>
<tr>
<td>
**Bestelnummer**
#{{ po_number }}
</td>
</tr>
</table>
{% endif %}
</table>
</table>
</table>
</table>
</table>