From 3a6df70928cb9fa9461a6a5484ef07160bc007c2 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 1 Jun 2021 18:37:48 -0300 Subject: [PATCH] faltantes --- _layouts/default.html | 4 ++ assets/templates/cart.html | 65 ++++++++++++++++++++++++++ assets/templates/payment_methods.html | 41 ++++++++++++++++ assets/templates/recover_order.html | 11 +++++ assets/templates/shipping_methods.html | 36 ++++++++++++++ 5 files changed, 157 insertions(+) create mode 100644 assets/templates/cart.html create mode 100644 assets/templates/payment_methods.html create mode 100644 assets/templates/recover_order.html create mode 100644 assets/templates/shipping_methods.html diff --git a/_layouts/default.html b/_layouts/default.html index 3aec209..69665ef 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -46,6 +46,10 @@ {% feed_meta %} +
+ {%- include_cached notification.html -%} +
+ {%- include_cached menu.html active_cache_key=page.layout %}
diff --git a/assets/templates/cart.html b/assets/templates/cart.html new file mode 100644 index 0000000..8c77090 --- /dev/null +++ b/assets/templates/cart.html @@ -0,0 +1,65 @@ +{% for product in products %} +
+
+
+ {{ product.title }} + +
+

{{ 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 %} diff --git a/assets/templates/payment_methods.html b/assets/templates/payment_methods.html new file mode 100644 index 0000000..d294a7a --- /dev/null +++ b/assets/templates/payment_methods.html @@ -0,0 +1,41 @@ +
+ {% for payment_method in payment_methods %} +
+ + + +
+ {% endfor %} + + +
diff --git a/assets/templates/recover_order.html b/assets/templates/recover_order.html new file mode 100644 index 0000000..819fa22 --- /dev/null +++ b/assets/templates/recover_order.html @@ -0,0 +1,11 @@ + diff --git a/assets/templates/shipping_methods.html b/assets/templates/shipping_methods.html new file mode 100644 index 0000000..d871224 --- /dev/null +++ b/assets/templates/shipping_methods.html @@ -0,0 +1,36 @@ +
+ + +
+ {% for shipping_rate in shipping_rates %} +
+
+ + + +
+
+ {% endfor %} + +
+ +
+
+