From e86f14983b2908efc516d4717f3637e424771986 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 28 Oct 2021 10:00:13 -0300 Subject: [PATCH] =?UTF-8?q?renderizar=20la=20confirmaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _layouts/confirmation.html | 8 +++- assets/templates/confirmation.html | 67 ++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 assets/templates/confirmation.html diff --git a/_layouts/confirmation.html b/_layouts/confirmation.html index 265be89..5857fe8 100644 --- a/_layouts/confirmation.html +++ b/_layouts/confirmation.html @@ -2,7 +2,11 @@ layout: default --- -
+
+

{{ page.title }}

@@ -11,6 +15,8 @@ layout: default {{ content }} +
+

{{ page.back }} diff --git a/assets/templates/confirmation.html b/assets/templates/confirmation.html new file mode 100644 index 0000000..605b1ef --- /dev/null +++ b/assets/templates/confirmation.html @@ -0,0 +1,67 @@ +{%- raw -%} +
+
+
{{ site.confirmation.number }}
+
{{ order.number }}
+ +
{{ site.confirmation.delivery }}
+
{{ shipping_address.address1 }}, {{ shipping_address.city }} ({{ shipping_address.zipcode }})
+ +
{{ site.confirmation.email }}
+
{{ order.email }}
+
+
+ +
+

{{ site.confirmation.your_order }}

+
+
+

{{ site.cart.product }}

+
+ +
+

{{ site.cart.price }}

+
+ +
+

{{ site.cart.subtotal }}

+
+ + {% for product in products %} +
+

{{ site.cart.product }}

+

{{ product.title }}

+

{{ product.extra | join: ',' }}

+
+ +
+

{{ site.cart.price }}

+

+ {{ product.line_item.attributes.price }} + {{ product.line_item.attributes.currency }} +

+
+ +
+

{{ site.cart.subtotal }}

+

+ {{ product.line_item.attributes.discounted_amount }} + {{ product.line_item.attributes.currency }} +

+
+ {% endfor %} + +
+

+ {{ site.cart.subtotal }} +

+
+ +
+

+ {{ order.total }} +

+
+
+
+{%- endraw -%}