From cc1dd2510a383d235c6c6b047e313b10ace077e7 Mon Sep 17 00:00:00 2001 From: Sarah Lorenzini Date: Tue, 22 Oct 2013 16:23:05 +0200 Subject: [PATCH] // mail template src --- mails/en/src/account.php | 45 +++++++++ mails/en/src/backoffice_order.php | 23 +++++ mails/en/src/bankwire.php | 51 ++++++++++ mails/en/src/cheque.php | 52 +++++++++++ mails/en/src/contact.php | 26 ++++++ mails/en/src/contact_form.php | 32 +++++++ mails/en/src/credit_slip.php | 28 ++++++ mails/en/src/download_product.php | 35 +++++++ mails/en/src/employee_password.php | 27 ++++++ mails/en/src/footer.php | 15 +++ mails/en/src/forward_msg.php | 25 +++++ mails/en/src/guest_to_customer.php | 35 +++++++ mails/en/src/header.php | 29 ++++++ mails/en/src/in_transit.php | 34 +++++++ mails/en/src/log_alert.php | 24 +++++ mails/en/src/newsletter.php | 15 +++ mails/en/src/order_canceled.php | 34 +++++++ mails/en/src/order_changed.php | 34 +++++++ mails/en/src/order_conf.php | 119 ++++++++++++++++++++++++ mails/en/src/order_customer_comment.php | 25 +++++ mails/en/src/order_merchant_comment.php | 25 +++++ mails/en/src/order_return_state.php | 29 ++++++ mails/en/src/outofstock.php | 34 +++++++ mails/en/src/password.php | 34 +++++++ mails/en/src/password_query.php | 25 +++++ mails/en/src/payment.php | 35 +++++++ mails/en/src/payment_error.php | 34 +++++++ mails/en/src/preparation.php | 33 +++++++ 28 files changed, 957 insertions(+) create mode 100644 mails/en/src/account.php create mode 100644 mails/en/src/backoffice_order.php create mode 100644 mails/en/src/bankwire.php create mode 100644 mails/en/src/cheque.php create mode 100644 mails/en/src/contact.php create mode 100644 mails/en/src/contact_form.php create mode 100644 mails/en/src/credit_slip.php create mode 100644 mails/en/src/download_product.php create mode 100644 mails/en/src/employee_password.php create mode 100644 mails/en/src/footer.php create mode 100644 mails/en/src/forward_msg.php create mode 100644 mails/en/src/guest_to_customer.php create mode 100644 mails/en/src/header.php create mode 100644 mails/en/src/in_transit.php create mode 100644 mails/en/src/log_alert.php create mode 100644 mails/en/src/newsletter.php create mode 100644 mails/en/src/order_canceled.php create mode 100644 mails/en/src/order_changed.php create mode 100644 mails/en/src/order_conf.php create mode 100644 mails/en/src/order_customer_comment.php create mode 100644 mails/en/src/order_merchant_comment.php create mode 100644 mails/en/src/order_return_state.php create mode 100644 mails/en/src/outofstock.php create mode 100644 mails/en/src/password.php create mode 100644 mails/en/src/password_query.php create mode 100644 mails/en/src/payment.php create mode 100644 mails/en/src/payment_error.php create mode 100644 mails/en/src/preparation.php diff --git a/mails/en/src/account.php b/mails/en/src/account.php new file mode 100644 index 000000000..3117492a0 --- /dev/null +++ b/mails/en/src/account.php @@ -0,0 +1,45 @@ + + + + + Hi {firstname} {lastname},
+ Thank you for creating a customer account at {shop_name}.'); + ?> + + + +   + + + +

+ +

+ +
+ E-mail address: {email}'); ?>
+ Password:
{passwd}'); ?> + + + + +   + + + +

+
    +
  1. +
  2. +
  3. +
  4. +
