From 1e1e3226e84b6e8d7a628855051e0768b7d4e71e Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 30 Jul 2024 09:50:36 +0700 Subject: cr reminder email checkout --- indoteknik_custom/views/website_user_cart.xml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/website_user_cart.xml b/indoteknik_custom/views/website_user_cart.xml index 97e8cf02..7303a221 100755 --- a/indoteknik_custom/views/website_user_cart.xml +++ b/indoteknik_custom/views/website_user_cart.xml @@ -136,6 +136,7 @@ % set product_price = cart.get_price_website(cart.product_id.id) % set product_template_id = cart.product_id.product_tmpl_id.id % set subtotal = product_price['price'] * cart.qty + % set flashsale = cart.check_product_flashsale(cart.product_id.id) % if cart.program_line_id: % set promo, free_product = cart.get_data_promo(cart.program_line_id.id) @@ -212,6 +213,36 @@ No promotion available for this product. % endif + + % elif flashsale['is_flashsale'] == True: + +
+
+
+ ${cart.product_id.name} +
+
+
${cart.product_id.name}
+
+
+ Rp ${cart.format_currency(product_price['price'])} +
+
+ Rp ${cart.format_currency(flashsale['price'])} +
+
+
+ ${cart.product_id.default_code} | Berat barang: ${cart.product_id.weight} Kg +
+
+
+ +
+
+
+ % else:
-- cgit v1.2.3