diff --git a/products/views.py b/products/views.py index 03a750d..c53d1b8 100644 --- a/products/views.py +++ b/products/views.py @@ -306,7 +306,7 @@ def purchase_email(request): email.send() logging.info(f"Email sent to {company}") # send confirmation email to user - user_message = render_to_string('purchase_contact_confirmation.html', { + user_message = render_to_string('purchase_contact_confirmation_v2.html', { 'company': company, 'product': product, 'company_message': company_message, diff --git a/templates/purchase_contact_confirmation_v2.html b/templates/purchase_contact_confirmation_v2.html index e69de29..fff1cf7 100644 --- a/templates/purchase_contact_confirmation_v2.html +++ b/templates/purchase_contact_confirmation_v2.html @@ -0,0 +1,1043 @@ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ + + + +
+ + + + + + +
+ + + +
+
+
+ +
+
+ +
+ + + + + + +
+ +
+ + + + +
+
+ Confirmación de solicitud + enviada +
+
+
+ +
+
+ +
+ + + + + + +
+ +
+ + + + + + + + + + +
+ + + + + + +
+ + + +
+
+
+ Enlace al + producto +
+ Nombre del + producto +
+ {{product.name}} +
+ {{product.sku}} +
+ {{product.price}}€ +
+
+
+

+ ¡Hola! Tu solicitud de + compra de este producto ha + sido comunicado a la + cooperativa. Pronto tendrás + noticias suyas. Para + cualquier duda o asistencia, + ponte en contacto con + {{company.short_name}}. +

+
+
+ +
+
+ +
+ + + + + + +
+ +
+ + + + + + + + + + + + + +
+
+ Datos cooperativa +
+
+
+ Nombre: + + {{company.company_name}} +
+
+
+ Email: + + {{company.email}} +
+
+ + logo cooperativa + +
+
+ +
+
+ +
+ + + + + + +
+ +
+
+ +
+ + + + + + +
+ +
+ + + + + + + +
+

+ +
+
+ 2021 La Tienda.coop +
+
+
+ +
+
+ +
+ + +