+ + + + + You can now place orders on our shop: {shop_name}'); ?>. + + + + \ No newline at end of file diff --git a/mails/en/src/backoffice_order.php b/mails/en/src/backoffice_order.php new file mode 100644 index 000000000..29b8c593e --- /dev/null +++ b/mails/en/src/backoffice_order.php @@ -0,0 +1,23 @@ + + + + + Hi {firstname} {lastname},'); ?> + + + +   + + + +

+ +

+ + {order_link} to finalize the payment.'); ?> + + + + + + \ No newline at end of file diff --git a/mails/en/src/bankwire.php b/mails/en/src/bankwire.php new file mode 100644 index 000000000..b59de538f --- /dev/null +++ b/mails/en/src/bankwire.php @@ -0,0 +1,51 @@ + + + + + Hi {firstname} {lastname},
+ Thank you for shopping at {shop_name}!'); + ?> + + + +   + + + +

+ +

+ + shipped as soon as we receive your payment.'); ?> + + + + +   + + + +

+ +

+ +
+ Amount:
{total_paid}'); ?>
+ Account owner: {bankwire_owner}'); ?>
+ Account details: {bankwire_details}'); ?>
+ Bank address: {bankwire_address}'); ?> + + + + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> + + + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> + + + + \ No newline at end of file diff --git a/mails/en/src/cheque.php b/mails/en/src/cheque.php new file mode 100644 index 000000000..6b43b71c2 --- /dev/null +++ b/mails/en/src/cheque.php @@ -0,0 +1,52 @@ + + + + + Hi {firstname} {lastname},
+ Thank you for shopping at {shop_name}!'); + ?> + + + +   + + + +

+ +

+ + shipped as soon as we receive your payment.'); ?> + + + + +   + + + +

+ +

+ +
+ Amount:
{total_paid}'); ?>
+ Payable to the order of: {cheque_name}'); ?>
+ {cheque_address_html}'); ?> + + + + + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> + + + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> + + + + + \ No newline at end of file diff --git a/mails/en/src/contact.php b/mails/en/src/contact.php new file mode 100644 index 000000000..a5f904e76 --- /dev/null +++ b/mails/en/src/contact.php @@ -0,0 +1,26 @@ + + + + + Hi {firstname} {lastname},'); + ?> + + + +   + + + +

+ +

+ + Customer e-mail address: {email}'); ?>

+ Customer message:
{message}'); ?>

+ Order ID: {order_name}'); ?>
+ Attached file: {attached_file}'); ?> + + + + + \ No newline at end of file diff --git a/mails/en/src/contact_form.php b/mails/en/src/contact_form.php new file mode 100644 index 000000000..4d0928076 --- /dev/null +++ b/mails/en/src/contact_form.php @@ -0,0 +1,32 @@ + + + + + Hi {firstname} {lastname},'); + ?> + + + +   + + + +

+ +

+ +

+ Message:
{message}'); ?>

+ Order ID: {order_name}'); ?>
+ Product: {product_name}'); ?>
+ Attached file: {attached_file}'); ?> + + + + + + We will answer as soon as possible.'); ?> + + + + \ No newline at end of file diff --git a/mails/en/src/credit_slip.php b/mails/en/src/credit_slip.php new file mode 100644 index 000000000..cbbb5a401 --- /dev/null +++ b/mails/en/src/credit_slip.php @@ -0,0 +1,28 @@ + + + + + Hi {firstname} {lastname},'); + ?> + + + +   + + + +

+ +

+ + + + + + + + You can review this credit slip and download your invoice from the "My credit slips" section of your account by clicking "My account" on our shop.'); ?> + + + + \ No newline at end of file diff --git a/mails/en/src/download_product.php b/mails/en/src/download_product.php new file mode 100644 index 000000000..d60b50f0c --- /dev/null +++ b/mails/en/src/download_product.php @@ -0,0 +1,35 @@ + + + + + Hi {firstname} {lastname},
+ Thank you for your order from {shop_name}'); + ?> + + + +   + + + +

+ +

