From d7122af70e86a7eeba9a05f26b58cc54c45187f3 Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Tue, 16 Jan 2024 23:09:04 +0100 Subject: [PATCH] ciao corretto --- emails/ecommerce/makeorder/it/html.pug | 8 ++++++-- emails/ecommerce/order_canceled/it/html.pug | 7 ++++++- emails/ecommerce/order_confirmed/it/html.pug | 9 ++++++--- emails/ecommerce/order_consegnato/it/html.pug | 7 +++++-- 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/emails/ecommerce/makeorder/it/html.pug b/emails/ecommerce/makeorder/it/html.pug index 03338e1..a987881 100755 --- a/emails/ecommerce/makeorder/it/html.pug +++ b/emails/ecommerce/makeorder/it/html.pug @@ -35,9 +35,13 @@ html - var mioheader = mystorehouse.email_html_header if (mioheader) p!= mioheader - else - p Ciao #{username}, + + - var mioname = name + if (!mioname) + - var mioname = user.username + p Ciao #{mioname}, + if (orders.items[0].order.quantitypreordered > 0) - var miomakeorder = mystorehouse.email_html_GAS_makeorder else diff --git a/emails/ecommerce/order_canceled/it/html.pug b/emails/ecommerce/order_canceled/it/html.pug index 82bc743..4fe50dc 100755 --- a/emails/ecommerce/order_canceled/it/html.pug +++ b/emails/ecommerce/order_canceled/it/html.pug @@ -28,7 +28,12 @@ html tr td(class="emailContainer", valign="top") - p Ciao #{name}, + - var mioname = name + if (!mioname) + - var mioname = user.username + + p Ciao #{mioname}, + p L'ordine è stato Cancellato. p Se è stato un errore, procedi a ripetere l'Ordine, ripartendo dalla lista prodotti. p Grazie Mille diff --git a/emails/ecommerce/order_confirmed/it/html.pug b/emails/ecommerce/order_confirmed/it/html.pug index 87e9f95..cb215a4 100755 --- a/emails/ecommerce/order_confirmed/it/html.pug +++ b/emails/ecommerce/order_confirmed/it/html.pug @@ -37,9 +37,12 @@ html - var mioheader = mystorehouse.email_html_header if (mioheader) p!= mioheader - else - p Ciao #{name}, - + + - var mioname = name + if (!mioname) + - var mioname = user.username + + p Ciao #{mioname}, if (orders.items[0].order.quantitypreordered > 0) - var miordconfirmed = mystorehouse.email_html_GAS_order_confirmed diff --git a/emails/ecommerce/order_consegnato/it/html.pug b/emails/ecommerce/order_consegnato/it/html.pug index 1d8f845..84e4928 100755 --- a/emails/ecommerce/order_consegnato/it/html.pug +++ b/emails/ecommerce/order_consegnato/it/html.pug @@ -37,9 +37,12 @@ html - var mioheader = mystorehouse.email_html_header if (mioheader) p!= mioheader - else - p Ciao #{name}, + - var mioname = name + if (!mioname) + - var mioname = user.username + + p Ciao #{mioname}, p L'ordine n. #{ordernumber} è stato Consegnato correttamente 📦 ! p Grazie per averci scelto 🙏🏻 e alla prossima ! p