diff --git a/templates/frontOffice/default/assets/img/email/header.jpg b/templates/frontOffice/default/assets/img/email/header.jpg new file mode 100644 index 000000000..c80e16529 Binary files /dev/null and b/templates/frontOffice/default/assets/img/email/header.jpg differ diff --git a/templates/frontOffice/default/assets/img/email/logo.gif b/templates/frontOffice/default/assets/img/email/logo.gif new file mode 100644 index 000000000..cfa396641 Binary files /dev/null and b/templates/frontOffice/default/assets/img/email/logo.gif differ diff --git a/templates/frontOffice/default/email/order.html b/templates/frontOffice/default/email/order.html new file mode 100644 index 000000000..420186513 --- /dev/null +++ b/templates/frontOffice/default/email/order.html @@ -0,0 +1,123 @@ +{extends file="email/template.tpl"} + +{* Open in browser *} +{block name="email-browsers"}{/block} + +{* Subject *} +{block name="email-subject"}Your order confirmation NÂș __ORDER_REF__{/block} + +{* Title *} +{block name="email-title"}Thank you for your order!{/block} + +{* Content *} +{block name="email-content"} + + {assign var="orderId" value="1"} + + {loop name="order.invoice" type="order" id=$orderId customer="*"} + {loop name="currency.order" type="currency" id=$CURRENCY} + {assign "orderCurrencySymbol" $SYMBOL} + {assign var="orderCurrencyIsoCode" value=$ISOCODE} + {/loop} + {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"} + {assign var="customerRef" value=$REF} + {/loop} + + Here are the details of your purchase:

+ + + + + + +
+ Delivery address:
+ {loop type="order_address" name="delivery_address" id=$DELIVERY_ADDRESS} + {$FIRSTNAME} {$LASTNAME}
+ {$ADDRESS1}
+ {if $ADDRESS2 != ""}{$ADDRESS2}
{/if} + {if $ADDRESS3 != ""}{$ADDRESS3}
{/if} + {$CITY}
+ {$ZIPCODE}, {loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
+ {/loop} +
+ Billing address:
+ {loop type="order_address" name="invoice_address" id=$INVOICE_ADDRESS} + {$FIRSTNAME} {$LASTNAME}
+ {$ADDRESS1}
+ {if $ADDRESS2 != ""}{$ADDRESS2}
{/if} + {if $ADDRESS3 != ""}{$ADDRESS3}
{/if} + {$CITY}
+ {$ZIPCODE}, {loop type="country" name="country_delivery" id=$COUNTRY}{$TITLE}{/loop}
+ {/loop} +
+ +
+ +

+ Order Total: {$TOTAL_TAXED_AMOUNT} {$orderCurrencySymbol} {$orderCurrencyIsoCode}
+ Order Number: {$REF}
+ Paid With: {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
+ Purchase Date: {format_date date=$CREATE_DATE output="date"}
+ Delivery method: {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
+

+ + + + + + + {loop type="order_product" name="order-products" order=$ID} + {if $WAS_IN_PROMO == 1} + {assign "realPrice" $PROMO_PRICE} + {assign "realTax" $PROMO_PRICE_TAX} + {assign "realTaxedPrice" $TAXED_PROMO_PRICE} + {else} + {assign "realPrice" $PRICE} + {assign "realTax" $PRICE_TAX} + {assign "realTaxedPrice" $TAXED_PRICE} + {/if} + + + + + {/loop} + + + + + + + + + + + + +
What You PurchasedPrice in {$orderCurrencyIsoCode}
+ {$TITLE} ({$REF}) + {ifloop rel="combinations"}
+ {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} + * {$ATTRIBUTE_TITLE}: {$ATTRIBUTE_AVAILABILITY_TITLE} + {/loop} + {/ifloop} +
+ {$QUANTITY} x {$realTaxedPrice} {$orderCurrencySymbol} +
Total{$TOTAL_TAXED_AMOUNT - $POSTAGE} {$orderCurrencySymbol}
Shipping:{$POSTAGE} {$orderCurrencySymbol}
Order Total{$TOTAL_TAXED_AMOUNT} {$orderCurrencySymbol}
+ {/loop} + +
+ +

Support

+ For any questions, or concerns, feel free to contact support@yourdomain.com.

+ Our contact us at:
+ Thelia V2
+ Street name of my business
+ City
+ 75000, France + +
+
+ Thanks,
+ The Thelia V2 team +{/block} diff --git a/templates/frontOffice/default/email/password-reset.html b/templates/frontOffice/default/email/password-reset.html new file mode 100644 index 000000000..0ff8c1553 --- /dev/null +++ b/templates/frontOffice/default/email/password-reset.html @@ -0,0 +1,21 @@ +{extends file="email/template.tpl"} + +{* Open in browser *} +{block name="email-browsers"}{/block} + +{* Subject *} +{block name="email-subject"}Thelia V2 password reset confirmation{/block} + +{* Title *} +{block name="email-title"}Password Reset{/block} + +{* Content *} +{block name="email-content"} + Hi there,

+ There was recently a request to change the password on your account.

+ If you requested this password change, please set a new password by following the link below:

+ __SITE__/forgot?forgot_key=5e20f225cedd08a3

+ If you don't want to change your password, just ignore this message.

+ Thanks,
+ - The Thelia V2 Team +{/block} diff --git a/templates/frontOffice/default/email/password.html b/templates/frontOffice/default/email/password.html new file mode 100644 index 000000000..ef58e0873 --- /dev/null +++ b/templates/frontOffice/default/email/password.html @@ -0,0 +1,21 @@ +{extends file="email/template.tpl"} + +{* Open in browser *} +{block name="email-browsers"}{/block} + +{* Subject *} +{block name="email-subject"}Your password for Thelia V2{/block} + +{* Title *} +{block name="email-title"}Password{/block} + +{* Content *} +{block name="email-content"} + Hi there,

+ You have requested a new password for your Thelia V2 account.

+ Your new password is:
+ __PASSWORD__

+ You can change your password in your user account by opening the "Change my password" link under your personal information.

+ Kind regards,
+ - The Thelia V2 Team +{/block} diff --git a/templates/frontOffice/default/email/register.html b/templates/frontOffice/default/email/register.html new file mode 100644 index 000000000..41b03418c --- /dev/null +++ b/templates/frontOffice/default/email/register.html @@ -0,0 +1,42 @@ +{extends file="email/template.tpl"} + +{* Open in browser *} +{block name="email-browsers"}{/block} + +{* Subject *} +{block name="email-subject"}Welcome to Thelia V2{/block} + +{* Title *} +{block name="email-title"}Welcome to Thelia V2{/block} + +{* Content *} +{block name="email-content"} + {assign var="customerId" value="1"} + + +

Congratulations! You have successfully created an account on Thelia v2 demo site. Keep this email as a reference of your account details, and helpful links.

+ +
+ +

Accessing Your Account:

+ Login at: {url path="/login"}
+ {loop type="customer" name="customer.info" id=$customerId} + Username: {$EMAIL}
+ Password: __MOTDEPASSE__
+ {/loop} +
+
+ +

Support

+ For any questions, or concerns, feel free to contact support@yourdomain.com.
+ +
+ Learn more about Thelia V2.
+ Our site: http://thelia.net/v2
+ Twitter: http://twitter.com/theliaecommerce
+ Facebook: http://www.facebook.com/theliaecommerce +
+
+ Thanks,
+ - The Thelia V2 Team +{/block} diff --git a/templates/frontOffice/default/email/template.tpl b/templates/frontOffice/default/email/template.tpl new file mode 100644 index 000000000..53eea9b00 --- /dev/null +++ b/templates/frontOffice/default/email/template.tpl @@ -0,0 +1,485 @@ +{assign var="url_site" value="{config key="url_site"}"} +{assign var="company_name" value="{config key="company_name"}"} +{if not $company_name} + {assign var="company_name" value="{intl l='Thelia V2'}"} +{/if} + + + + + +{block name="email-subject"}{/block} + + + +
+ + + + +
+ + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+ {block name="email-intro"}{intl l="Welcome to Thelia. This is a demo site built with Thelia V2 an E-Commerce solution based on Symfony 2."}{/block} + + {block name="browser"}{intl l="Email not displaying correctly?"}
{intl l="View it in your browser"}.{/block} +
+
+
+ + + + +
+ + + + +
+ {images file='../assets/img/email/logo.gif'}{$company_name}{/images} +
+
+
+ + + + +
+ + + + + + + +
+ + + + +
+ {block name="email-title"}{/block} +
+
+ + + + + + + + {* button + + + *} +
+ {images file='../assets/img/email/header.jpg'}{/images} +
+ {block name="email-content"}{/block} +
+ + + + +
+ Link Button +
+
+
+
+
+ + + + +
+ + + + + + + + {* Unsubscribe + + + *} +
+ Follow on Twitter   Friend on Facebook  +
+ {intl l="Our mailing address is:"} +
+ Street name of my business 75000 City, France +
+
+ {intl l="Copyright"} © {'Y'|date} {$company_name}, {intl l="All rights reserved."} +
+ unsubscribe from this list   update subscription preferences  +
+
+ *|IF:REWARDS|* *|HTML:REWARDS|* *|END:IF|* +
+
+
+
+
+ + \ No newline at end of file