+ + {nbProducts} product(s) now available for download using the following link(s):'); ?>

+ +
+ + + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> + + + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> + + + + diff --git a/mails/en/src/employee_password.php b/mails/en/src/employee_password.php new file mode 100644 index 000000000..d6da77e2e --- /dev/null +++ b/mails/en/src/employee_password.php @@ -0,0 +1,27 @@ + + + + + Hi {firstname} {lastname},'); + ?> + + + +   + + + +

+ +

+ +
+ First name:
{firstname}'); ?>
+ Last name: {lastname}'); ?>
+ Password: {passwd}'); ?>
+ E-mail address: {email}'); ?> + + + + + \ No newline at end of file diff --git a/mails/en/src/footer.php b/mails/en/src/footer.php new file mode 100644 index 000000000..6c712228e --- /dev/null +++ b/mails/en/src/footer.php @@ -0,0 +1,15 @@ + +   + + + + {shop_name} powered by PrestaShop™'); ?> + + + + +   + + + + \ No newline at end of file diff --git a/mails/en/src/forward_msg.php b/mails/en/src/forward_msg.php new file mode 100644 index 000000000..e4396f16c --- /dev/null +++ b/mails/en/src/forward_msg.php @@ -0,0 +1,25 @@ + + + + + Hi {firstname} {lastname},'); + ?> + + + +   + + + +

+ +

+ +

+ Discussion history:
{messages}'); ?>

+ {employee} added "{comment}"'); ?> + + + + + diff --git a/mails/en/src/guest_to_customer.php b/mails/en/src/guest_to_customer.php new file mode 100644 index 000000000..affc55333 --- /dev/null +++ b/mails/en/src/guest_to_customer.php @@ -0,0 +1,35 @@ + + + + + Hi {firstname} {lastname},'); + ?> + + + +   + + + +

+ +

+ +

+ E-mail address:
{email}'); ?>

+ Password: {passwd}'); ?> + + + + + + Please be careful when sharing these login details with others.'); ?> + + + + + You can access your customer account on our shop: {shop_url}'); ?> + + + + diff --git a/mails/en/src/header.php b/mails/en/src/header.php new file mode 100644 index 000000000..330bdb844 --- /dev/null +++ b/mails/en/src/header.php @@ -0,0 +1,29 @@ + + + + + + + <?php echo t('Message from {shop_name}'); ?> + + + + + + + +
  + + + + diff --git a/mails/en/src/in_transit.php b/mails/en/src/in_transit.php new file mode 100644 index 000000000..96e93fffd --- /dev/null +++ b/mails/en/src/in_transit.php @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + diff --git a/mails/en/src/log_alert.php b/mails/en/src/log_alert.php new file mode 100644 index 000000000..b71b8c98d --- /dev/null +++ b/mails/en/src/log_alert.php @@ -0,0 +1,24 @@ + + + + + + + + + + + + + diff --git a/mails/en/src/newsletter.php b/mails/en/src/newsletter.php new file mode 100644 index 000000000..869455f4c --- /dev/null +++ b/mails/en/src/newsletter.php @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/mails/en/src/order_canceled.php b/mails/en/src/order_canceled.php new file mode 100644 index 000000000..302cdbf86 --- /dev/null +++ b/mails/en/src/order_canceled.php @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + diff --git a/mails/en/src/order_changed.php b/mails/en/src/order_changed.php new file mode 100644 index 000000000..f25af032c --- /dev/null +++ b/mails/en/src/order_changed.php @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + diff --git a/mails/en/src/order_conf.php b/mails/en/src/order_conf.php new file mode 100644 index 000000000..2b6b997c4 --- /dev/null +++ b/mails/en/src/order_conf.php @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mails/en/src/order_customer_comment.php b/mails/en/src/order_customer_comment.php new file mode 100644 index 000000000..b6a42ffda --- /dev/null +++ b/mails/en/src/order_customer_comment.php @@ -0,0 +1,25 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/mails/en/src/order_merchant_comment.php b/mails/en/src/order_merchant_comment.php new file mode 100644 index 000000000..3d3601b88 --- /dev/null +++ b/mails/en/src/order_merchant_comment.php @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + diff --git a/mails/en/src/order_return_state.php b/mails/en/src/order_return_state.php new file mode 100644 index 000000000..72f9cb8a7 --- /dev/null +++ b/mails/en/src/order_return_state.php @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + diff --git a/mails/en/src/outofstock.php b/mails/en/src/outofstock.php new file mode 100644 index 000000000..6ff545e79 --- /dev/null +++ b/mails/en/src/outofstock.php @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mails/en/src/password.php b/mails/en/src/password.php new file mode 100644 index 000000000..697f4b3fd --- /dev/null +++ b/mails/en/src/password.php @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mails/en/src/password_query.php b/mails/en/src/password_query.php new file mode 100644 index 000000000..c5cff7d69 --- /dev/null +++ b/mails/en/src/password_query.php @@ -0,0 +1,25 @@ + + + + + + + + + + + + + diff --git a/mails/en/src/payment.php b/mails/en/src/payment.php new file mode 100644 index 000000000..ee44b9d8d --- /dev/null +++ b/mails/en/src/payment.php @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/mails/en/src/payment_error.php b/mails/en/src/payment_error.php new file mode 100644 index 000000000..a2af258a7 --- /dev/null +++ b/mails/en/src/payment_error.php @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + diff --git a/mails/en/src/preparation.php b/mails/en/src/preparation.php new file mode 100644 index 000000000..783591a1d --- /dev/null +++ b/mails/en/src/preparation.php @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ +

