Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stoll/889097ace67ae4633370 to your computer and use it in GitHub Desktop.
Save stoll/889097ace67ae4633370 to your computer and use it in GitHub Desktop.
Shopify: Order Confirmation in HTML (Danish)
<!-- TRANSLATED BY: Sebastian Stoll from www.justonline.dk -->
<p>Tak for din bestilling hos {{ shop_name }}!</p>
<p>Denne e-mail er en ordrebekræftelse, som indikerer at vi har modtaget din ordre.</p>
<p>Dato: {{ date | date: "%m/%d/%Y" }}</p>
{% if requires_shipping and shipping_address %}
<p><b>Leveringsadresse:</b><br />
{{ shipping_address.name }}<br />
{{ shipping_address.street }}<br />
{{ shipping_address.city }}<br />
{{ shipping_address.province }}
{{ shipping_address.zip }}<br />
{{ shipping_address.country }}</p>
{% endif %}
{% if billing_address %}
<p><b>Faktureringsadresse:</b><br />
{{ billing_address.name }}<br />
{{ billing_address.street }}<br />
{{ billing_address.city }}<br />
{{ billing_address.province }}
{{ billing_address.zip }}<br />
{{ billing_address.country }}</p>
{% endif %}
<ul style="list-style-type:none"> {% for line in line_items %} <li> <img src="{{ line | img_url: 'small' }}" /> {{ line.quantity }}x {{ line.title }} - {{ line.price | money }} pr. stk. </li> {% endfor %}
</ul>
{% if discounts %}
<p>Rabat: {{ discounts_savings | money_with_currency }}</p> {% endif %}
<p>Subtotal: {{ subtotal_price | money_with_currency }}</p>
{% for tax_line in tax_lines %} <p>{{ tax_line.title }}: {{ tax_line.price | money_with_currency }} </p>
{% endfor %} {% if requires_shipping %}
<p>Leveringspris: {{ shipping_price | money_with_currency }}</p>
{% endif %} <p>I alt at betale: {{ total_price | money_with_currency }}</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment