/local/modules/``` directory and be sure that the name of the module is CadeauBienvenue.
+* Activate it in your thelia administration panel
+
+### Composer
+
+Add it in your main thelia composer.json file
+
+```
+composer require your-vendor/cadeau-bienvenue-module:~1.0
+```
+
+## Usage
+
+Explain here how to use your module, how to configure it, etc.
+
+## Hook
+
+If your module use one or more hook, fill this part. Explain which hooks are used.
+
+
+## Loop
+
+If your module declare one or more loop, describe them here like this :
+
+[loop name]
+
+### Input arguments
+
+|Argument |Description |
+|--- |--- |
+|**arg1** | describe arg1 with an exemple. |
+|**arg2** | describe arg2 with an exemple. |
+
+### Output arguments
+
+|Variable |Description |
+|--- |--- |
+|$VAR1 | describe $VAR1 variable |
+|$VAR2 | describe $VAR2 variable |
+
+### Exemple
+
+Add a complete exemple of your loop
+
+## Other ?
+
+If you have other think to put, feel free to complete your readme as you want.
diff --git a/local/modules/CadeauBienvenue/composer.json b/local/modules/CadeauBienvenue/composer.json
new file mode 100644
index 00000000..60bd3870
--- /dev/null
+++ b/local/modules/CadeauBienvenue/composer.json
@@ -0,0 +1,12 @@
+{
+ "name": "your-vendor/cadeau-bienvenue-module",
+ "description": "CadeauBienvenue module for Thelia",
+ "license": "LGPL-3.0-or-later",
+ "type": "thelia-module",
+ "require": {
+ "thelia/installer": "~1.1"
+ },
+ "extra": {
+ "installer-name": "CadeauBienvenue"
+ }
+}
\ No newline at end of file
diff --git a/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.html b/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.html
new file mode 100644
index 00000000..301d0f8d
--- /dev/null
+++ b/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.html
@@ -0,0 +1,23 @@
+{extends file="email-layout.tpl"}
+
+{* Do not provide a "Open in browser" link *}
+{block name="browser"}{/block}
+{* No pre-header *}
+{block name="pre-header"}{/block}
+
+{* Subject *}
+{block name="email-subject"}Bienvenue chez AuxBieauxLegumes.fr - Code promo{/block}
+
+{* Title *}
+{block name="email-title"}Bienvenue chez AuxBieauxLegumes.fr - Code promo{/block}
+
+{* Content *}
+{block name="email-content"}
+{loop type="customer" name="client" current="false" id=$customer_id}Bonjour {$FIRSTNAME} {$LASTNAME},
{/loop}
+
+Pour fêter votre arrivée sur notre site {$nom_site}, nous vous offrons un bon de réduction d'une valeur de {$montant}€, utilisable dès votre prochain achat !
+Ce bon est valable jusqu'au {format_date date={$date_validite} output="date"}.
+Rendez-vous très bientôt sur {url path="/"}
+Très cordialement,
+{config key="store_name"}.
+{/block}
diff --git a/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.txt b/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.txt
new file mode 100644
index 00000000..36a19801
--- /dev/null
+++ b/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.txt
@@ -0,0 +1,13 @@
+{loop type="customer" name="client" current="false" id=$customer_id}Bonjour {$FIRSTNAME} {$LASTNAME},{/loop}
+
+Pour fêter votre arrivée sur notre site {$nom_site}, nous vous offrons un bon de réduction d'une valeur de {$montant}€, utilisable dès votre prochain achat !
+
+Votre avantage parrainage est une remise de {$label_promo} sur votre prochaine commande.
+Profitez-en vite en indiquant lors de votre prochaine commande le code promotion {$code_promo}.
+Ce bon est valable jusqu'au {format_date date=$date_validite format="d/m/Y"}.
+
+Rendez-vous très bientôt sur {url path="/"}.
+
+Très cordialement,
+
+{config key="store_name"}.
diff --git a/templates/email/custom/account_changed_by_admin.txt b/templates/email/custom/account_changed_by_admin.txt
index 9eb1ad8d..f3273c88 100644
--- a/templates/email/custom/account_changed_by_admin.txt
+++ b/templates/email/custom/account_changed_by_admin.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="Your account at %store_name has been changed by one of our managers." store_name={config key="store_name"}}.
diff --git a/templates/email/custom/account_created_by_admin.txt b/templates/email/custom/account_created_by_admin.txt
index cb8edd41..4bec08a6 100644
--- a/templates/email/custom/account_created_by_admin.txt
+++ b/templates/email/custom/account_created_by_admin.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="An account at %store_name has been created by one of our managers." store_name={config key="store_name"}}.
diff --git a/templates/email/custom/admin_password.txt b/templates/email/custom/admin_password.txt
index 7b40444d..63e0f573 100644
--- a/templates/email/custom/admin_password.txt
+++ b/templates/email/custom/admin_password.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="You have requested a new password for your administrator account at %store_name" store_name={config key="store_name"}}.
diff --git a/templates/email/custom/customer_confirmation.txt b/templates/email/custom/customer_confirmation.txt
index 91f2ac9a..3e9fe847 100644
--- a/templates/email/custom/customer_confirmation.txt
+++ b/templates/email/custom/customer_confirmation.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{loop type="customer" name="confirmation" current=false id=$customer_id}
{intl l="Welcome to %store," store={config key="store_name"}}
diff --git a/templates/email/custom/default-html-layout.tpl b/templates/email/custom/default-html-layout.tpl
index 2e686044..ec72b3af 100644
--- a/templates/email/custom/default-html-layout.tpl
+++ b/templates/email/custom/default-html-layout.tpl
@@ -20,7 +20,7 @@ DO NOT DELETE THIS FILE, some plugins may use it.
*}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{default_locale locale={$locale}}
{block name='message-body'}{$message_body nofilter}{/block}
\ No newline at end of file
diff --git a/templates/email/custom/default-text-layout.tpl b/templates/email/custom/default-text-layout.tpl
index 715f1a8e..e6c5169d 100644
--- a/templates/email/custom/default-text-layout.tpl
+++ b/templates/email/custom/default-text-layout.tpl
@@ -20,7 +20,7 @@ DO NOT DELETE THIS FILE, some plugins may use it.
*}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{default_locale locale={$locale}}
{block name='message-body'}{$message_body nofilter}{/block}
\ No newline at end of file
diff --git a/templates/email/custom/email-layout.tpl b/templates/email/custom/email-layout.tpl
index 6677e3df..3863f917 100644
--- a/templates/email/custom/email-layout.tpl
+++ b/templates/email/custom/email-layout.tpl
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{default_locale locale={$locale}}
{declare_assets directory='assets'}
{assign var="url_site" value="{config key="url_site"}"}
diff --git a/templates/email/custom/newsletter_subscription_confirmation.txt b/templates/email/custom/newsletter_subscription_confirmation.txt
index 58055837..8fdbe9d0 100644
--- a/templates/email/custom/newsletter_subscription_confirmation.txt
+++ b/templates/email/custom/newsletter_subscription_confirmation.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{if $firstname || $lastname}
{intl l="Dear %firstname %lastname," firstname=$firstname lastname=$lastname}
{else}
diff --git a/templates/email/custom/order_confirmation.txt b/templates/email/custom/order_confirmation.txt
index 3d82c70e..c1a8f744 100644
--- a/templates/email/custom/order_confirmation.txt
+++ b/templates/email/custom/order_confirmation.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{intl l="Hello,"}
diff --git a/templates/email/custom/order_notification.txt b/templates/email/custom/order_notification.txt
index 95398070..3c5d1111 100644
--- a/templates/email/custom/order_notification.txt
+++ b/templates/email/custom/order_notification.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{intl l="Hello"}
diff --git a/templates/email/custom/password.txt b/templates/email/custom/password.txt
index 37ae8e87..e8e7916e 100644
--- a/templates/email/custom/password.txt
+++ b/templates/email/custom/password.txt
@@ -1,4 +1,4 @@
-{default_translation_domain domain='email.default'}
+{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="You have requested a new password for your account at %store_name" store_name={config key="store_name"}}.
diff --git a/templates/frontOffice/custom/ajax/order-delivery-module-list.html b/templates/frontOffice/custom/ajax/order-delivery-module-list.html
index 7b5056ad..b8ffa438 100644
--- a/templates/frontOffice/custom/ajax/order-delivery-module-list.html
+++ b/templates/frontOffice/custom/ajax/order-delivery-module-list.html
@@ -1,5 +1,5 @@
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
-{default_translation_domain domain='fo.default'}
+{default_translation_domain domain='fo.custom'}
{form name="thelia.order.delivery"}
diff --git a/templates/frontOffice/custom/includes/addedToCart.html b/templates/frontOffice/custom/includes/addedToCart.html
index d677ec1d..0f57233f 100644
--- a/templates/frontOffice/custom/includes/addedToCart.html
+++ b/templates/frontOffice/custom/includes/addedToCart.html
@@ -1,7 +1,7 @@
{* This page should not replace the current previous URL *}
{set_previous_url ignore_current="1"}
-{default_translation_domain domain='fo.default'}
+{default_translation_domain domain='fo.custom'}
{loop type="product" name="add_product_to_cart" id={product attr="id"}}
diff --git a/templates/frontOffice/custom/layout.tpl b/templates/frontOffice/custom/layout.tpl
index 730819e1..ec123cae 100644
--- a/templates/frontOffice/custom/layout.tpl
+++ b/templates/frontOffice/custom/layout.tpl
@@ -20,7 +20,7 @@ GNU General Public License : http://www.gnu.org/licenses/
{* Declare assets directory, relative to template base directory *}
{declare_assets directory='assets/dist'}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
-{default_translation_domain domain='fo.default'}
+{default_translation_domain domain='fo.custom'}
{* -- Define some stuff for Smarty ------------------------------------------ *}
{config_load file='variables.conf'}
diff --git a/templates/pdf/custom/delivery.html b/templates/pdf/custom/delivery.html
index bc5c0c73..9183aa79 100644
--- a/templates/pdf/custom/delivery.html
+++ b/templates/pdf/custom/delivery.html
@@ -10,7 +10,7 @@
/*************************************************************************************}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
-{default_translation_domain domain='pdf.default'}
+{default_translation_domain domain='pdf.custom'}
{literal}