From 6c70a430e8c105a7e6065d9aee4d0f9b28586570 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 15 Mar 2021 11:21:01 +0000 Subject: [PATCH] improvements on new templates --- back_latienda/settings/production.py | 2 +- .../purchase_contact_confirmation_v2.html | 0 templates/purchase_notification_v1.html | 176 ------------------ templates/purchase_notification_v2.html | 25 ++- 4 files changed, 17 insertions(+), 186 deletions(-) create mode 100644 templates/purchase_contact_confirmation_v2.html delete mode 100755 templates/purchase_notification_v1.html diff --git a/back_latienda/settings/production.py b/back_latienda/settings/production.py index f506476..eafc231 100644 --- a/back_latienda/settings/production.py +++ b/back_latienda/settings/production.py @@ -41,7 +41,7 @@ DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage' EMAIL_BACKEND = "anymail.backends.amazon_ses.EmailBackend" # DEFAULT_FROM_EMAIL = "no-reply@latienda.com" -DEFAULT_FROM_EMAIL = "samuel.molina@enreda.coop" +DEFAULT_FROM_EMAIL = "info@latienda.coop" SERVER_EMAIL = "mail-server@latienda.com" diff --git a/templates/purchase_contact_confirmation_v2.html b/templates/purchase_contact_confirmation_v2.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/purchase_notification_v1.html b/templates/purchase_notification_v1.html deleted file mode 100755 index 6dfee51..0000000 --- a/templates/purchase_notification_v1.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - - - - - - Interés en copra de producto - - - -
-
- - - -

- Interés en compra - de producto -

-
-
-
- - - - Enlace al producto - Nombre del producto: {{product.name}} - {{product.sku}} - {{product.price}} -
-
-

Datos cliente

-
-
Nombre:
-
{{user.full_name}}
-
Email:
-
{{user.email}}
-
Teléfono:
-
{{telephone}}
-
Comentarios:
-
{{comment}}
-
-
-
-
-
- 2021 La Tienda.Coop -
-
- - - diff --git a/templates/purchase_notification_v2.html b/templates/purchase_notification_v2.html index 69ff976..668ce6e 100755 --- a/templates/purchase_notification_v2.html +++ b/templates/purchase_notification_v2.html @@ -500,7 +500,7 @@ " > Ref8304{{product.name}} +
+ {{product.sku}}
30€{{product.price}}€
@@ -680,7 +689,7 @@ " >Nombre: - María + {{user.full_name}} @@ -712,7 +721,7 @@ " >Email: - maria@maria.com + {{user.email}} @@ -744,7 +753,7 @@ " >Teléfono: - 666666666 + {{telephone}} @@ -775,9 +784,7 @@ font-weight: bold; " >Comentarios: vivo en un cuarto sin - ascensor, bajo hasta el - tercero como mucho + >{{comment}}