+ {followup}'); ?> +
+
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ + Warning: you have received a new log alert in your Back Office.'); ?>

+ "Tools" > "Logs" section of your Back Office.'); ?> + +
+ Newsletter from {shop_name}'); + ?> +
+ +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ +
+ "Tools" > "Logs"
section of your Back Office.'); ?> + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ +
+ "Tools" > "Logs"
section of your Back Office.'); ?> + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},
+ Thank you for shopping at {shop_name}!'); + ?> +
 
+

+ +

+ + Order: {order_name} placed on {date}'); ?>

+ Payment: {payment}'); ?> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ReferenceProductUnit priceQuantityTotal price
+ {products} +
+ {discounts} +
Products{total_products}
Discounts{total_discounts}
Gift-wrapping{total_wrapping}
Shipping{total_shipping}
Total Tax paid{total_tax_paid}
Total paid{total_paid}
+
+

+ +

+ + Carrier: {carrier}'); ?>

+ Payment: {payment}'); ?> + +
 
+

+ +

+ + + +
  +

+ +

+ + + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ +

+ Customer:
{firstname} {lastname} ({email})'); ?>

+ + +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ +

+ Message:
{message}'); ?> + +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ + "{state_order_return}"'); ?>

+ Message:
{message}'); ?> + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ Hi {firstname} {lastname},
+ Thanks for your order with the reference {order_name} from {shop_name}.'); + ?> +
 
+

+ +

+ + + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ + E-mail address: {email}'); ?>
+ Password: {passwd}'); ?> + +
+ Please be careful when sharing these login details with others.'); ?> +
+ You can now order on our shop: {shop_url}'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ +

+

+ {url}'); ?> +
+
+ Hi {firstname} {lastname},
+ Thank you for shopping with {shop_name}!'); + ?> +
 
+

+ +

+ + {order_name} was successfully processed.'); ?> + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ + {shop_name} order with the reference {order_name}. Please contact us at your earliest convenience.'); ?>
+ We cannot ship your order until we receive your payment. '); ?> +
+
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +
+ Hi {firstname} {lastname},'); + ?> +
 
+

+ +

+ + {shop_name} order with the reference {order_name}.'); ?> + +
+ You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop.'); ?> +
+ If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop.'); ?> +