diff --git a/local/modules/CadeauBienvenue/Config/config.xml b/local/modules/CadeauBienvenue/Config/config.xml index 6da19621..c8a7753c 100644 --- a/local/modules/CadeauBienvenue/Config/config.xml +++ b/local/modules/CadeauBienvenue/Config/config.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd"> - + diff --git a/local/modules/CadeauBienvenue/Config/module.xml b/local/modules/CadeauBienvenue/Config/module.xml index 70fc1add..866fbc8e 100644 --- a/local/modules/CadeauBienvenue/Config/module.xml +++ b/local/modules/CadeauBienvenue/Config/module.xml @@ -7,7 +7,7 @@ Generate a personal coupon for every new customer - Généré un code promotion personnel pour chaque nouveau client + Génère un code promotion personnel pour chaque nouveau client en_US diff --git a/local/modules/CadeauBienvenue/EventListeners/NewCustomerListener.php b/local/modules/CadeauBienvenue/EventListeners/NewCustomerListener.php index cae495b5..6100ca0f 100644 --- a/local/modules/CadeauBienvenue/EventListeners/NewCustomerListener.php +++ b/local/modules/CadeauBienvenue/EventListeners/NewCustomerListener.php @@ -3,10 +3,8 @@ namespace CadeauBienvenue\EventListeners; use CadeauBienvenue\CadeauBienvenue; -use Propel\Runtime\ActiveQuery\Criteria; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; -use Symfony\Component\HttpFoundation\RequestStack; use Thelia\Core\Event\Coupon\CouponCreateOrUpdateEvent; use Thelia\Core\Event\Customer\CustomerCreateOrUpdateEvent; use Thelia\Core\Event\TheliaEvents; @@ -50,7 +48,7 @@ class NewCustomerListener implements EventSubscriberInterface { $customer = $event->getCustomer(); - $couponCode = substr(str_shuffle(md5(time())), 0, 12); + $couponCode = substr(str_shuffle(md5(time())), 0, 14); $discountAmount = ConfigQuery::create()->filterByName(CadeauBienvenue::VARIABLE_MONTANT_CODE_PROMO)->findOne()->getValue(); $couponServiceId = 'thelia.coupon.type.remove_x_amount'; $effects = [ 'amount' => $discountAmount]; @@ -61,8 +59,8 @@ class NewCustomerListener implements EventSubscriberInterface $couponServiceId, // $serviceId 'Offre de bienvenue', // $title $effects, // $effects - '', // $shortDescription - sprintf('Offre de bienvenue pour %s %s',$customer->getFirstname(), $customer->getLastname()), // $description + 'Code promotion pour un nouveau client', // $shortDescription + sprintf('Code promo de bienvenue pour le client : %s %s (%d)',$customer->getFirstname(), $customer->getLastname(), $customer->getId()), // $description true, // $isEnabled $dateExpiration, // $expirationDate false, // $isAvailableOnSpecialOffers @@ -76,6 +74,7 @@ class NewCustomerListener implements EventSubscriberInterface ); $this->dispatcher->dispatch(TheliaEvents::COUPON_CREATE, $couponEvent); + // Envoyer le mail au client $this->mailer->sendEmailToCustomer( CadeauBienvenue::MESSAGE_MAIL_CLIENT, @@ -87,7 +86,5 @@ class NewCustomerListener implements EventSubscriberInterface 'code_promo' => $couponCode ] ); - } - } diff --git a/local/modules/CadeauBienvenue/templates/email/custom/code-promo-bienvenue.html b/local/modules/CadeauBienvenue/templates/email/custom/code-promo-bienvenue.html new file mode 100644 index 00000000..a938cf10 --- /dev/null +++ b/local/modules/CadeauBienvenue/templates/email/custom/code-promo-bienvenue.html @@ -0,0 +1,25 @@ +{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/custom/code-promo-bienvenue.txt similarity index 100% rename from local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.txt rename to local/modules/CadeauBienvenue/templates/email/custom/code-promo-bienvenue.txt diff --git a/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.html b/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.html deleted file mode 100644 index 301d0f8d..00000000 --- a/local/modules/CadeauBienvenue/templates/email/default/code-promo-bienvenue.html +++ /dev/null @@ -1,23 +0,0 @@ -{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/CustomerFamily/Config/config.xml b/local/modules/CustomerFamily/Config/config.xml index 900767f3..0300f2a6 100644 --- a/local/modules/CustomerFamily/Config/config.xml +++ b/local/modules/CustomerFamily/Config/config.xml @@ -146,10 +146,10 @@ - + diff --git a/local/modules/CustomerFamily/EventListeners/CustomerFamilyFormListener.php b/local/modules/CustomerFamily/EventListeners/CustomerFamilyFormListener.php index 29a8bb21..40c5094d 100644 --- a/local/modules/CustomerFamily/EventListeners/CustomerFamilyFormListener.php +++ b/local/modules/CustomerFamily/EventListeners/CustomerFamilyFormListener.php @@ -129,7 +129,7 @@ class CustomerFamilyFormListener extends BaseAction implements EventSubscriberIn self::CUSTOMER_FAMILY_VAT_FIELD_NAME, 'text', array( - 'required' => true, + 'required' => false, 'empty_data' => false, 'label' => self::trans('Vat'), 'label_attr' => array( diff --git a/local/modules/CustomerFamily/Form/CustomerCustomerFamilyForm.php b/local/modules/CustomerFamily/Form/CustomerCustomerFamilyForm.php index 5bf34a10..c29c5ab0 100644 --- a/local/modules/CustomerFamily/Form/CustomerCustomerFamilyForm.php +++ b/local/modules/CustomerFamily/Form/CustomerCustomerFamilyForm.php @@ -89,7 +89,7 @@ class CustomerCustomerFamilyForm extends BaseForm 'siret', 'text', array( - 'required' => false, + 'required' => true, 'empty_data' => false, 'label' => Translator::getInstance()->trans( 'Siret number', diff --git a/local/modules/CustomerFamily/I18n/fr_FR.php b/local/modules/CustomerFamily/I18n/fr_FR.php index cf3c290f..08ad2473 100644 --- a/local/modules/CustomerFamily/I18n/fr_FR.php +++ b/local/modules/CustomerFamily/I18n/fr_FR.php @@ -1,9 +1,10 @@ 'En cochant cette case, le module va utiliser le prix de vente du produit plutôt que son prix d\'achat.', 'Code' => 'Code', 'Customer' => 'Client', - 'Customer family' => 'Famille clients', + 'Customer family' => 'Vous êtes un ?', 'Customer family was created successfully' => 'La famille a été créée avec succès', 'Customer family was deleted successfully' => 'La famille a été supprimée avec succès', 'Customer family was updated successfully' => 'La famille a été modifiée avec succès', @@ -16,5 +17,6 @@ return array( 'Siret number' => 'Numéro de SIRET', 'This field can\'t be empty' => 'Ce champs ne peut pas être vide', 'Title' => 'Nom', + 'Use the product price' => 'Utiliser le prix de vente', 'Vat' => 'TVA intracommunautaire', ); diff --git a/local/modules/CustomerFamily/I18n/frontOffice/default/fr_FR.php b/local/modules/CustomerFamily/I18n/frontOffice/default/fr_FR.php index bed9eb21..b5203df9 100644 --- a/local/modules/CustomerFamily/I18n/frontOffice/default/fr_FR.php +++ b/local/modules/CustomerFamily/I18n/frontOffice/default/fr_FR.php @@ -1,7 +1,7 @@ 'Famille de client', + 'Customer family' => 'Informations professionnelles', 'Placeholder SIRET' => 'SIRET', 'Placeholder V.A.T.' => 'Taxe sur la Valeur Ajoutée', 'Select customer family' => 'Sélectionnez un type de compte', diff --git a/local/modules/CustomerFamily/templates/backOffice/default/customer-edit.html b/local/modules/CustomerFamily/templates/backOffice/default/customer-edit.html index 1c67c8e0..50eb6581 100644 --- a/local/modules/CustomerFamily/templates/backOffice/default/customer-edit.html +++ b/local/modules/CustomerFamily/templates/backOffice/default/customer-edit.html @@ -7,7 +7,7 @@
-
{intl l="Family of this customer" d="customerfamily"}
+
{intl l="Family of this customer" d="customerfamily.bo.default"}
{form name="customer.customer.family.form"} @@ -39,7 +39,7 @@
- + {if $error } {$message} {assign var="error_focus" value="true"} @@ -50,10 +50,10 @@ {form_field form=$form field="vat"}
- +
- + {if $error } {$message} {assign var="error_focus" value="true"} diff --git a/local/modules/CustomerFamily/templates/frontOffice/custom/account-additional.html b/local/modules/CustomerFamily/templates/frontOffice/custom/account-additional.html new file mode 100644 index 00000000..deb22996 --- /dev/null +++ b/local/modules/CustomerFamily/templates/frontOffice/custom/account-additional.html @@ -0,0 +1,26 @@ +{default_translation_domain domain=$messageDomain} +{loop type="customer_customer_family" name="customer_customer_family" customer_id={$customerId} } +
+ {loop type="customer_family" name="customer_family" id={$CUSTOMER_FAMILY_ID} } + + + + + + + {if $CODE != $particular} + {* The Customer should have a SIRET and a VAT. Display them. *} + + + + + + + + + {/if} + + + {/loop} +
+{/loop} diff --git a/local/modules/CustomerFamily/templates/frontOffice/custom/account-update.html b/local/modules/CustomerFamily/templates/frontOffice/custom/account-update.html new file mode 100644 index 00000000..b92a09fb --- /dev/null +++ b/local/modules/CustomerFamily/templates/frontOffice/custom/account-update.html @@ -0,0 +1,50 @@ +{default_translation_domain domain=$messageDomain} +
+
{intl l='Customer family'}
+
+ {form_field form=$form field='customer_family_code'} +
+ +
+ + {if $error } + {$message} + {assign var="error_focus" value="true"} + {/if} +
+
+ {/form_field} + {* Additional fields for CustomerCustomerFamily update. Should not be displayed if the customer is a particular one. *} +
+ {form_field form=$form field='siret' } +
+ +
+ + {if $error } + {$message} + {assign var="error_focus" value="true"} + {/if} +
+
+ {/form_field} + {form_field form=$form field='vat' } +
+ +
+ + {if $error } + {$message} + {assign var="error_focus" value="true"} + {/if} +
+
+ {/form_field} +
+
+
diff --git a/local/modules/CustomerFamily/templates/frontOffice/custom/assets/js/register.js b/local/modules/CustomerFamily/templates/frontOffice/custom/assets/js/register.js new file mode 100644 index 00000000..f14e53cd --- /dev/null +++ b/local/modules/CustomerFamily/templates/frontOffice/custom/assets/js/register.js @@ -0,0 +1,16 @@ +$('#customer_family_code_select').change(customerFamilyShowProFields); + +/* Number for the customer family panel. */ +$(document).ready(function (e) { + $('#number-customer-family').text($('#register-customer-family').prevAll('fieldset').length + 1); + customerFamilyShowProFields(); +}); + +/* Hiding professional fields if the customer is not a professional one. */ +function customerFamilyShowProFields() { + var data_code = $('#customer_family_code_select option:selected').attr('data-code'); + $('#customer-family-extra-fields').css( + 'display', + (data_code === 'particular' || data_code === 'none') ? 'none' : 'block' + ); +} diff --git a/local/modules/CustomerFamily/templates/frontOffice/custom/assets/js/update.js b/local/modules/CustomerFamily/templates/frontOffice/custom/assets/js/update.js new file mode 100644 index 00000000..2429d5ac --- /dev/null +++ b/local/modules/CustomerFamily/templates/frontOffice/custom/assets/js/update.js @@ -0,0 +1,11 @@ +/* Hiding professional fields if the customer is not a professional one. */ +function customerFamilyShowProFields() { + var data_code = $('#customer_family_code_select option:selected').attr('data-code'); + $('#customer-family-extra-fields').css( + 'display', + (data_code === 'particular' || data_code === 'none') ? 'none' : 'block' + ); +} + +$('#customer_family_code_select').change(customerFamilyShowProFields); +$(document).ready(customerFamilyShowProFields); diff --git a/local/modules/CustomerFamily/templates/frontOffice/custom/register.html b/local/modules/CustomerFamily/templates/frontOffice/custom/register.html new file mode 100644 index 00000000..f504d119 --- /dev/null +++ b/local/modules/CustomerFamily/templates/frontOffice/custom/register.html @@ -0,0 +1,49 @@ +
+
. {intl l='Customer family-Section title' d='customerfamily.fo.custom'}
+
+ {form_field form=$form field='customer_family_code'} +
+ +
+ + {if $error } + {$message} + {assign var="error_focus" value="true"} + {/if} +
+
+ {/form_field} + {* Additional fields for CustomerCustomerFamily creation. Should not be displayed if the customer is a particular one. *} +
+ {form_field form=$form field='siret' } +
+ +
+ + {if $error } + {$message} + {assign var="error_focus" value="true"} + {/if} +
+
+ {/form_field} + {form_field form=$form field='vat' } +
+ +
+ + {if $error } + {$message} + {assign var="error_focus" value="true"} + {/if} +
+
+ {/form_field} +
+
+
diff --git a/local/modules/CustomerFamily/templates/frontOffice/default/register.html b/local/modules/CustomerFamily/templates/frontOffice/default/register.html index ad52e87b..5561c82c 100644 --- a/local/modules/CustomerFamily/templates/frontOffice/default/register.html +++ b/local/modules/CustomerFamily/templates/frontOffice/default/register.html @@ -7,14 +7,14 @@
{if $error } {$message} - {assign var="error_focus" value="true"} + {assign var="error_focus" value="true"} {/if}
diff --git a/templates/email/custom/I18n/ar_SA.php b/templates/email/custom/I18n/ar_SA.php deleted file mode 100644 index 5939d270..00000000 --- a/templates/email/custom/I18n/ar_SA.php +++ /dev/null @@ -1,32 +0,0 @@ - 'جميع الحقوق محفوظة.', - 'Billing address:' => 'عنوان الفاتورة:', - 'Copyright' => 'حق النشر', - 'Delivery address:' => 'عنوان التوصيل:', - 'Delivery method:' => 'طريقة التسليم:', - 'Email not displaying correctly?' => 'البريد الإلكتروني لم يعرض بشكل صحيح؟', - 'For any questions, or concerns, feel free to contact %mail.' => 'لأي أسئلة أو مخاوف، لا تتردد في الاتصال mail %.', - 'Here are the details of your purchase:' => 'وفيما يلي تفاصيل الشراء الخاصة بك:', - 'Kind regards' => 'مع أطيب تحياتي', - 'Order Number:' => 'رقم طلب الشراء:', - 'Order Total' => 'إجمالي الطلبية', - 'Order Total:' => 'إجمالي الطلبية:', - 'Our contact us at:' => 'اتصل بنا على:', - 'Our mailing address is:' => 'عنواننا البريدي:', - 'Paid With:' => 'تدفع لصالح:', - 'Price in' => 'الأسعار في', - 'Purchase Date:' => 'تاريخ الشراء:', - 'Shipping:' => 'الشحن:', - 'Support' => 'الدعم', - 'Thank you for your order!' => 'شكراً لطلبكم معنا!', - 'Thanks' => 'شكرًا', - 'Thelia V2' => 'Thelia V2', - 'Total' => 'الإجمالي', - 'View it in your browser' => 'قم بعرضها في المستعرض الخاص بك', - 'What You Purchased' => 'ماذا قد اشتريت', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'يمكنك تغيير كلمة المرور الخاصة بك في حساب المستخدم الخاص بك عن طريق فتح الرابط "تغيير كلمة المرور الخاصة بي" تحت المعلومات الشخصية الخاصة بك', - 'Your order confirmation Nº %ref' => 'رقم تأكيد أمر الطلب الخاص بك هو % ref', - 'Your password for %store' => 'كلمة المرور للـ %store', -]; diff --git a/templates/email/custom/I18n/cs_CZ.php b/templates/email/custom/I18n/cs_CZ.php deleted file mode 100644 index c4b115a4..00000000 --- a/templates/email/custom/I18n/cs_CZ.php +++ /dev/null @@ -1,68 +0,0 @@ - '* Fakturační adresa', - '* Delivery address' => '* Doručovací adresa', - '* Items ordered:' => '* Objednané zboží:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Nová objednávka ref. %ref byla vytvořena dne %date. Podrobnosti:', - 'All rights reserved.' => 'Všechna práva vyhrazena.', - 'An account at %store_name has been created by one of our managers.' => 'Pro Vás byl vytvořen účet v obchodě %store_name jedním z našich manažerů.', - 'Billing address:' => 'Fakturační adresa:', - 'Copyright' => 'Autorská práva', - 'Customer billing address:' => 'Fakturační adresa zákazníka:', - 'Customer delivery address:' => 'Dodací adresa zákazníka:', - 'Delivery address:' => 'Doručovací adresa:', - 'Delivery method:' => 'Způsob doručení:', - 'Email not displaying correctly?' => 'E-mail se nezobrazuje správně?', - 'For any questions, or concerns, feel free to contact %mail.' => 'V případě jakýchkoliv dotazů nebo připomínek, neváhejte nás kontaktovat na %mail.', - 'Have a nice day.' => 'Hezký den.', - 'Hello' => 'Dobrý den', - 'Hello,' => 'Dobrý den,', - 'Hello, a new order has been placed.' => 'Dobrý den, nová objednávka byla vytvořená.', - 'Here are the details of your purchase:' => 'Podrobnosti o nákupu:', - 'Here is the details of your order %ref placed on %date' => 'Informace o Vaší objednávce %ref ze dne %date', - 'Item : %item' => 'Položka: %item', - 'Items ordered:' => 'Objednané zboží:', - 'Items total : %amount' => 'Položek celkem: %amount', - 'Kind regards' => 'S pozdravem', - 'New order placed on %store_name Nº %ref' => 'Nová objednávka v obchodě %store_name číslo %ref', - 'Order Number:' => 'Číslo objednávky:', - 'Order Total' => 'Objednávka celkem', - 'Order Total:' => 'Objednávka celkem:', - 'Our contact us at:' => 'Kontaktujte nás na:', - 'Our mailing address is:' => 'Naše poštovní adresa je:', - 'Paid With:' => 'Zaplaceno:', - 'Price in' => 'Cena v', - 'Purchase Date:' => 'Datum nákupu:', - 'Quantity : %qty' => 'Množství: %qty', - 'Shipping : %amount' => 'Poštovné: %amount', - 'Shipping:' => 'Poštovné:', - 'Support' => 'Podpora', - 'Thank you for your order!' => 'Děkujeme za objednávku!', - 'Thanks' => 'Děkuji', - 'The %store team.' => '%store tým.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'Pro přihlášení použijte emailovou adresu %email', - 'Total' => 'Celkem', - 'Total due : %amount' => 'Celková častka: %amount', - 'Unit price : %amount' => 'Jednotková cena: %amount', - 'View it in your browser' => 'Zobrazit v prohlížeči', - 'View this order in your account at %shop_name' => 'Zobrazit tuto objednávku ve vašem zákaznickém účtu na stránkách %shop_name', - 'View this order in your shop back-office.' => 'Zobrazte toto objednávku v administračním rozhání obchodu.', - 'What You Purchased' => 'Co jste si zakoupili', - 'You can change your password and your account details at any time in our store.' => 'Své heslo a osobní údaje můžete kdykoliv změnit v našem obchodě.', - 'You can change your password and your account details at any time in our store at %url.' => 'Své heslo a osobní údaje můžete kdykoliv změnit v našem obchodě na adrese %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Můžete změnit své heslo ve vašem uživatelském účtu tak, že otevře odkaz "Změnit heslo" v záložce vaše osobní údaje', - 'You have requested a new password for your account at %store_name' => 'Požádali jste o nové heslo pro váš účet v obchodě %store_name', - 'Your %store account' => 'Váš %store účet', - 'Your account at %store_name has been changed by one of our managers.' => 'Váš účet v obchodě %store_name byl změněn jeden z našich manažerů.', - 'Your account information for %store' => 'Informace o účtu v obchodě %store', - 'Your billing address' => 'Vaše fakturační adresa', - 'Your delivery address' => 'Vaše dodací adresa', - 'Your invoice is available in your customer account at %url' => 'Faktura je k dispozici ve Vašem Zákaznickém účtu na adrese %url', - 'Your new password is %pass' => 'Vaše nové heslo je %pass', - 'Your new password is %pass' => 'Vaše nové heslo je %pass', - 'Your order confirmation Nº %ref' => 'Potvrzení objednávky č. %ref', - 'Your password for %store' => 'Vaše heslo pro %store', - 'Your password is %pass' => 'Vaše heslo je %pass', -]; diff --git a/templates/email/custom/I18n/de_DE.php b/templates/email/custom/I18n/de_DE.php deleted file mode 100644 index 7a935c66..00000000 --- a/templates/email/custom/I18n/de_DE.php +++ /dev/null @@ -1,68 +0,0 @@ - '* Rechnungsadresse', - '* Delivery address' => '* Lieferadresse', - '* Items ordered:' => '* Bestellte Artikeln', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Eine neue Bestellung Ref. %ref wurde den %date aufgegeben. Hier sind die Details :', - 'All rights reserved.' => 'Alle Rechte vorbehalten.', - 'An account at %store_name has been created by one of our managers.' => 'Ein Konto bei %store_name wurde von einem unseren Managers erstellt', - 'Billing address:' => 'Rechnungsadresse : ', - 'Copyright' => 'Copyright', - 'Customer billing address:' => 'Kunde Zahlungsadresse:', - 'Customer delivery address:' => 'Kunde Lieferadresse:', - 'Delivery address:' => 'Lieferadresse :', - 'Delivery method:' => 'Lieferungsmethode : ', - 'Email not displaying correctly?' => 'E-Mail nicht richtig angezeigt ?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Für jede Fragen, bitte kontaktieren Sie uns : %mail. ', - 'Have a nice day.' => 'Schönen Tag.', - 'Hello' => 'Hallo', - 'Hello,' => 'Hallo,', - 'Hello, a new order has been placed.' => 'Hallo, eine neue Bestellung wurde aufgegeben.', - 'Here are the details of your purchase:' => 'Hier sind die Details Ihrer Bestellung :', - 'Here is the details of your order %ref placed on %date' => 'Ihr sind die Details Ihre Bestellung %ref die Sie den %date aufgegeben haben. ', - 'Item : %item' => 'Artikel : %item', - 'Items ordered:' => 'Bestellte Produkte:', - 'Items total : %amount' => 'Artikel Gesamtsumme : %amount', - 'Kind regards' => 'Mit freundlichen Grüßen', - 'New order placed on %store_name Nº %ref' => 'Eine neue Bestellung wurde bei %store_name N° %ref aufgegeben', - 'Order Number:' => 'Bestellungsnummer :', - 'Order Total' => 'Gesamtsumme', - 'Order Total:' => 'Gesamtsumme :', - 'Our contact us at:' => 'Unsere Kontaktdetails', - 'Our mailing address is:' => 'Unsere Mailingadresse ist', - 'Paid With:' => 'Bezahlt mit :', - 'Price in' => 'Preis in', - 'Purchase Date:' => 'Bestellungsdatum :', - 'Quantity : %qty' => 'Menge : %qty', - 'Shipping : %amount' => 'Lieferung : %amount', - 'Shipping:' => 'Lieferung :', - 'Support' => 'Kundendienst', - 'Thank you for your order!' => 'Vielen Dank für Ihre Bestellung !', - 'Thanks' => 'Danke !', - 'The %store team.' => 'Die %store Team.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'Um sich anzumelden, nutzen Sie bitte die E-Mail-Adresse %email ', - 'Total' => 'Gesamtsumme', - 'Total due : %amount' => 'Gesamtsumme : %amount', - 'Unit price : %amount' => 'Einzelpreis : %amount', - 'View it in your browser' => 'In Ihrem Browser ansehen', - 'View this order in your account at %shop_name' => 'Diese Angebot in Ihrem Konto bei %shop_name ansehen', - 'View this order in your shop back-office.' => 'Sehen Sie diese Bestellung in Ihrem Back-Office.', - 'What You Purchased' => 'Was Sie bestellt haben', - 'You can change your password and your account details at any time in our store.' => 'Sie können ihr Passwort und Ihre Kontodaten ändern auf die Seite in unserem Shop.', - 'You can change your password and your account details at any time in our store at %url.' => 'Sir können Ihr Passwort und Ihre Kontodaten in unserem Geschäft jederzeit ändern auf %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Sie können Ihr Passwort in Ihrem Benutzerkonto ändern, indem Sie den Link "Mein Passwort ändern" unter Ihre persönlichen Informationen finden können', - 'You have requested a new password for your account at %store_name' => 'Sie haben ein neues Passwort für Ihr Konto bei %store_name angefordert', - 'Your %store account' => 'Ihr %store Konto', - 'Your account at %store_name has been changed by one of our managers.' => 'Ihr Konto bei %store_name wurde von einem unseren Managers geändert. ', - 'Your account information for %store' => 'Ihre Kontodaten bei %store', - 'Your billing address' => 'Ihre Zahlungsadresse', - 'Your delivery address' => 'Ihre Lieferadresse', - 'Your invoice is available in your customer account at %url' => 'Ihre Rechnung ist in Ihrem Konto auf die Seite %url verfügbar', - 'Your new password is %pass' => 'Ihr neues Passwort ist %pass', - 'Your new password is %pass' => 'Ihr neues Passwort ist %pass ', - 'Your order confirmation Nº %ref' => 'Ihre Bestellungsbestätigung Nr. %ref', - 'Your password for %store' => 'Ihr Passwort für %store', - 'Your password is %pass' => 'Ihr Passwort ist %pass ', -]; diff --git a/templates/email/custom/I18n/el_GR.php b/templates/email/custom/I18n/el_GR.php deleted file mode 100644 index e2aa09d0..00000000 --- a/templates/email/custom/I18n/el_GR.php +++ /dev/null @@ -1,32 +0,0 @@ - 'Με επιφύλαξη παντός δικαιώματος.', - 'Billing address:' => 'Διεύθυνση χρέωσης:', - 'Copyright' => 'Πνευματικά δικαιώματα', - 'Delivery address:' => 'Διεύθυνση παράδοσης:', - 'Delivery method:' => 'Μέθοδος παράδοσης:', - 'Email not displaying correctly?' => 'Το Email δεν εμφανίζεται σωστά;', - 'For any questions, or concerns, feel free to contact %mail.' => 'Για οποιεσδήποτε ερωτήσεις ή ανησυχίες, μη διστάσετε να επικοινωνήσετε μαζί μας στο %mail.', - 'Here are the details of your purchase:' => 'Εδώ είναι οι λεπτομέρειες της αγοράς σας:', - 'Kind regards' => 'Με εκτίμηση', - 'Order Number:' => 'Αριθμός παραγγελίας:', - 'Order Total' => 'Το συνολικό κόστος', - 'Order Total:' => 'Το συνολικό κόστος:', - 'Our contact us at:' => 'Επικοινωνήστε μαζί μας στο:', - 'Our mailing address is:' => 'Η Ταχυδρομική μας διεύθυνση είναι:', - 'Paid With:' => 'Πληρωμένο με:', - 'Price in' => 'Τιμή σε', - 'Purchase Date:' => 'Ημερομηνία αγοράς:', - 'Shipping:' => 'Αποστολή:', - 'Support' => 'Υποστήριξη', - 'Thank you for your order!' => 'Σας ευχαριστούμε για την παραγγελία σας!', - 'Thanks' => 'Ευχαριστούμε', - 'Thelia V2' => 'Thelia V2', - 'Total' => 'Σύνολο', - 'View it in your browser' => 'Προβάλετε στο πρόγραμμα περιήγησης', - 'What You Purchased' => 'Τι έχετε αγοράσει', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Μπορείτε να αλλάξετε τον κωδικό πρόσβασής σας στο λογαριασμό χρήστη ανοίγοντας το σύνδεσμο "Αλλαγή κωδικού" κάτω από τα προσωπικά σας στοιχεία', - 'Your order confirmation Nº %ref' => 'Η επιβεβαίωση παραγγελίας Nº %ref', - 'Your password for %store' => 'Ο κωδικός πρόσβασης για το %store', -]; diff --git a/templates/email/custom/I18n/en_US.php b/templates/email/custom/I18n/en_US.php deleted file mode 100644 index 3881ca62..00000000 --- a/templates/email/custom/I18n/en_US.php +++ /dev/null @@ -1,84 +0,0 @@ - '* Billing address', - '* Delivery address' => '* Delivery address', - '* Items ordered:' => '* Items ordered:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'A new order ref. %ref has been placed on %date. Here are the details :', - 'All rights reserved.' => 'All rights reserved.', - 'An account at %store_name has been created by one of our managers.' => 'An account at %store_name has been created by one of our managers.', - 'Billing address:' => 'Billing address:', - 'Confirm your %store account' => 'Confirm your %store account', - 'Copyright' => 'Copyright', - 'Customer billing address:' => 'Customer billing address:', - 'Customer delivery address:' => 'Customer delivery address:', - 'Dear %firstname %lastname,' => 'Dear %firstname %lastname,', - 'Delivery address:' => 'Delivery address:', - 'Delivery method:' => 'Delivery method:', - 'Discount' => 'Discount', - 'Email not displaying correctly?' => 'Email not displaying correctly?', - 'For any questions, or concerns, feel free to contact %mail.' => 'For any questions, or concerns, feel free to contact %mail.', - 'Have a nice day' => 'Have a nice day', - 'Have a nice day.' => 'Have a nice day.', - 'Hello' => 'Hello', - 'Hello,' => 'Hello,', - 'Hello, a new order has been placed.' => 'Hello, a new order has been placed.', - 'Here are the details of your purchase:' => 'Here are the details of your purchase:', - 'Here is the details of your order %ref placed on %date' => 'Here is the details of your order %ref placed on %date', - 'If you don\'t requested a new password, please ignore this message.' => 'If you don\'t requested a new password, please ignore this message.', - 'Item : %item' => 'Item : %item', - 'Items ordered:' => 'Items ordered:', - 'Items total : %amount' => 'Items total : %amount', - 'Kind regards' => 'Kind regards', - 'New order placed on %store_name Nº %ref' => 'New order placed on %store_name Nº %ref', - 'Order Number:' => 'Order Number:', - 'Order Total' => 'Order Total', - 'Order Total:' => 'Order Total:', - 'Our contact us at:' => 'Our contact us at:', - 'Our mailing address is:' => 'Our mailing address is:', - 'Paid With:' => 'Paid With:', - 'Please click here to create a new password.' => 'Please click here to create a new password.', - 'Please click here to define a new password: %url . You will be prompted to enter a new password.' => 'Please click here to define a new password: %url . You will be prompted to enter a new password.', - 'Price in' => 'Price in', - 'Purchase Date:' => 'Purchase Date:', - 'Quantity : %qty' => 'Quantity : %qty', - 'Shipping : %amount' => 'Shipping : %amount', - 'Shipping:' => 'Shipping:', - 'Subtotal' => 'Subtotal', - 'Support' => 'Support', - 'Thank you for your order!' => 'Thank you for your order!', - 'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.' => 'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.', - 'Thanks' => 'Thanks', - 'The %store team.' => 'The %store team.', - 'Thelia V2' => 'Thelia V2', - 'To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar.' => 'To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar.', - 'To login, please use the email address %email' => 'To login, please use the email address %email', - 'To unsubscribe from our newsletter, please click here.' => 'To unsubscribe from our newsletter, please click here.', - 'To unsubscribe from our newsletter, please go to the following web address:' => 'To unsubscribe from our newsletter, please go to the following web address:', - 'Total' => 'Total', - 'Total due : %amount' => 'Total due : %amount', - 'Unit price : %amount' => 'Unit price : %amount', - 'View it in your browser' => 'View it in your browser', - 'View this order in your account at %shop_name' => 'View this order in your account at %shop_name', - 'View this order in your shop back-office.' => 'View this order in your shop back-office.', - 'Welcome to %store,' => 'Welcome to %store,', - 'What You Purchased' => 'What You Purchased', - 'You can also paste the URL below in you browser\'s address bar :

%url

' => 'You can also paste the URL below in you browser\'s address bar :

%url

', - 'You can change your password and your account details at any time in our store.' => 'You can change your password and your account details at any time in our store.', - 'You can change your password and your account details at any time in our store at %url.' => 'You can change your password and your account details at any time in our store at %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'You can change your password in your user account by opening the "Change my password" link under your personal information', - 'You have requested a new password for your account at %store_name' => 'You have requested a new password for your account at %store_name', - 'You have requested a new password for your administrator account at %store_name' => 'You have requested a new password for your administrator account at %store_name', - 'Your %store account' => 'Your %store account', - 'Your account at %store_name has been changed by one of our managers.' => 'Your account at %store_name has been changed by one of our managers.', - 'Your account information for %store' => 'Your account information for %store', - 'Your billing address' => 'Your billing address', - 'Your delivery address' => 'Your delivery address', - 'Your invoice is available in your customer account at %url' => 'Your invoice is available in your customer account at %url', - 'Your new password is %pass' => 'Your new password is %pass', - 'Your new password is %pass' => 'Your new password is %pass', - 'Your order confirmation Nº %ref' => 'Your order confirmation Nº %ref', - 'Your password for %store' => 'Your password for %store', - 'Your password is %pass' => 'Your password is %pass', - 'Your subscriotion to %store newsletter' => 'Your subscriotion to %store newsletter', -); diff --git a/templates/email/custom/I18n/es_ES.php b/templates/email/custom/I18n/es_ES.php deleted file mode 100644 index da1677d2..00000000 --- a/templates/email/custom/I18n/es_ES.php +++ /dev/null @@ -1,68 +0,0 @@ - '* Dirección de facturación', - '* Delivery address' => '* Dirección de entrega', - '* Items ordered:' => '* Artículos solicitados:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Se ha recibido un nuevo pedido ref. %ref en %date. Detalles :', - 'All rights reserved.' => 'Todos los derechos reservados.', - 'An account at %store_name has been created by one of our managers.' => 'Una cuenta en %store_name ha sido creada por uno de nuestros gerentes.', - 'Billing address:' => 'dirección de factura', - 'Copyright' => 'Derechos de autor', - 'Customer billing address:' => 'Dirección de facturación del cliente:', - 'Customer delivery address:' => 'Dirección de envío del cliente:', - 'Delivery address:' => 'dirección de entraga', - 'Delivery method:' => 'entraga con : ', - 'Email not displaying correctly?' => 'No puedes ver correctamente el mail ?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Para cualquier problema o consulta, no dude en contactar correo %.', - 'Have a nice day.' => 'Que tengas un buen día.', - 'Hello' => 'Hola', - 'Hello,' => 'Hola,', - 'Hello, a new order has been placed.' => 'Hola, se ha realizado un nuevo pedido.', - 'Here are the details of your purchase:' => 'Detalles de tu compra:', - 'Here is the details of your order %ref placed on %date' => 'Aquí los detalles de tu pedido %ref realizado el %date', - 'Item : %item' => 'Artículo: %item', - 'Items ordered:' => 'Artículos pedidos:', - 'Items total : %amount' => 'Total de artículos: %amount', - 'Kind regards' => 'Gracias', - 'New order placed on %store_name Nº %ref' => 'Nuevo pedido en %store_name Nº %ref', - 'Order Number:' => 'Entraga numero', - 'Order Total' => 'Total de la entraga', - 'Order Total:' => 'Total de la entraga', - 'Our contact us at:' => 'Contactanos en:', - 'Our mailing address is:' => 'Nuestra dirección', - 'Paid With:' => 'pagado con : ', - 'Price in' => 'Precio en', - 'Purchase Date:' => 'Fecha de compra:', - 'Quantity : %qty' => 'Cantidad: %qty', - 'Shipping : %amount' => 'Envío: %amount', - 'Shipping:' => 'envio', - 'Support' => 'Servicio postventa', - 'Thank you for your order!' => 'Graciàs por su encarga', - 'Thanks' => 'Gracias', - 'The %store team.' => 'El equipo de %store.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'Para iniciar sesión usar la dirección de correo electrónico %email', - 'Total' => 'Total', - 'Total due : %amount' => 'A pagar : %amount', - 'Unit price : %amount' => 'Precio unitario : %amount', - 'View it in your browser' => 'Ver en el navegador ', - 'View this order in your account at %shop_name' => 'Mira esta orden en tu cuenta en %shop_name', - 'View this order in your shop back-office.' => 'Mira esta orden en el administrador de tu tienda.', - 'What You Purchased' => 'Lo que compraste', - 'You can change your password and your account details at any time in our store.' => 'Puedes cambiar la contraseña y los detalles de tu cuenta en cualquier momento en nuestra tienda.', - 'You can change your password and your account details at any time in our store at %url.' => 'Puedes modificar la contraseña y los detalles de tu cuenta en cualquier momento en nuestra tienda en %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Puedes cambiar tu contraseña en tu cuenta', - 'You have requested a new password for your account at %store_name' => 'Has solicitado una nueva contraseña para tu cuenta en %store_name', - 'Your %store account' => 'Tu cuenta en %store', - 'Your account at %store_name has been changed by one of our managers.' => 'Tu cuenta en %store_name ha sido modificada por uno de nuestros administradores.', - 'Your account information for %store' => 'La información de tu cuenta para %store', - 'Your billing address' => 'Tu dirección de facturación', - 'Your delivery address' => 'Tu dirección de entrega', - 'Your invoice is available in your customer account at %url' => 'Tu factura está disponible en tu área de cliente en %url', - 'Your new password is %pass' => 'Tu nueva contraseña es %pass', - 'Your new password is %pass' => 'Tu nueva contraseña es %pass', - 'Your order confirmation Nº %ref' => 'Numero de encarga : %ref', - 'Your password for %store' => 'contraseña por %store', - 'Your password is %pass' => 'Tu contraseña es %pass', -]; diff --git a/templates/email/custom/I18n/fa_IR.php b/templates/email/custom/I18n/fa_IR.php deleted file mode 100644 index 8cce97be..00000000 --- a/templates/email/custom/I18n/fa_IR.php +++ /dev/null @@ -1,68 +0,0 @@ - '* آدرس صورت حساب', - '* Delivery address' => '* آدرس تحویل', - '* Items ordered:' => '* سفارش‌ها:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'سفارش جدید با شماره‌ی %ref در تاریخ %date با جزییات زیر ثبت شد:', - 'All rights reserved.' => 'کلیه حقوق محفوظ است.', - 'An account at %store_name has been created by one of our managers.' => 'یک حساب در %store_name بوسیله یکی از مدیران ما ایجاد شد.', - 'Billing address:' => 'آدرس صورت حساب:', - 'Copyright' => 'حق نشر', - 'Customer billing address:' => 'آدرس صورتحساب مشتری:', - 'Customer delivery address:' => 'آدرس تحویل مشتری:', - 'Delivery address:' => 'آدرس تحویل:', - 'Delivery method:' => 'روش تحویل:', - 'Email not displaying correctly?' => 'ایمیل را به درستی نمی‌بینید؟', - 'For any questions, or concerns, feel free to contact %mail.' => 'سوالات خود را با ما مطرح کنید %mail.', - 'Have a nice day.' => 'روز خوبی داشته باشید.', - 'Hello' => 'سلام', - 'Hello,' => 'سلام،', - 'Hello, a new order has been placed.' => 'سلام، سفارش جدیدی قرار داده شد.', - 'Here are the details of your purchase:' => 'جزییاتی مربوط به خرید شما:', - 'Here is the details of your order %ref placed on %date' => 'جزئیاتی از سفارش %ref شما در تاریخ %date', - 'Item : %item' => 'آیتم: %item', - 'Items ordered:' => 'سفارش‌ها:', - 'Items total : %amount' => 'مجموع موارد: %amount', - 'Kind regards' => 'با احترام فراوان', - 'New order placed on %store_name Nº %ref' => 'سفارش جدید %ref در %store_name قرار گرفت', - 'Order Number:' => 'شماره سفارش:', - 'Order Total' => 'مجموع سفارش', - 'Order Total:' => 'مجموع سفارش:', - 'Our contact us at:' => 'تماس با ما:', - 'Our mailing address is:' => 'آدرس ایمیل ما:', - 'Paid With:' => 'پرداخت توسط:', - 'Price in' => 'قیمت در', - 'Purchase Date:' => 'تاریخ خرید:', - 'Quantity : %qty' => 'تعداد: %qty', - 'Shipping : %amount' => 'حمل و نقل: %amount', - 'Shipping:' => 'حمل و نقل:', - 'Support' => 'پشتیبانی', - 'Thank you for your order!' => 'با تشکر از سفارش شما.', - 'Thanks' => 'سپاس', - 'The %store team.' => 'تیم %store.', - 'Thelia V2' => 'تیلیا نسخه۲', - 'To login, please use the email address %email' => 'برای ورود از آدرس ایمیل %email استفاده کنید', - 'Total' => 'مجموع', - 'Total due : %amount' => 'جمع علی الحساب: %amount', - 'Unit price : %amount' => 'قیمت واحد: %amount', - 'View it in your browser' => 'مشاهده در مرورگر', - 'View this order in your account at %shop_name' => 'مشاهده این سفارش در %shop_name', - 'View this order in your shop back-office.' => 'مشاهده این سفارش در قسمت مدیریت.', - 'What You Purchased' => 'موارد خریداری شده', - 'You can change your password and your account details at any time in our store.' => 'شما می‌توانید اطلاعات حساب و رمزعبور خود را در فروشگاه و در هر زمانی تغییر دهید.', - 'You can change your password and your account details at any time in our store at %url.' => 'شما می‌توانید اطلاعات حساب و رمزعبور خود را در هر زمانی در %url تغییر دهید.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'برای تغییر رمزعبور در حساب کاربری خود در بخش اطلاعات شخصی، قسمت «تغییر رمزعبور» را باز کنید', - 'You have requested a new password for your account at %store_name' => 'شما یک درخواست برای رمزعبور جدید در %store_name داشتید', - 'Your %store account' => 'حساب %store شما', - 'Your account at %store_name has been changed by one of our managers.' => 'حساب %store_name شما بوسیله یکی از مدیران ما تغییر پیدا کرد.', - 'Your account information for %store' => 'اطلاعات حساب شما برای %store', - 'Your billing address' => 'آدرس صدور صورتحساب', - 'Your delivery address' => 'آدرس تحویل کالای شما', - 'Your invoice is available in your customer account at %url' => 'صورت حساب در حساب کاربری شما موجود است:‌ %url', - 'Your new password is %pass' => 'رمزعبور جدید شما %pass می‌باشد', - 'Your new password is %pass' => 'رمزعبور جدید شما:‌ %pass', - 'Your order confirmation Nº %ref' => 'تاییدییه سفارش شما %ref', - 'Your password for %store' => 'رمزعبور شما برای %store', - 'Your password is %pass' => 'رمزعبور شما:‌ %pass', -]; diff --git a/templates/email/custom/I18n/fr_FR.php b/templates/email/custom/I18n/fr_FR.php deleted file mode 100644 index 9edbe837..00000000 --- a/templates/email/custom/I18n/fr_FR.php +++ /dev/null @@ -1,84 +0,0 @@ - '* Adresse de facturation', - '* Delivery address' => '* Adresse de livraison', - '* Items ordered:' => '* Articles commandés', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Une nouvelle commande ref. %ref a été passée le %date. Voici les détails', - 'All rights reserved.' => 'Tous droits réservés', - 'An account at %store_name has been created by one of our managers.' => 'Un compte client %store_name a été créé pour vous.', - 'Billing address:' => 'Adresse de facturation : ', - 'Confirm your %store account' => 'Confirmez la création de votre compte sur %store', - 'Copyright' => 'Copyright', - 'Customer billing address:' => 'Adresse de facturation', - 'Customer delivery address:' => 'Adresse de livraison', - 'Dear %firstname %lastname,' => 'Cher %firstname %lastname,', - 'Delivery address:' => 'Adresse de livraison : ', - 'Delivery method:' => 'Livré par : ', - 'Discount' => 'Remise', - 'Email not displaying correctly?' => 'Le mail ne s\'affiche pas correctement ?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Pour toutes questions contactez nous par mail : %mail.', - 'Have a nice day' => 'Bonne journée.', - 'Have a nice day.' => 'Bonne journée.', - 'Hello' => 'Bonjour', - 'Hello,' => 'Bonjour,', - 'Hello, a new order has been placed.' => 'Bonjour, une nouvelle commande a été passée', - 'Here are the details of your purchase:' => 'Voici les détails de votre commande', - 'Here is the details of your order %ref placed on %date' => 'Voici les détails de votre commande %ref passée le %date', - 'If you don\'t requested a new password, please ignore this message.' => 'Si vous n\'avez pas demandé de nouveau mot de passe, merci d\'ignorer ce message.', - 'Item : %item' => 'Article : %item', - 'Items ordered:' => 'Articles commandés:', - 'Items total : %amount' => 'Total articles : %amount', - 'Kind regards' => 'Cordialement', - 'New order placed on %store_name Nº %ref' => 'Nouvelle commande %ref passée sur %store_name', - 'Order Number:' => 'Commande N° : ', - 'Order Total' => 'Total de la commande', - 'Order Total:' => 'Total de la commande : ', - 'Our contact us at:' => 'Contactez nous au', - 'Our mailing address is:' => 'Adresse postale', - 'Paid With:' => 'Payé par : ', - 'Please click here to create a new password.' => 'Merci de cliquer ici pour créer un nouveau mot de passe.', - 'Please click here to define a new password: %url . You will be prompted to enter a new password.' => 'Merci de cliquer ici pour créer votre nouveau mot de passe. Vous serez invité à indiquer ce nouveau mot de passe.', - 'Price in' => 'Prix en', - 'Purchase Date:' => 'Date d\'achat : ', - 'Quantity : %qty' => 'Quantité : %qty', - 'Shipping : %amount' => 'Livraison : %amount', - 'Shipping:' => 'Frais de livraison', - 'Subtotal' => 'Total articles', - 'Support' => 'SAV', - 'Thank you for your order!' => 'Merci pour votre commande', - 'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.' => 'Merci pour votre abonnement. Vous recevrez désormais la newletter %store newsletter à votre adresse e-mail %email.', - 'Thanks' => 'Merci', - 'The %store team.' => 'L\'équipe %store.', - 'Thelia V2' => 'Thelia v2', - 'To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar.' => 'Pour terminer la création de votre compte client, merci de confirmer votre adresse email en cliquant le lien ci-dessous. Vous pouvez aussi le copier dans la barre d\'adresse de votre navigateur.', - 'To login, please use the email address %email' => 'Pour vous connecter, merci d\'utiliser l\'adresse e-mail %email', - 'To unsubscribe from our newsletter, please click here.' => 'Pour vous désabonner de notre newsletter, merci de cliquer ici.', - 'To unsubscribe from our newsletter, please go to the following web address:' => 'Pour vous désabonner de notre newsletter, merci de vous rendre à l\'adresse ci-dessous:', - 'Total' => 'Total', - 'Total due : %amount' => 'Total à payer : %amount', - 'Unit price : %amount' => 'Prix unitaire : %amount', - 'View it in your browser' => 'Voir dans le navigateur', - 'View this order in your account at %shop_name' => 'Retrouver cette commande dans votre compte sur %shop_name ', - 'View this order in your shop back-office.' => 'Affichez cette commande dans le back-office de votre boutique', - 'Welcome to %store,' => 'Bienvenue chez %store,', - 'What You Purchased' => 'Ce que vous avez acheté', - 'You can also paste the URL below in you browser\'s address bar :

%url

' => 'Vous pouvez aussi coller l\'URL ci-dessous dans la barre d\'adresse de votre navigateur:

%url

', - 'You can change your password and your account details at any time in our store.' => 'Vous pouvez modifier votre mot de passe et vos informations personnelles à tout moment sur notre boutique.', - 'You can change your password and your account details at any time in our store at %url.' => 'Vous pouvez modifier votre mot de passe et vos informations personnelles à tout moment sur notre boutique: %url', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Vous pouvez changer votre mot de passe dans votre espace client', - 'You have requested a new password for your account at %store_name' => 'Vous avez demandé un nouveau mot de passe pour accéder à votre compte %store_name', - 'You have requested a new password for your administrator account at %store_name' => 'Vous avez demandé un nouveau mot de passe pour votre compte d\'administration sur %store_name ', - 'Your %store account' => 'Votre compte %store', - 'Your account at %store_name has been changed by one of our managers.' => 'L\'accès à votre compte sur %store_name a été modifié.', - 'Your account information for %store' => 'Accès à votre compte sur %store', - 'Your billing address' => 'Votre adresse de facturation', - 'Your delivery address' => 'Votre adresse de livraison', - 'Your invoice is available in your customer account at %url' => 'Votre facture est disponible dans votre compte client sur %url', - 'Your new password is %pass' => 'Votre nouveau mot de passe est %pass', - 'Your new password is %pass' => 'Votre nouveau mot de passe est %pass', - 'Your order confirmation Nº %ref' => 'Confirmation de commande N° %ref', - 'Your password for %store' => 'Votre mot de passe pour %store', - 'Your password is %pass' => 'Votre mot de passe est %pass', - 'Your subscriotion to %store newsletter' => 'Votre abonnement à la newletter %store', -); diff --git a/templates/email/custom/I18n/hu_HU.php b/templates/email/custom/I18n/hu_HU.php deleted file mode 100644 index e7eb930a..00000000 --- a/templates/email/custom/I18n/hu_HU.php +++ /dev/null @@ -1,67 +0,0 @@ - 'Számlázási cím', - '* Delivery address' => 'Kézbesítési cím', - '* Items ordered:' => '* A megrendelt termékek:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Új megrendelés történt (azon.: %ref), megrendelés dátuma: %date. Megrendelés részletei :', - 'All rights reserved.' => 'Minden jog fenntartva.', - 'An account at %store_name has been created by one of our managers.' => 'Egy szerkesztő új hozzáférést készített a %store_name boltban.', - 'Billing address:' => 'Számlázási cím:', - 'Copyright' => 'Minden Jog fenntartva', - 'Customer billing address:' => 'Vevő számlázási címe:', - 'Customer delivery address:' => 'Vevő szállítási címe:', - 'Delivery address:' => 'Kézbesítési cím:', - 'Delivery method:' => 'Szállítás módja:', - 'Email not displaying correctly?' => 'A levél nem jelenik meg olvashatóan?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Bármilyen kérdése, megjegyzése van, lépjen velünk kapcsolatba: %mail.', - 'Have a nice day.' => 'További kellemes napot.', - 'Hello' => 'Üdvözöljük', - 'Hello,' => 'Üdvözöljük!', - 'Hello, a new order has been placed.' => 'Üdvözöljük, új megrendelés érkezett.', - 'Here are the details of your purchase:' => 'A megrendelése részletei:', - 'Here is the details of your order %ref placed on %date' => 'Itt olvashatja a megrendelése (azon.:%ref) részleteit. Megrendelés dátuma: %date', - 'Item : %item' => 'Termék: %item', - 'Items ordered:' => 'Megrendelt termékek:', - 'Items total : %amount' => 'Összesen: %amount', - 'Kind regards' => 'Üdvözlettel', - 'New order placed on %store_name Nº %ref' => 'Új megrendelés érkezett a %store_name boltba ( azon.: %ref)', - 'Order Number:' => 'Megrendelés száma:', - 'Order Total' => 'Rendelés végösszege', - 'Order Total:' => 'Rendelés végösszege:', - 'Our contact us at:' => 'Kapcsolat:', - 'Our mailing address is:' => 'Levelezési címünk:', - 'Paid With:' => 'Fizetési mód:', - 'Price in' => 'Pénznem:', - 'Purchase Date:' => 'Vásárlás dátuma:', - 'Quantity : %qty' => 'Mennyiség: %qty', - 'Shipping : %amount' => 'Szállítás: %amount', - 'Shipping:' => 'Szállítás:', - 'Support' => 'Segítség', - 'Thank you for your order!' => 'Köszönjük a megrendelését!', - 'Thanks' => 'Köszönjük', - 'The %store team.' => 'A %store csapata.', - 'To login, please use the email address %email' => 'A bejelentkezéshez használja a %email email címet', - 'Total' => 'Összesen', - 'Total due : %amount' => 'Összesen: %amount', - 'Unit price : %amount' => 'Egységár: %amount', - 'View it in your browser' => 'Megtekintés a böngészőjében', - 'View this order in your account at %shop_name' => 'Megrendelés megtekintése oldalunkon %shop_name', - 'View this order in your shop back-office.' => 'Megrendelés megtekintése az adminisztrációs felületen.', - 'What You Purchased' => 'Megrendelésének tartalma', - 'You can change your password and your account details at any time in our store.' => 'Jelszavát és a hozzáférésének adatait bármikor megváltoztathatja a boltunkban.', - 'You can change your password and your account details at any time in our store at %url.' => 'Most megváltoztathatja a jelszavát és a hozzáférésének adatait itt: %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Jelszavát megváltoztathatja a fiókjában a "Jelszavam módosítása" linkre kattintva.', - 'You have requested a new password for your account at %store_name' => 'Új jelszót igényelt a hozzáféréséhez a %store_name boltban', - 'Your %store account' => 'A %store hozzáférése', - 'Your account at %store_name has been changed by one of our managers.' => 'A hozzáférését a %store_name boltban az Adminisztrátor megváltoztatta.', - 'Your account information for %store' => 'Hozzáférése a %store bolthoz', - 'Your billing address' => 'Számlázási címe', - 'Your delivery address' => 'Szállítási címe', - 'Your invoice is available in your customer account at %url' => 'A számlája elérhető a fiókjában a következő linkre kattintva: %url', - 'Your new password is %pass' => 'Új jelszava: %pass', - 'Your new password is %pass' => 'Az új jelszava: %pass', - 'Your order confirmation Nº %ref' => 'Megrendelése visszaigazolása (azon.: %ref)', - 'Your password for %store' => 'A jelszava a %store oldalhoz', - 'Your password is %pass' => 'A jelszava: %pass', -]; diff --git a/templates/email/custom/I18n/id_ID.php b/templates/email/custom/I18n/id_ID.php deleted file mode 100644 index 4a47d537..00000000 --- a/templates/email/custom/I18n/id_ID.php +++ /dev/null @@ -1,40 +0,0 @@ - 'Alamat Penagihan', - '* Delivery address' => 'Alamat pengiriman', - '* Items ordered:' => '* Barang-barang yang dipesan:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Sebuah pesanan %ref telah dipesan tertanggal %date. Berikut rinciannya :', - 'All rights reserved.' => 'Semua hak dilindungi.', - 'An account at %store_name has been created by one of our managers.' => 'Sebuah akun di %store_name telah dibuat oleh salah satu manajer Kami.', - 'Billing address:' => 'Alamat penagihan:', - 'Customer billing address:' => 'Alamat pembayaran pelanggan:', - 'Customer delivery address:' => 'Alamat pengiriman konsumen:', - 'Delivery address:' => 'Alamat pengiriman:', - 'Delivery method:' => 'Metode pengiriman:', - 'Email not displaying correctly?' => 'Email tidak ditampilkan dengan benar?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Untuk pertanyaan, atau masala, silahkan kontak %kami.', - 'Have a nice day.' => 'Semoga hari Anda menyenangkan.', - 'Hello' => 'Halo', - 'Hello,' => 'Hai,', - 'Hello, a new order has been placed.' => 'Halo, pesanan baru telah ditempatkan.', - 'Here are the details of your purchase:' => 'Berikut adalah rincian pembelian Anda:', - 'Here is the details of your order %ref placed on %date' => 'Berikut adalah rincian pesanan Anda %ref pada %date', - 'Item : %item' => 'Item: %item', - 'Items ordered:' => 'Barang-barang yang dipesan:', - 'Items total : %amount' => 'Total item: %amount', - 'Kind regards' => 'Hormat kami', - 'New order placed on %store_name Nº %ref' => 'Pesanan baru pada %store_name Nº %ref', - 'Order Number:' => 'Nomor pembelian:', - 'Order Total' => 'Total Order', - 'Order Total:' => 'Total Pesanan:', - 'Our contact us at:' => 'Hubungi kami di:', - 'Our mailing address is:' => 'Alamat email kami adalah:', - 'Paid With:' => 'Dibayar dengan:', - 'Price in' => 'Harga dalam', - 'Purchase Date:' => 'Tanggal pembelian:', - 'Quantity : %qty' => 'Kuantitas : %qty', - 'Shipping : %amount' => 'Pengiriman: %amount', - 'Unit price : %amount' => 'Unit harga: %amount', - 'View it in your browser' => 'Lihat di browser Anda', -]; diff --git a/templates/email/custom/I18n/it_IT.php b/templates/email/custom/I18n/it_IT.php deleted file mode 100644 index 4d8e93ba..00000000 --- a/templates/email/custom/I18n/it_IT.php +++ /dev/null @@ -1,20 +0,0 @@ - 'Tutti i diritti riservati.', - 'Billing address:' => 'Indirizzo di fatturazione:', - 'Copyright' => 'Copyright', - 'Customer billing address:' => 'Indirizzo di fatturazione del cliente:', - 'Delivery address:' => 'Indirizzo di consegna:', - 'Delivery method:' => 'Metodo di consegna:', - 'Email not displaying correctly?' => 'L\' e-mail non viene visualizzata correttamente?', - 'Have a nice day.' => 'Buona giornata.', - 'Hello' => 'Ciao', - 'Hello,' => 'Ciao,', - 'Order Total:' => 'Totale ordine:', - 'Support' => 'Supporto', - 'Thank you for your order!' => 'Grazie per il tuo ordine!', - 'Thanks' => 'Grazie', - 'Thelia V2' => 'Thelia V2', - 'Total' => 'Totale', -]; diff --git a/templates/email/custom/I18n/pl_PL.php b/templates/email/custom/I18n/pl_PL.php deleted file mode 100644 index e3855fb2..00000000 --- a/templates/email/custom/I18n/pl_PL.php +++ /dev/null @@ -1,41 +0,0 @@ - 'Dane do faktury', - '* Delivery address' => 'Adres dostawy', - '* Items ordered:' => 'Zamówione produkty:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Nowe zamówienie (nr ref. %ref) zostało złożone w dniu %date. Szczegóły zamówienia:', - 'All rights reserved.' => 'Wszystkie prawa zastrzeżone.', - 'An account at %store_name has been created by one of our managers.' => 'Konto w sklepie %store_name zostało utworzone przez jednego z naszych managerów.', - 'Billing address:' => 'Adres do faktury:', - 'Customer billing address:' => 'Adres do faktury:', - 'Customer delivery address:' => 'Adres dostawy:', - 'Delivery address:' => 'Adres dostawy:', - 'Delivery method:' => 'Sposób dostawy:', - 'Kind regards' => 'Z poważaniem', - 'New order placed on %store_name Nº %ref' => 'Nowe zamówienie zostało złożone w sklepie %store_name (num. %ref)', - 'Order Number:' => 'Numer zamówienia:', - 'Order Total' => 'Suma', - 'Order Total:' => 'Suma:', - 'Our contact us at:' => 'Skontaktuj się z nami:', - 'Our mailing address is:' => 'Nasz adres e-mail to:', - 'Paid With:' => 'Metoda płatności:', - 'Price in' => 'Cena w', - 'Purchase Date:' => 'Data zakupu:', - 'Quantity : %qty' => 'Ilość : %qty', - 'Shipping : %amount' => 'Dostawa : %amount', - 'Shipping:' => 'Dostawa:', - 'Support' => 'Pomoc', - 'Thank you for your order!' => 'Dziękujemy za złożenie zamówienia!', - 'Thanks' => 'Dziękujemy', - 'Your account at %store_name has been changed by one of our managers.' => 'Twoje konto w sklepie %store_name zostało zmienione przez jednego z naszych managerów.', - 'Your account information for %store' => 'Informacje o twoim koncie w sklepie %store', - 'Your billing address' => 'Twój adres do faktury', - 'Your delivery address' => 'Twój adres dostawy', - 'Your invoice is available in your customer account at %url' => 'Twoja faktura jest dostępna w twoim koncie klienta pod adresem %url', - 'Your new password is %pass' => 'Twoje nowe hasło to %pass', - 'Your new password is %pass' => 'Twoje nowe hasło to %pass', - 'Your order confirmation Nº %ref' => 'Potwierdzenie zamówienia (nr %ref)', - 'Your password for %store' => 'Twoje hasło dla sklepu %store', - 'Your password is %pass' => 'Twoje hasło to %pass', -]; diff --git a/templates/email/custom/I18n/pt_BR.php b/templates/email/custom/I18n/pt_BR.php deleted file mode 100644 index 8e7d1587..00000000 --- a/templates/email/custom/I18n/pt_BR.php +++ /dev/null @@ -1,68 +0,0 @@ - '* Endereço de cobrança', - '* Delivery address' => '* Endereço de entrega', - '* Items ordered:' => '* Itens do pedido:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Um novo pedido ref. %ref foi criado em %date. Aqui estão os detalhes :', - 'All rights reserved.' => 'Todos os direitos reservados.', - 'An account at %store_name has been created by one of our managers.' => 'Uma conta em %store_name foi criada por um de nossos administradores.', - 'Billing address:' => 'Endereço de cobrança:', - 'Copyright' => 'Direitos autorais', - 'Customer billing address:' => 'Endereço de cobrança do cliente:', - 'Customer delivery address:' => 'Endereço de entrega do cliente:', - 'Delivery address:' => 'Endereço de entrega:', - 'Delivery method:' => 'Método de entrega:', - 'Email not displaying correctly?' => 'Não consegue ver este email corretamente?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Para qualquer dúvida ou outras questões sinta-se livre para entrar em contato com %mail.', - 'Have a nice day.' => 'Tenha um bom dia.', - 'Hello' => 'Olá', - 'Hello,' => 'Olá,', - 'Hello, a new order has been placed.' => 'Olá, um novo pedido foi criado.', - 'Here are the details of your purchase:' => 'Aqui estão os detalhes da sua compra:', - 'Here is the details of your order %ref placed on %date' => 'Aqui estão os detalhes do seu pedido %ref criado em %date', - 'Item : %item' => 'Item: %item', - 'Items ordered:' => 'Itens do pedido:', - 'Items total : %amount' => 'Total de itens : %amount', - 'Kind regards' => 'Atenciosamente', - 'New order placed on %store_name Nº %ref' => 'Novo pedido criado em %store_name Nº %ref', - 'Order Number:' => 'Número do pedido:', - 'Order Total' => 'Total do pedido', - 'Order Total:' => 'Total do pedido:', - 'Our contact us at:' => 'Nosso contato em:', - 'Our mailing address is:' => 'Nosso endereço é:', - 'Paid With:' => 'Pagar com:', - 'Price in' => 'Preço em', - 'Purchase Date:' => 'Data de compra:', - 'Quantity : %qty' => 'Quantidade : %qty', - 'Shipping : %amount' => 'Entrega : %amount', - 'Shipping:' => 'Entrega:', - 'Support' => 'Suporte', - 'Thank you for your order!' => 'Obrigado pelo seu pedido!', - 'Thanks' => 'Obrigado', - 'The %store team.' => 'Time %store.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'Para iniciar a sessão, use seu endereço de email %email', - 'Total' => 'Total', - 'Total due : %amount' => 'Valor total : %amount', - 'Unit price : %amount' => 'Preço unitário : %amount', - 'View it in your browser' => 'Ver no navegador', - 'View this order in your account at %shop_name' => 'Veja este pedido na sua conta em %shop_name', - 'View this order in your shop back-office.' => 'Veja este pedido em nossa loja.', - 'What You Purchased' => 'O que você comprou', - 'You can change your password and your account details at any time in our store.' => 'Você pode mudar sua senha e os detalhes da sua conta a qualquer momento em nossa loja.', - 'You can change your password and your account details at any time in our store at %url.' => 'Você pode mudar sua senha e os detralhes da sua conta em qualquer momento em nossa loja em %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Você pode mudar sua senha em Conta do usuário e depois clicando no link "Mudar minha senha" nas suas informações pessoais', - 'You have requested a new password for your account at %store_name' => 'Você solicitou uma nova senha para sua conta em %store_name', - 'Your %store account' => 'Sua conta em %store', - 'Your account at %store_name has been changed by one of our managers.' => 'Sua conta em %store_name foi modificada por um de nossos administradores.', - 'Your account information for %store' => 'Informações da sua conta para %store', - 'Your billing address' => 'Seu endereço de cobrança', - 'Your delivery address' => 'Seu endereço de entrega', - 'Your invoice is available in your customer account at %url' => 'Sua fatura esta disponível em sua conta cliente em %url', - 'Your new password is %pass' => 'Sua nova senha é %pass', - 'Your new password is %pass' => 'Sua nova senha é %pass', - 'Your order confirmation Nº %ref' => 'Sua confirmação de pedido Nº %ref', - 'Your password for %store' => 'Sua senha para %store', - 'Your password is %pass' => 'Sua senha é %pass', -]; diff --git a/templates/email/custom/I18n/pt_PT.php b/templates/email/custom/I18n/pt_PT.php deleted file mode 100644 index 7ce7daa0..00000000 --- a/templates/email/custom/I18n/pt_PT.php +++ /dev/null @@ -1,5 +0,0 @@ - 'Copyright', -]; diff --git a/templates/email/custom/I18n/ru_RU.php b/templates/email/custom/I18n/ru_RU.php deleted file mode 100644 index eda2ca12..00000000 --- a/templates/email/custom/I18n/ru_RU.php +++ /dev/null @@ -1,79 +0,0 @@ - '* Адрес плательщика', - '* Delivery address' => '* Адрес доставки', - '* Items ordered:' => '* Заказанный товар:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Новый заказ номер %ref был сделан %date. Подробности заказа:', - 'All rights reserved.' => 'Все права защищены.', - 'An account at %store_name has been created by one of our managers.' => 'Для Вас была создана учетная запись в %store_name одним из наших менеджеров.', - 'Billing address:' => 'Адрес плательщика:', - 'Copyright' => 'Авторское право', - 'Customer billing address:' => 'Адрес оплаты клиента:', - 'Customer delivery address:' => 'Адрес доставки клиента:', - 'Dear %firstname %lastname,' => 'Уважаемый %firstname %lastname,', - 'Delivery address:' => 'Адрес доставки:', - 'Delivery method:' => 'Способ доставки:', - 'Email not displaying correctly?' => 'Письмо отображается неправильно?', - 'For any questions, or concerns, feel free to contact %mail.' => 'С любыми вопросами или предложениями Вы можете обратиться к нам на %mail.', - 'Have a nice day' => 'Хорошего дня', - 'Have a nice day.' => 'Хорошего дня.', - 'Hello' => 'Здравствуйте', - 'Hello,' => 'Здравствуйте,', - 'Hello, a new order has been placed.' => 'Здравствуйте, был сделан новый заказ.', - 'Here are the details of your purchase:' => 'Подробности Вашего заказа:', - 'Here is the details of your order %ref placed on %date' => 'Подробности вашего заказа %ref от %date', - 'If you don\'t requested a new password, please ignore this message.' => 'Если вы не запрашивали новый пароль, проигнорируйте это сообщение.', - 'Item : %item' => 'Позиция: %item', - 'Items ordered:' => 'Заказанный товар:', - 'Items total : %amount' => 'Всего позиций: %amount', - 'Kind regards' => 'С наилучшими пожеланиями', - 'New order placed on %store_name Nº %ref' => 'Новый заказ в %store_name номер %ref', - 'Order Number:' => 'Номер заказа:', - 'Order Total' => 'Сумма заказа', - 'Order Total:' => 'Сумма заказа:', - 'Our contact us at:' => 'Наша контактная информация:', - 'Our mailing address is:' => 'Наш почтовый адрес:', - 'Paid With:' => 'Заплачено:', - 'Please click here to create a new password.' => 'Пожалуйста нажмите сюда для создания нового пароля.', - 'Please click here to define a new password: %url . You will be prompted to enter a new password.' => 'Для установки нового пароля, пожалуйста перейдите по: %url . Вас попросят ввести новый пароль.', - 'Price in' => 'Цена в', - 'Purchase Date:' => 'Дата покупки:', - 'Quantity : %qty' => 'Количество: %qty', - 'Shipping : %amount' => 'Доставка: %amount', - 'Shipping:' => 'Доставка:', - 'Support' => 'Поддержка', - 'Thank you for your order!' => 'Спасибо за заказ!', - 'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.' => 'Благодарим за регистрацию. Вы должны получить письмо от %store на ваш email %email', - 'Thanks' => 'Спасибо', - 'The %store team.' => 'Команда %store.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'Чтобы войти, пожалуйста используйте email %email', - 'To unsubscribe from our newsletter, please click here.' => 'Чтобы отписаться от рассылки, пожалуйста нажмите здесь.', - 'To unsubscribe from our newsletter, please go to the following web address:' => 'Чтобы отписаться от рассылки, пожалуйста перейдите по следующей ссылке:', - 'Total' => 'Итого', - 'Total due : %amount' => 'Итого: %amount', - 'Unit price : %amount' => 'Цена единицы: %amount', - 'View it in your browser' => 'Просмотреть в браузере', - 'View this order in your account at %shop_name' => 'Просмотреть информацию о заказе в вашей учетной записи в магазине %shop_name', - 'View this order in your shop back-office.' => 'Просмотрите информацию об этом заказе в бэк-офисе магазина.', - 'What You Purchased' => 'То, что вы приобрели', - 'You can also paste the URL below in you browser\'s address bar :

%url

' => 'Вы также можете вставить URL указанный ниже, в адресную строку браузера :

%url

', - 'You can change your password and your account details at any time in our store.' => 'Вы можете изменить ваш пароль и данные учетной записи в любое время в нашем магазине.', - 'You can change your password and your account details at any time in our store at %url.' => 'Вы можете изменить ваш пароль и данные учетной записи в любое время в нашем магазине по ссылке %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Вы можете изменить свой пароль в учетной записи пользователя, открыв ссылку «Изменить пароль» в разделе личная информация', - 'You have requested a new password for your account at %store_name' => 'Вы запросили новый пароль для вашей учетной записи в %store_name', - 'You have requested a new password for your administrator account at %store_name' => 'Вы запросили новый пароль для вашего аккаунта администратора в %store_name', - 'Your %store account' => 'Ваша учетная запись в %store ', - 'Your account at %store_name has been changed by one of our managers.' => 'Ваша учетная запись в %store_name была изменена одним из наших менеджеров.', - 'Your account information for %store' => 'Данные учетной записи для %store', - 'Your billing address' => 'Адрес оплаты', - 'Your delivery address' => 'Адрес доставки', - 'Your invoice is available in your customer account at %url' => 'Счет-фактура доступна в вашей учетной записи на %url', - 'Your new password is %pass' => 'Ваш новый пароль — %pass', - 'Your new password is %pass' => 'Ваш новый пароль %pass', - 'Your order confirmation Nº %ref' => 'Подтверждение заказа № %ref', - 'Your password for %store' => 'Ваш пароль на %store', - 'Your password is %pass' => 'Ваш пароль %pass', - 'Your subscriotion to %store newsletter' => 'Ваша подписка на рассылку новостей %store', -); diff --git a/templates/email/custom/I18n/sk_SK.php b/templates/email/custom/I18n/sk_SK.php deleted file mode 100644 index b8b789a3..00000000 --- a/templates/email/custom/I18n/sk_SK.php +++ /dev/null @@ -1,68 +0,0 @@ - '* Fakturačná adresa', - '* Delivery address' => '* Adresa doručenia', - '* Items ordered:' => '* Objednaný tovar:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Nová objednávka s kódom %ref bola zadaná %date. Tu sú podrobnosti:', - 'All rights reserved.' => 'Všetky práva vyhradné.', - 'An account at %store_name has been created by one of our managers.' => 'Konto v %store_name bolo vytvorené jedným z našich manažérov.', - 'Billing address:' => 'Fakturačná adresa:', - 'Copyright' => 'Autorské práva', - 'Customer billing address:' => 'Fakturačná adresa zákazníka:', - 'Customer delivery address:' => 'Adresa dodávky zákazníka:', - 'Delivery address:' => 'Adresa doručenia:', - 'Delivery method:' => 'Spôsob doručenia:', - 'Email not displaying correctly?' => 'Email sa nezobrazuje správne?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Pre akékoľvek otázky, alebo pripomienky, neváhajte kontaktovať %mail.', - 'Have a nice day.' => 'Prajeme pekný deň.', - 'Hello' => 'Dobrý deň', - 'Hello,' => 'Dobrý deň,', - 'Hello, a new order has been placed.' => 'Dobrý deň, nová objednávka bola zadaná.', - 'Here are the details of your purchase:' => 'Tu sú podrobnosti vášho nákupu:', - 'Here is the details of your order %ref placed on %date' => 'Tu sú podrobnosti vašej objednávky %ref zadanej dňa %date', - 'Item : %item' => 'Položka: %item', - 'Items ordered:' => 'Objednaný tovar:', - 'Items total : %amount' => 'Položiek celkom: %amount', - 'Kind regards' => 'S pozdravom', - 'New order placed on %store_name Nº %ref' => 'Nová objednávka zadaná v %store_name č % ref', - 'Order Number:' => 'Číslo objednávky:', - 'Order Total' => 'Objednávka celkom', - 'Order Total:' => 'Objednávka celkom:', - 'Our contact us at:' => 'Kontaktujte nás v:', - 'Our mailing address is:' => 'Naša mailová adresa:', - 'Paid With:' => 'Zaplatené s:', - 'Price in' => 'Cena v', - 'Purchase Date:' => 'Dátum nákupu:', - 'Quantity : %qty' => 'Množstvo: %qty', - 'Shipping : %amount' => 'Doprava: %amount', - 'Shipping:' => 'Doručenie:', - 'Support' => 'Podpora', - 'Thank you for your order!' => 'Ďakujeme za vašu objednávku!', - 'Thanks' => 'Ďakujeme', - 'The %store team.' => '%store tím.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'Pre prihlásenie použite prosím e-mailovú adresu %email', - 'Total' => 'Celkom', - 'Total due : %amount' => 'Celková k zaplateniu: %amount', - 'Unit price : %amount' => 'Jednotková cena: %amount', - 'View it in your browser' => 'Zobraziť v prehľadávači', - 'View this order in your account at %shop_name' => 'Zobraziť túto objednávku vo vašom účte na %shop_name', - 'View this order in your shop back-office.' => 'Zobraziť objednávku v back-office e-shopu.', - 'What You Purchased' => 'Čo ste nakúpili', - 'You can change your password and your account details at any time in our store.' => 'Môžete zmeniť svoje heslo a údaje k účtu kedykoľvek v našom obchode.', - 'You can change your password and your account details at any time in our store at %url.' => 'Môžete zmeniť svoje heslo a údaje svojho účtu kedykoľvek v našej predajni na %url.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Svoje heslo si môžete zmeniť v rámci svojho užívateľského konta pod osobnými údajmi po otvorení odkazu "Zmeniť heslo"', - 'You have requested a new password for your account at %store_name' => 'Vyžiadali ste si nové heslo pre svoj účet na %store_name', - 'Your %store account' => 'Váš %store účet', - 'Your account at %store_name has been changed by one of our managers.' => 'Jeden z našich manažérov urobil zmenu vášho účtu na %store_name.', - 'Your account information for %store' => 'Informácie o účte pre %store', - 'Your billing address' => 'Vaša fakturačná adresa', - 'Your delivery address' => 'Vaša dodacia adresa', - 'Your invoice is available in your customer account at %url' => 'Faktúra je k dispozícii vo vašom účte zákazníka na %url', - 'Your new password is %pass' => 'Nové heslo je %pass', - 'Your new password is %pass' => 'Vaše nové heslo je %pass', - 'Your order confirmation Nº %ref' => 'Potvrdenie objednávky číslo %ref', - 'Your password for %store' => 'Vaše heslo pre %store', - 'Your password is %pass' => 'Vaše heslo je %pass', -]; diff --git a/templates/email/custom/I18n/tr_TR.php b/templates/email/custom/I18n/tr_TR.php deleted file mode 100644 index 4a7a977c..00000000 --- a/templates/email/custom/I18n/tr_TR.php +++ /dev/null @@ -1,68 +0,0 @@ - '* Fatura adresi', - '* Delivery address' => '* Teslimat adresi', - '* Items ordered:' => '* Sipariş maddeler:', - 'A new order ref. %ref has been placed on %date. Here are the details :' => 'Yeni bir sipariş referans %ref %date yerleştirildi. İşte ayrıntılar vardır:', - 'All rights reserved.' => 'Tüm hakları saklıdır.', - 'An account at %store_name has been created by one of our managers.' => '%store_name bir hesap yöneticilerimiz biri tarafından oluşturuldu.', - 'Billing address:' => 'Fatura adresi:', - 'Copyright' => 'Telif hakkı', - 'Customer billing address:' => 'Müşteri Fatura adresi:', - 'Customer delivery address:' => 'Müşteri teslimat adresi:', - 'Delivery address:' => 'Teslimat adresi:', - 'Delivery method:' => 'Teslimat Yöntemi:', - 'Email not displaying correctly?' => 'E-posta düzgün görüntülenmiyor?', - 'For any questions, or concerns, feel free to contact %mail.' => 'Herhangi bir sorunuz veya endişeniz, için %mail temas kurmaktan çekinmeyin.', - 'Have a nice day.' => 'İyi günler.', - 'Hello' => 'Merhaba', - 'Hello,' => 'Merhaba,', - 'Hello, a new order has been placed.' => 'Merhaba, yeni bir düzen yerleştirildi.', - 'Here are the details of your purchase:' => 'Burada satın alma ayrıntıları şunlardır:', - 'Here is the details of your order %ref placed on %date' => 'İşte senin sipariş %ref %date üzerinde yerleştirilen ayrıntılarını', - 'Item : %item' => 'Madde: %item', - 'Items ordered:' => 'Sipariş maddeler:', - 'Items total : %amount' => 'Öğeleri Toplam: %amount', - 'Kind regards' => 'Saygılarımızla', - 'New order placed on %store_name Nº %ref' => '%store_name nº %ref üzerinde yeni sipariş', - 'Order Number:' => 'Sipariş numarası:', - 'Order Total' => 'Sipariş Toplamları', - 'Order Total:' => 'Sipariş Toplamları:', - 'Our contact us at:' => 'Bizim bize de:', - 'Our mailing address is:' => 'Bizim posta adresidir:', - 'Paid With:' => 'İle ödeme:', - 'Price in' => 'Fiyat', - 'Purchase Date:' => 'Satın Alma Tarihi:', - 'Quantity : %qty' => 'Miktar: %qty', - 'Shipping : %amount' => 'Nakliye: %amount', - 'Shipping:' => 'Ürün Kargo Bilgileri:', - 'Support' => 'Destek', - 'Thank you for your order!' => 'Siparişiniz için teşekkür ederiz!', - 'Thanks' => 'Teşekkürler', - 'The %store team.' => '%store takım.', - 'Thelia V2' => 'Thelia V2', - 'To login, please use the email address %email' => 'E-posta adresi %email oturum açmanız için lütfen kullanım', - 'Total' => 'Toplam', - 'Total due : %amount' => 'Nedeniyle toplam: %amount', - 'Unit price : %amount' => 'Birim Fiyatı: %amount', - 'View it in your browser' => 'Tarayıcınızda görüntülemek', - 'View this order in your account at %shop_name' => 'Bu sırada %shop_name hesabınızı görüntüleyin', - 'View this order in your shop back-office.' => 'Bu sırada senin Dükkanı arka ofis içinde görüntüleyin.', - 'What You Purchased' => 'Ne satın', - 'You can change your password and your account details at any time in our store.' => 'Sen-ebilmek değişmek senin parola ve hesap bilgilerinizi herhangi bir zaman bizim mağaza.', - 'You can change your password and your account details at any time in our store at %url.' => '%url, mağaza bizim herhangi bir zamanda parolanızı ve hesap bilgilerinizi değiştirebilirsiniz.', - 'You can change your password in your user account by opening the "Change my password" link under your personal information' => '"Değişmek benim parola" bağlantı altında kişisel bilgilerinizi açarak Kullanıcı hesabınızdaki şifrenizi değiştirebilirsiniz', - 'You have requested a new password for your account at %store_name' => '%store_name, hesabınız için yeni bir şifre talep etmiş', - 'Your %store account' => '%store hesap', - 'Your account at %store_name has been changed by one of our managers.' => '%store_name adresinde hesabınızda yöneticilerimizden biri tarafından değiştirildi.', - 'Your account information for %store' => 'Hesap bilgilerinizi %store için', - 'Your billing address' => 'Fatura Adresiniz', - 'Your delivery address' => 'Teslimat Adresiniz', - 'Your invoice is available in your customer account at %url' => 'Eğer fatura müşteri hesabınızı %url mevcuttur', - 'Your new password is %pass' => 'Yeni parolanızı %pass olduğunu', - 'Your new password is %pass' => 'Yeni parolanızı %pass olduğunu', - 'Your order confirmation Nº %ref' => 'Sipariş onayı n º %ref', - 'Your password for %store' => '%store şifre', - 'Your password is %pass' => 'Yeni parolanızı %pass olduğunu', -]; diff --git a/templates/email/custom/LICENSE.txt b/templates/email/custom/LICENSE.txt deleted file mode 100644 index 65c5ca88..00000000 --- a/templates/email/custom/LICENSE.txt +++ /dev/null @@ -1,165 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. diff --git a/templates/email/custom/README b/templates/email/custom/README deleted file mode 100644 index d85b944b..00000000 --- a/templates/email/custom/README +++ /dev/null @@ -1,71 +0,0 @@ -About mail layout and templates -------------------------------- - -Layouts -------- - -Mail layouts are used to provide a layout to all or some of the e-mails sent by -the Thelia core or the modules. - -The layouts should have the 'tpl' extension, and should use {$message_body} as the -placeholder of the final message content. - -For example, a minimal layout is : - - {$message_body} - -There are no specific limitations in the content of the layout. For exemple, you -can forecast inheritance, using a block : - -{block name='message-body'}{$message_body nofilter}{/block} - -(In fact, this is the content of the default HTML layout, default-html-layout.tpl) - -This way, you can extends the layout in message templates : - - {block name='message-body'} - - Here is the template content - - {/block} - - -Templates ---------- - -A Template contains the body of a specific message. It can be used It may extends a layout, but -in this case, you SHOULD NOT select this layout as the message layout in the back office. - -HTML templates SHOULD have the 'html' extension to be displayed in the "Name of -the HTML template file" menu in the back-office. - -TEXT templates SHOULD have the 'text' extension to be displayed in the "Name of -the text template file" menu in the back-office. - - -What you can do with this stuff ? ---------------------------------- - -For a specific message, you can : - - Not use templates or layouts, and rely on HTML and TEXT entered in the back- - office. - - Use only layouts, to define a common look and feel to your mails. These layouts - are be populated (through {$message_body}) with HTML or TEXT entered in the back- - office. - - Use only templates, without layouts, to define message content. In this case, - HTML or TEXT entered in the back-office is ignored. - - Use layouts and templates, without inheritance. This way, layouts are populated - (through {$message_body}) with HTML or TEXT found in the message templates. - HTML or TEXT entered in the back-office is ignored. - - Use templates which inherit from a layout. In the layout, {$message_body} - (if present) is then ignored, and the classic Smarty bock-based inheritance - is used. - Be sure in this case to not define an extended layout as ther message layout, - or unexpected results may be generated (probably repeated layout content) - -Enjoy. \ No newline at end of file diff --git a/templates/email/custom/Readme.md b/templates/email/custom/Readme.md deleted file mode 100644 index ec0531a1..00000000 --- a/templates/email/custom/Readme.md +++ /dev/null @@ -1,18 +0,0 @@ -Readme -====== - -## This is the repository of Thelia default email template. All the pull requests on this repo will be ignored. -### If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project) -### If you want to contribute to Thelia, please take a look at [thelia/thelia](https://github.com/thelia/thelia) - -Thelia ------- -[![Build Status](https://travis-ci.org/thelia/thelia.png?branch=master)](https://travis-ci.org/thelia/thelia) [![License](https://poser.pugx.org/thelia/thelia/license.png)](https://packagist.org/packages/thelia/thelia) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/thelia/thelia/badges/quality-score.png?s=61e3e04a69bffd71c29b08e5392080317a546716)](https://scrutinizer-ci.com/g/thelia/thelia/) - -[Thelia](http://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL. - -This is the new major version of Thelia. - -You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information. - -A repository containing all thelia modules is available at this address : https://github.com/thelia-modules diff --git a/templates/email/custom/account_changed_by_admin.html b/templates/email/custom/account_changed_by_admin.html deleted file mode 100644 index dd3d4799..00000000 --- a/templates/email/custom/account_changed_by_admin.html +++ /dev/null @@ -1,31 +0,0 @@ -{extends file="email-layout.tpl"} - -{* Open in browser *} -{block name="browser"}{/block} - -{* No big image header *} -{block name="image-header"}{/block} - -{* No pre-header *} -{block name="pre-header"}{/block} - -{* Subject *} -{block name="email-subject"}{intl l="Your account information for %store" store={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{/block} - -{* Content *} -{block name="email-content"} - {intl l="Hello,"}

- {intl l="Your account at %store_name has been changed by one of our managers." store_name={config key="store_name"}}.

- {loop name="cust_info" type="customer" id={$customer_id} current="false"} - {intl l="To login, please use the email address %email" email={$EMAIL}}

- {/loop} - {if ! empty($password)} - {intl l="Your new password is %pass" pass={$password}}

- {/if} - {intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}.

- {intl l='Kind regards'},
- {intl l="The %store team." store={config key="store_name"}} -{/block} diff --git a/templates/email/custom/account_changed_by_admin.txt b/templates/email/custom/account_changed_by_admin.txt deleted file mode 100644 index f3273c88..00000000 --- a/templates/email/custom/account_changed_by_admin.txt +++ /dev/null @@ -1,18 +0,0 @@ -{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"}}. - -{loop name="cust_info" type="customer" id={$customer_id} current="false"} - {intl l="To login, please use the email address %email" email={$EMAIL}} -{/loop} - - {if ! empty($password)} - {intl l="Your new password is %pass" pass={$password}} -{/if} - -{intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}. - -{intl l='Kind regards'}, -{intl l="The %store team." store={config key="store_name"}} - diff --git a/templates/email/custom/account_created_by_admin.html b/templates/email/custom/account_created_by_admin.html deleted file mode 100644 index ecc3bb91..00000000 --- a/templates/email/custom/account_created_by_admin.html +++ /dev/null @@ -1,31 +0,0 @@ -{extends file="email-layout.tpl"} - -{* Open in browser *} -{block name="browser"}{/block} - -{* No big image header *} -{block name="image-header"}{/block} - -{* No pre-header *} -{block name="pre-header"}{/block} - -{* Subject *} -{block name="email-subject"}{intl l="Your %store account" store={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{/block} - -{* Content *} -{block name="email-content"} - {intl l="Hello,"}

- {intl l="An account at %store_name has been created by one of our managers." store_name={config key="store_name"}}.

- {loop name="cust_info" type="customer" id={$customer_id} current="false"} - {intl l="To login, please use the email address %email" email={$EMAIL}}

- {/loop} - {if ! empty($password)} - {intl l="Your password is %pass" pass={$password}}

- {/if} - {intl l='You can change your password and your account details at any time in our store.' url={url path="/account"}}

- {intl l='Kind regards'},
- {intl l="The %store team." store={config key="store_name"}} -{/block} diff --git a/templates/email/custom/account_created_by_admin.txt b/templates/email/custom/account_created_by_admin.txt deleted file mode 100644 index 4bec08a6..00000000 --- a/templates/email/custom/account_created_by_admin.txt +++ /dev/null @@ -1,16 +0,0 @@ -{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"}}. - -{loop name="cust_info" type="customer" id={$customer_id} current="false"} - {intl l="To login, please use the email address %email" email={$EMAIL}} -{/loop} - -{intl l="Your password is %pass" pass={$password}} - -{intl l='You can change your password and your account details at any time in our store at %url.' url={url path="/account"}}. - -{intl l='Kind regards'}, -{intl l="The %store team." store={config key="store_name"}} - diff --git a/templates/email/custom/admin_password.html b/templates/email/custom/admin_password.html deleted file mode 100644 index af632294..00000000 --- a/templates/email/custom/admin_password.html +++ /dev/null @@ -1,26 +0,0 @@ -{extends file="email-layout.tpl"} - -{* Open in browser *} -{block name="browser"}{/block} - -{* No big image header *} -{block name="image-header"}{/block} - -{* No pre-header *} -{block name="pre-header"}{/block} - -{* Subject *} -{block name="email-subject"}{intl l="Your password for %store" store={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{/block} - -{* Content *} -{block name="email-content"} - {intl l="Hello,"}

- {intl l="You have requested a new password for your administrator account at %store_name" store_name={config key="store_name"}}.

- {intl l='Please click here to create a new password.' url={url path="/admin/password-create/$token"}}

- {intl l="You can also paste the URL below in you browser's address bar :

%url

" url={url path="/admin/password-create/$token"}}

- {intl l='If you don\'t requested a new password, please ignore this message.'}.

- {intl l='Have a nice day'} -{/block} diff --git a/templates/email/custom/admin_password.txt b/templates/email/custom/admin_password.txt deleted file mode 100644 index 63e0f573..00000000 --- a/templates/email/custom/admin_password.txt +++ /dev/null @@ -1,10 +0,0 @@ -{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"}}. - -{intl l="Please click here to define a new password: %url . You will be prompted to enter a new password." url={url path="/admin/password-create/$token"}} - -{intl l='If you don\'t requested a new password, please ignore this message.'}. - -{intl l='Have a nice day'} \ No newline at end of file diff --git a/templates/email/custom/assets/img/header.jpg b/templates/email/custom/assets/img/header.jpg deleted file mode 100644 index c80e1652..00000000 Binary files a/templates/email/custom/assets/img/header.jpg and /dev/null differ diff --git a/templates/email/custom/assets/img/logo.gif b/templates/email/custom/assets/img/logo.gif deleted file mode 100644 index cfa39664..00000000 Binary files a/templates/email/custom/assets/img/logo.gif and /dev/null differ diff --git a/templates/email/custom/composer.json b/templates/email/custom/composer.json deleted file mode 100644 index a9995d1e..00000000 --- a/templates/email/custom/composer.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "thelia/email-default-template", - "type": "thelia-email-template", - "require": { - "thelia/installer": "~1.1" - }, - "extra": { - "installer-name": "default" - } -} diff --git a/templates/email/custom/customer_confirmation.html b/templates/email/custom/customer_confirmation.html deleted file mode 100644 index ecbfc5ce..00000000 --- a/templates/email/custom/customer_confirmation.html +++ /dev/null @@ -1,29 +0,0 @@ -{extends file="email-layout.tpl"} - -{* Open in browser *} -{block name="browser"}{/block} - -{* No big image header *} -{block name="image-header"}{/block} - -{* No pre-header *} -{block name="pre-header"}{/block} - -{* Subject *} -{block name="email-subject"}{intl l='Confirm your %store account' store={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{/block} - -{* Content *} -{block name="email-content"} - {loop type="customer" name="confirmation" current=false id=$customer_id} -

{intl l="Welcome to %store," store={config key="store_name"}}

-

{intl l="To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar."}

-

{url path='/customer/confirm/%token' token=$CONFIRMATION_TOKEN}

-

- {intl l='Kind regards'},
- {intl l="The %store team." store={config key="store_name"}} -

- {/loop} -{/block} diff --git a/templates/email/custom/customer_confirmation.txt b/templates/email/custom/customer_confirmation.txt deleted file mode 100644 index 3e9fe847..00000000 --- a/templates/email/custom/customer_confirmation.txt +++ /dev/null @@ -1,11 +0,0 @@ -{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"}} -
-{intl l="To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar."} -
-{url path='/customer/confirm/%token' token=$CONFIRMATION_TOKEN} -
-{intl l='Kind regards'}, -{intl l="The %store team." store={config key="store_name"}} -{/loop} diff --git a/templates/email/custom/default-html-layout.tpl b/templates/email/custom/default-html-layout.tpl deleted file mode 100644 index ec72b3af..00000000 --- a/templates/email/custom/default-html-layout.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{*************************************************************************************/ -/* This file is part of the Thelia package. */ -/* */ -/* Copyright (c) OpenStudio */ -/* email : dev@thelia.net */ -/* web : http://www.thelia.net */ -/* */ -/* For the full copyright and license information, please view the LICENSE.txt */ -/* file that was distributed with this source code. */ -/*************************************************************************************} - -{* -This is the default HTML mail layout. Use {$message_body} as a placeholder for -the HTML message defined in the 'HTML Message' field in the back-office, or the -content of the selected template in the back-office. - -Be sure to use the nofilter modifier, to prevent HTML escaping. - -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.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 deleted file mode 100644 index e6c5169d..00000000 --- a/templates/email/custom/default-text-layout.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{*************************************************************************************/ -/* This file is part of the Thelia package. */ -/* */ -/* Copyright (c) OpenStudio */ -/* email : dev@thelia.net */ -/* web : http://www.thelia.net */ -/* */ -/* For the full copyright and license information, please view the LICENSE.txt */ -/* file that was distributed with this source code. */ -/*************************************************************************************} - -{* -This is the default TEXT mail layout. Use {$message_body} as a placeholder for -the text message defined in the 'TEXT Message' field in the back-office, or the -content of the selected template in the back-office. - -Be sure to use the nofilter modifier, to prevent HTML escaping. - -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.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 deleted file mode 100644 index 3863f917..00000000 --- a/templates/email/custom/email-layout.tpl +++ /dev/null @@ -1,482 +0,0 @@ -{default_translation_domain domain='email.custom'} -{default_locale locale={$locale}} -{declare_assets directory='assets'} -{assign var="url_site" value="{config key="url_site"}"} -{assign var="company_name" value="{config key="store_name"}"} -{if not $company_name} - {assign var="company_name" value="{intl l='Thelia V2'}"} -{/if} - - - - - -{block name="email-subject"}{/block} - - -{hook name="email-html.layout.css"} - - -
- - - - -
- - {block name="pre-header"} - - - - {/block} - - {block name="logo-header"} - - - - {/block} - - - - - - -
- - - - -
- - - - - - -
- {block name="email-intro"}{/block} - - {block name="browser"}{intl l="Email not displaying correctly?"}
{intl l="View it in your browser"}.{/block} -
-
-
- - - - -
- - - - -
- {local_media type="logo"} - {$company_name} - {/local_media} -
-
-
- - - - -
- - - - - - - -
- - - - -
- {block name="email-title"}{/block} -
-
- - {block name="image-header"} - - - - {/block} - - - -
- {local_media type="banner"} - - {/local_media} -
- {block name="email-content"}{/block} -
-
-
-
- - - - -
- {hook name="email-html.layout.footer"} - {elsehook rel="email-html.layout.footer"} - - - - -
- {intl l="Our mailing address is:"} -
- {config key="store_address1"} {config key="store_address2"} {config key="store_address3"}
- {config key="store_zipcode"} {config key="store_city"}, - {if {config key="store_country"} } - {loop type="country" name="address.country.title" id={config key="store_country"}}, {$TITLE}{/loop} - {/if} -
-
- {intl l="Copyright"} © {'Y'|date} {$company_name}, {intl l="All rights reserved."} -
- {/elsehook} -
-
-
-
- - diff --git a/templates/email/custom/newsletter_subscription_confirmation.html b/templates/email/custom/newsletter_subscription_confirmation.html deleted file mode 100644 index afa22531..00000000 --- a/templates/email/custom/newsletter_subscription_confirmation.html +++ /dev/null @@ -1,24 +0,0 @@ -{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"}{intl l="Your subscriotion to %store newsletter" store={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{/block} - -{* Content *} -{block name="email-content"} - {if $firstname || $lastname} -

{intl l="Dear %firstname %lastname," firstname=$firstname lastname=$lastname}

- {else} -

{intl l="Hello,"}

- {/if} -

{intl l="Thank you for your registration. You'll now receive the %store newsletter on your email address %email." store={config key="store_name"} email=$email}

-

{intl l="To unsubscribe from our newsletter, please click here." unsublink={url path="/newsletter-unsubscribe" email=$email}}

-

{intl l="The %store team." store={config key="store_name"}}

-{/block} \ No newline at end of file diff --git a/templates/email/custom/newsletter_subscription_confirmation.txt b/templates/email/custom/newsletter_subscription_confirmation.txt deleted file mode 100644 index 8fdbe9d0..00000000 --- a/templates/email/custom/newsletter_subscription_confirmation.txt +++ /dev/null @@ -1,10 +0,0 @@ -{default_translation_domain domain='email.custom'} -{if $firstname || $lastname} -{intl l="Dear %firstname %lastname," firstname=$firstname lastname=$lastname} -{else} -{intl l="Hello,"} -{/if} -{intl l="Thank you for your registration. You'll now receive the %store newsletter on your email address %email." store={config key="store_name"} email=$email} -{intl l="To unsubscribe from our newsletter, please go to the following web address:"} - {url path="/newsletter-unsubscribe" email=$email} -{intl l="The %store team." store={config key="store_name"}} \ No newline at end of file diff --git a/templates/email/custom/order_confirmation.html b/templates/email/custom/order_confirmation.html deleted file mode 100644 index e25af947..00000000 --- a/templates/email/custom/order_confirmation.html +++ /dev/null @@ -1,149 +0,0 @@ -{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"}{intl l="Your order confirmation Nº %ref" ref={$order_ref}}{/block} - -{* Title *} -{block name="email-title"}{intl l="Thank you for your order!"}{/block} - -{* Content *} -{block name="email-content"} - - {loop name="order.invoice" type="order" id=$order_id customer="*"} - {loop name="currency.order" type="currency" id=$CURRENCY} - {assign var="orderCurrencyIsoCode" value=$ISOCODE} - {/loop} - {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"} - {assign var="customerRef" value=$REF} - {/loop} - - {hook name="email-html.order-confirmation.before-address" order=$order_id} - - {intl l="Here are the details of your purchase:"}

- - - - - - -
- {intl l="Delivery address:"}
- {ifhook rel="email-html.order-confirmation.delivery-address"} - {* delivery module can customize the delivery address *} - {hook name="email-html.order-confirmation.delivery-address" module={$DELIVERY_MODULE} order=$order_id} - {/ifhook} - {elsehook rel="email-html.order-confirmation.delivery-address"} - {format_address order_address=$DELIVERY_ADDRESS locale=$locale} - {/elsehook} -
- {intl l="Billing address:"}
- {format_address order_address=$INVOICE_ADDRESS locale=$locale} -
- - {hook name="email-html.order-confirmation.after-address" order=$order_id} - -
- -

- {intl l="Order Total:"} {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}
- {intl l="Order Number:"} {$REF}
- {intl l="Paid With:"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
- {intl l="Purchase Date:"} {format_date date=$CREATE_DATE output="datetime"}
- {intl l="Delivery method:"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
-

- - {hook name="email-html.order-confirmation.before-products" order=$order_id} - - - - - - - {$subtotal = 0} - {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} - - - - - - {hook name="email-html.order-confirmation.order-product" order="{$order_id}" order_product="{$ID}"} - - {/loop} - - - - - {if $DISCOUNT > 0} - - - - - - - - - {/if} - - - - - - - - -
{intl l="What You Purchased"}{intl l="Price in"} {$orderCurrencyIsoCode}
- {$TITLE} ({$REF}{if $REF != $PRODUCT_SALE_ELEMENTS_REF}, {$PRODUCT_SALE_ELEMENTS_REF}{/if}) - {ifloop rel="combinations"}
- {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - * {$ATTRIBUTE_TITLE}: {$ATTRIBUTE_AVAILABILITY_TITLE} - {/loop} - {/ifloop} - {hook name="email-html.order-confirmation.product-list" order=$order_id order_product=$ID} -
- {$QUANTITY} x {format_money number=$realTaxedPrice currency_id=$CURRENCY} - {$subtotal = $subtotal + $realTaxedPrice * $QUANTITY} -
{intl l="Subtotal"}{format_money number=$subtotal currency_id=$CURRENCY}
{intl l="Discount"}{format_money number=$DISCOUNT currency_id=$CURRENCY}
{intl l="Total"}{format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}
{intl l="Shipping:"}{format_money number=$POSTAGE currency_id=$CURRENCY}
{intl l="Order Total"}{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}
- {/loop} - - {hook name="email-html.order-confirmation.after-products" order=$order_id} - -
- - {ifhook rel="email-html.order-confirmation.footer"} - {hook name="email-html.order-confirmation.footer" order=$order_id} - {/ifhook} - {elsehook rel="email-html.order-confirmation.footer"} -

{intl l="View this order in your account at %shop_name" shop_name={config key="store_name"}}

- -
- -

{intl l="Support"}

- {intl l='For any questions, or concerns, feel free to contact %mail.' mail={config key="store_email"}}

- {intl l="Our contact us at:"}
- {config key="store_name"}
- {config key="store_address1"}
- {config key="store_zipcode"}, {config key="store_city"}
- {if {config key="store_country"}} - {loop type="country" name="store_country" id={config key="store_country"}} - {$TITLE} - {/loop} - {/if} -
-
- {intl l="Thanks"}
- {/elsehook} -{/block} diff --git a/templates/email/custom/order_confirmation.txt b/templates/email/custom/order_confirmation.txt deleted file mode 100644 index c1a8f744..00000000 --- a/templates/email/custom/order_confirmation.txt +++ /dev/null @@ -1,54 +0,0 @@ -{default_translation_domain domain='email.custom'} -{loop name="order.invoice" type="order" id=$order_id customer="*"} -{intl l="Hello,"} - -{intl l="Here is the details of your order %ref placed on %date" ref={$REF} date={format_date date=$INVOICE_DATE}} -{hook name="email-txt.order-confirmation.before-address" order=$order_id} - -{intl l="Your delivery address"} -{ifhook rel="email-txt.order-confirmation.delivery-address"} -{hook name="email-txt.order-confirmation.delivery-address" module={$DELIVERY_MODULE} order=$order_id} -{/ifhook} -{elsehook rel="email-txt.order-confirmation.delivery-address"} -{format_address order_address=$DELIVERY_ADDRESS locale=$locale html="0"} -{/elsehook} - -{intl l="Your billing address"} -{format_address order_address=$INVOICE_ADDRESS locale=$locale html="0"} - -{hook name="email-txt.order-confirmation.after-address" order=$order_id} - -{intl l="Items ordered:"} -{hook name="email-txt.order-confirmation.before-products" order=$order_id} -{loop type="order_product" name="order-products" order=$ID} -{strip} -{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} -{/strip} - {intl l="Item : %item" item=$TITLE} -{ifloop rel="combinations"} - {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - - {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE} - {/loop} -{/ifloop} -{hook name="email-txt.order-confirmation.product-list" order=$order_id order_product=$ID} - {intl l="Quantity : %qty" qty=$QUANTITY} - {intl l="Unit price : %amount" amount={format_money number=$realTaxedPrice currency_id=$CURRENCY}} - {hook name="email-txt.order-confirmation.order-product" order="{$order_id}" order_product="{$ID}"} -{/loop} ------------------------------------------ -{intl l="Items total : %amount" amount={format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}} -{intl l="Shipping : %amount" amount={format_money number=$POSTAGE currency_id=$CURRENCY}} -{intl l="Total due : %amount" amount={format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}} -================================== -{hook name="email-txt.order-confirmation.after-products" order=$order_id} - -{intl l="Your invoice is available in your customer account at %url" url={config key="url_site"}} -{/loop} \ No newline at end of file diff --git a/templates/email/custom/order_notification.html b/templates/email/custom/order_notification.html deleted file mode 100644 index ddb7d97b..00000000 --- a/templates/email/custom/order_notification.html +++ /dev/null @@ -1,129 +0,0 @@ -{extends file="email-layout.tpl"} - -{* Do not provide a "Open in browser" link *} -{block name="browser"}{/block} -{* No big image header *} -{block name="image-header"}{/block} -{* No logo header *} -{block name="logo-header"}{/block} -{* No pre-header *} -{block name="pre-header"}{/block} - -{* Subject *} -{block name="email-subject"}{intl l="New order placed on %store_name Nº %ref" ref={$order_ref} store_name={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{intl l="Hello, a new order has been placed."}{/block} - -{* Content *} -{block name="email-content"} - {loop name="order.invoice" type="order" id=$order_id customer="*"} - {loop name="currency.order" type="currency" id=$CURRENCY} - {assign var="orderCurrencyIsoCode" value=$ISOCODE} - {/loop} - - {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"} - {assign var="customerRef" value=$REF} - {/loop} - -

{intl l="View this order in your shop back-office."}

- - {hook name="email-html.order-notification.before-address" order=$order_id} - - - - - - -
- {intl l="Customer delivery address:"}
- {ifhook rel="email-html.order-notification.delivery-address"} - {* delivery module can customize the delivery address *} - {hook name="email-html.order-notification.delivery-address" module={$DELIVERY_MODULE} order=$order_id} - {/ifhook} - {elsehook rel="email-html.order-notification.delivery-address"} - {format_address order_address=$DELIVERY_ADDRESS locale=$locale} - {/elsehook} -
- {intl l="Customer billing address:"}
- {format_address order_address=$INVOICE_ADDRESS locale=$locale} -
- - {hook name="email-html.order-notification.after-address" order=$order_id} - -

- {intl l="Order Total:"} {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}
- {intl l="Order Number:"} {$REF}
- {intl l="Paid With:"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}
- {intl l="Purchase Date:"} {format_date date=$CREATE_DATE output="datetime"}
- {intl l="Delivery method:"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}
-

- - {hook name="email-html.order-notification.before-products" order=$order_id} - - - - - - - {$subtotal = 0} - {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} - - - - - - {hook name="email-html.order-notification.order-product" order={$order_id} order_product={$ID}} - - {/loop} - - - - - {if $DISCOUNT > 0} - - - - - - - - - {/if} - - - - - - - - - -
{intl l="What You Purchased"}{intl l="Price in"} {$orderCurrencyIsoCode}
- {$TITLE} ({$REF}{if $REF != $PRODUCT_SALE_ELEMENTS_REF}, {$PRODUCT_SALE_ELEMENTS_REF}{/if}) - {ifloop rel="combinations"}
- {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - * {$ATTRIBUTE_TITLE}: {$ATTRIBUTE_AVAILABILITY_TITLE} - {/loop} - {/ifloop} -
- {$QUANTITY} x {format_money number=$realTaxedPrice currency_id=$CURRENCY} - {$subtotal = $subtotal + $realTaxedPrice * $QUANTITY} -
{intl l="Subtotal"}{format_money number=$subtotal currency_id=$CURRENCY}
{intl l="Discount"}{format_money number=$DISCOUNT currency_id=$CURRENCY}
{intl l="Total"}{format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}
{intl l="Shipping:"}{format_money number=$POSTAGE currency_id=$CURRENCY}
{intl l="Order Total"}{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}
- {/loop} - - {hook name="email-html.order-notification.after-products" order=$order_id} - -
- - {intl l="Have a nice day."}
-{/block} diff --git a/templates/email/custom/order_notification.txt b/templates/email/custom/order_notification.txt deleted file mode 100644 index 3c5d1111..00000000 --- a/templates/email/custom/order_notification.txt +++ /dev/null @@ -1,52 +0,0 @@ -{default_translation_domain domain='email.custom'} -{loop name="order.invoice" type="order" id=$order_id customer="*"} -{intl l="Hello"} - -{intl l="A new order ref. %ref has been placed on %date. Here are the details :" ref={$REF} date={format_date date=$INVOICE_DATE}} -{hook name="email-txt.order-notification.before-address" order=$order_id} - -{intl l="* Delivery address"} -{ifhook rel="email-txt.order-notification.delivery-address"} -{hook name="email-txt.order-notification.delivery-address" module={$DELIVERY_MODULE} order=$order_id} -{/ifhook} -{elsehook rel="email-txt.order-notification.delivery-address"} -{format_address order_address=$DELIVERY_ADDRESS locale=$locale html="0"} -{/elsehook} - -{intl l="* Billing address"} -{format_address order_address=$INVOICE_ADDRESS locale=$locale html="0"} - -{hook name="email-txt.order-notification.after-address" order=$order_id} - -{intl l="* Items ordered:"} -{hook name="email-txt.order-notification.before-products" order=$order_id} -{loop type="order_product" name="order-products" order=$ID} -{strip} -{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} -{/strip} - {intl l="Item : %item" item=$TITLE} -{ifloop rel="combinations"} - {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - - {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE} - {/loop} -{/ifloop} - {intl l="Quantity : %qty" qty=$QUANTITY} - {intl l="Unit price : %amount" amount={format_money number=$realTaxedPrice currency_id=$CURRENCY}} - {hook name="email-txt.order-notification.order-product" order="{$order_id}" order_product="{$ID}"} -{/loop} ------------------------------------------ -{intl l="Items total : %amount" amount={format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}} -{intl l="Shipping : %amount" amount={format_money number=$POSTAGE currency_id=$CURRENCY}} -{intl l="Total due : %amount" amount={format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}} -{hook name="email-txt.order-notification.after-products" order=$order_id} - -{intl l="Have a nice day."} -{/loop} diff --git a/templates/email/custom/password.html b/templates/email/custom/password.html deleted file mode 100644 index 4f41ad67..00000000 --- a/templates/email/custom/password.html +++ /dev/null @@ -1,26 +0,0 @@ -{extends file="email-layout.tpl"} - -{* Open in browser *} -{block name="browser"}{/block} - -{* No big image header *} -{block name="image-header"}{/block} - -{* No pre-header *} -{block name="pre-header"}{/block} - -{* Subject *} -{block name="email-subject"}{intl l="Your password for %store" store={config key="store_name"}}{/block} - -{* Title *} -{block name="email-title"}{/block} - -{* Content *} -{block name="email-content"} - {intl l="Hello,"}

- {intl l="You have requested a new password for your account at %store_name" store_name={config key="store_name"}}.

- {intl l="Your new password is %pass" pass={$password}}

- {intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}.

- {intl l='Kind regards'},
- {intl l="The %store team." store={config key="store_name"}} -{/block} diff --git a/templates/email/custom/password.txt b/templates/email/custom/password.txt deleted file mode 100644 index e8e7916e..00000000 --- a/templates/email/custom/password.txt +++ /dev/null @@ -1,12 +0,0 @@ -{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"}}. - -{intl l="Your new password is %pass" pass=$password} - -{intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}. - -{intl l='Kind regards'}, -{intl l="The %store team." store={config key="store_name"}} - diff --git a/templates/email/custom/template.xml b/templates/email/custom/template.xml index c1fef006..bdd589d1 100644 --- a/templates/email/custom/template.xml +++ b/templates/email/custom/template.xml @@ -8,6 +8,7 @@ Default email template + default ar_SA cs_CZ diff --git a/templates/frontOffice/custom/404.html b/templates/frontOffice/custom/404.html deleted file mode 100644 index 9acbf0d8..00000000 --- a/templates/frontOffice/custom/404.html +++ /dev/null @@ -1,39 +0,0 @@ -{extends file="layout.tpl"} - -{* Body Class *} -{block name="body-class"}page-404{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="404"}, 'url'=>{url path="/404"}] - ]} -{/block} - -{block name="main-content"} -
-
- {ifhook rel="404.content"} - {hook name="404.content"} - {/ifhook} - {elsehook rel="404.content"} -

- 404 - {intl l="The page cannot be found"} -

- {/elsehook} -
-
-{/block} - -{block name="stylesheet"} -{hook name="404.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="404.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="404.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/LICENSE.txt b/templates/frontOffice/custom/LICENSE.txt deleted file mode 100644 index 65c5ca88..00000000 --- a/templates/frontOffice/custom/LICENSE.txt +++ /dev/null @@ -1,165 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. diff --git a/templates/frontOffice/custom/Readme.md b/templates/frontOffice/custom/Readme.md deleted file mode 100644 index 07911b4e..00000000 --- a/templates/frontOffice/custom/Readme.md +++ /dev/null @@ -1,38 +0,0 @@ -Readme -====== - -## This is the repository of Thelia default frontoffice template. All the pull requests on this repo will be ignored. -### If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project) -### If you want to contribute to Thelia, please take a look at [thelia/thelia](https://github.com/thelia/thelia) - -Thelia ------- -[![Build Status](https://travis-ci.org/thelia/thelia.png?branch=master)](https://travis-ci.org/thelia/thelia) [![License](https://poser.pugx.org/thelia/thelia/license.png)](https://packagist.org/packages/thelia/thelia) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/thelia/thelia/badges/quality-score.png?s=61e3e04a69bffd71c29b08e5392080317a546716)](https://scrutinizer-ci.com/g/thelia/thelia/) - -[Thelia](http://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL. - -This is the new major version of Thelia. - -You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information. - -A repository containing all thelia modules is available at this address : https://github.com/thelia-modules - -How to update this template ---------------------------- -If you want to customize the default template of Thelia, there are two possible solutions : - -### Simple configuration -The simple process to update this template is to work into the `assets/src` directory. -In fact, this folder contain the non minified version of assets. - -You can change change css rules and js code easily. - -### Advanced configuration -This method is more oriented for frontend developers. You have to work with Less, Grunt and Bower. - -So, after installing Grunt and Bower, do : ```bower init``` and ```npm install```. - -The Gruntfile include the watch component, so with ```grunt watch```, Grunt is always listening assets update and recompile theme automatically. - -The less files are into `assets/src/less` directory. After updating your less rules, do `grunt` to recompile your assets. -The compiled assets are put into the `assets/dist` directory. \ No newline at end of file diff --git a/templates/frontOffice/custom/account-order.html b/templates/frontOffice/custom/account-order.html deleted file mode 100644 index 60b20eda..00000000 --- a/templates/frontOffice/custom/account-order.html +++ /dev/null @@ -1,289 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} -{check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} -{$breadcrumbs = [ -['title' => {intl l="Account"}, 'url'=>{url path="/account"}], -['title' => {intl l="Order details"}, 'url'=>{url path="/account/order/%order_id" order_id=$order_id}] -]} -{/block} - -{block name="body-class"}page-account-order{/block} - -{block name="main-content"} -
- - {loop name="order" type="order" customer="current" id="$order_id" limit="1" } - - {$payment_id=$PAYMENT_MODULE} - {$delivery_id=$DELIVERY_MODULE} - {$status=$STATUS} - -
- -

{intl l="Order details %ref" ref={$REF}}

- - {hook name="account-order.top" order={$order_id}} - - {* Infos *} -
-
{intl l="REF"}
-
{$REF}
- -
{intl l="Created"}
-
{format_date date=$CREATE_DATE output="datetime"}
- -
{intl l="Status"}
-
{loop type="order-status" name="order_status" id=$STATUS}{$TITLE}{/loop}
- - {if $IS_PAID} -
{intl l="Invoice date"}
-
{format_date date=$INVOICE_DATE output="date"}
- - {if $INVOICE_REF} -
{intl l="Invoice REF"}
-
{$INVOICE_REF}
- {/if} - -
{intl l="PDF invoice"}
-
{intl l="Download"}
- {/if} - {if $DELIVERY_REF} -
{intl l="Delivery REF"}
-
{$DELIVERY_REF}
- {/if} -
{intl l="Customer Number"}
-
{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}
- - {hookblock name="account-order.information" order={$order_id} fields="title,value"} - {forhook rel="account-order.information"} -
{$title}
-
{$value}
- {/forhook} - {/hookblock} -
- - {hook name="account-order.after-information" order={$order_id}} - - {* Addresses *} -
-
-
-
{intl l="Delivery"}
-
-

{intl l="Delivery Mode"}

- {ifhook rel="account-order.delivery-information"} - {hook name="account-order.delivery-information" module={$delivery_id} order={$order_id}} - {/ifhook} - {elsehook rel="account-order.delivery-information"} -

{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}

- {/elsehook} - -

{intl l="Address"}

- - {ifhook rel="account-order.delivery-address"} - {* delivery module can customize the delivery address *} - {hook name="account-order.delivery-address" module={$delivery_id} order={$order_id}} - {/ifhook} - {elsehook rel="account-order.delivery-address"} - {format_address order_address=$DELIVERY_ADDRESS} - {/elsehook} - - {hook name="account-order.delivery-address-bottom" module={$delivery_id} order={$order_id}} -
-
-
-
-
-
{intl l="Billing"}
-
-

{intl l="Billing Mode"}

- {ifhook rel="account-order.invoice-information"} - {hook name="account-order.invoice-information" module={$payment_id} order={$order_id}} - {/ifhook} - {elsehook rel="account-order.invoice-information"} -

{loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}

- {if $TRANSACTION_REF} -

{intl l="Transaction REF : %ref" ref={$TRANSACTION_REF}}

- {/if} - {/elsehook} - -

{intl l="Address"}

- - {ifhook rel="account-order.invoice-address"} - {* payment module can customize the delivery address *} - {hook name="account-order.invoice-address" module={$payment_id} order={$order_id}} - {/ifhook} - {elsehook rel="account-order.invoice-address"} - {format_address order_address=$INVOICE_ADDRESS} - {/elsehook} - - {hook name="account-order.invoice-address-bottom" module={$payment_id} order={$order_id}} -
-
-
-
- - {hook name="account-order.after-addresses" order={$order_id}} - - {* products *} - - - - - - - - - - - - - {ifhook rel="account-order.products-top"} - - - - {/ifhook} - - {loop type="order_product" name="order-products" order=$ID} - {$taxes[{$TAX_RULE_TITLE}][] = $REAL_PRICE_TAX * $QUANTITY} - - - - - - - - - {ifhook rel="account-order.product-extra"} - - - - {/ifhook} - {/loop} - - {ifhook rel="account-order.products-bottom"} - - - - {/ifhook} - - -
- - {intl l="Name"} - - - {intl l="Price"} - - - {intl l="Taxed Price"} - - - {intl l="Qty"} - - - {intl l="Total"} -
- {hook name="account-order.products-top" order={$order_id}} -
-

{$TITLE}

- {ifloop rel="combinations"} -

- {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
- {/loop} -

- {/ifloop} - {hook name="account-order.product-list" order_id={$order_id} order_product_id={$ID} product={$PRODUCT_ID}} -

{format_money number=$REAL_PRICE currency_id=$CURRENCY}

{format_money number=$REAL_TAXED_PRICE currency_id=$CURRENCY}

{$QUANTITY}

{format_money number=$REAL_TOTAL_TAXED_PRICE currency_id=$CURRENCY}

- {hook name="account-order.product-extra" order={$order_id} order_product={$ID} product={$PRODUCT_ID}} -
- {hook name="account-order.products-bottom" order={$order_id}} -
- - {hook name="account-order.after-products" order={$order_id}} - -
-
- - - - - - - - {capture name="tax"}{strip} - {foreach $taxes as $name=>$prices} - {assign var="_price_taxe_" value="0"} - {foreach $prices as $price} - {$_price_taxe_= $_price_taxe_ + $price} - {/foreach} - {if $_price_taxe_ != 0} - - - - - {/if} - {/foreach} - {/strip}{/capture} - - {if $smarty.capture.tax ne ""} - {$smarty.capture.tax nofilter} - {/if} - - - - - {if $DISCOUNT > 0} - - - - - {/if} - - - - - - - - - -

{intl l="Total without tax"}

{format_money number={$TOTAL_ITEMS_AMOUNT} currency_id=$CURRENCY}

{$name}

{format_money number=$_price_taxe_ currency_id=$CURRENCY}

{intl l="Total with tax"}

{format_money number={$TOTAL_TAXED_ITEMS_AMOUNT} currency_id=$CURRENCY}

-

{intl l="Discount with tax"}

-

{intl l="Tax: %tax" tax={format_money number=$DISCOUNT_TAX currency_id=$CURRENCY}}

-

-{format_money number=$DISCOUNT currency_id=$CURRENCY}

-

{intl l="Postage"}

- {if $POSTAGE_TAX != 0} -

{intl l="Tax %name: %tax" name=$POSTAGE_TAX_RULE_TITLE tax={format_money number=$POSTAGE_TAX currency_id=$CURRENCY}}

- {/if} -

{format_money number=$POSTAGE curency_id=$CURRENCY}

{intl l="Total"}

{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}

-
-
- - {hook name="account-order.bottom" order={$order_id}} - -
- - {/loop} - -
-{/block} - -{block name="stylesheet"} -{hook name="account-order.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="account-order.after-javascript-include" order=$order_id} -{/block} - -{block name="javascript-initialization"} -{hook name="account-order.javascript-initialization" order=$order_id} -{/block} diff --git a/templates/frontOffice/custom/account-password.html b/templates/frontOffice/custom/account-password.html deleted file mode 100644 index 47035132..00000000 --- a/templates/frontOffice/custom/account-password.html +++ /dev/null @@ -1,108 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-account-password{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Account"}, 'url'=>{url path="/account"}], - ['title' => {intl l="Change Password"}, 'url'=>{url path="/account/password"}] - ]} -{/block} - -{block name="main-content"} - -
- -
- -

{intl l="Change Password"}

- - {hook name="account-password.top"} - {form name="thelia.front.customer.password.update"} -
- {form_field field='success_url'} - - {/form_field} - - {form_hidden_fields} - - {if $form_error}
{$form_error_message}
{/if} - -
-
- {intl l="Login Information"} -
- -
- {form_field field="password_old"} -
- -
- - {if $error} - {$message} - {assign var="error_focus" value="true"} - {elseif !$value} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="password"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - {form_field field="password_confirm"} -
- -
- - {if $error } - {$message} - {/if} -
-
- {/form_field} -
-
- -
-
- -
-
-
- {/form} - {hook name="account-password.bottom"} -
- -
-{/block} - -{block name="stylesheet"} -{hook name="account-password.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="account-password.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="account-password.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/account-update.html b/templates/frontOffice/custom/account-update.html deleted file mode 100644 index ecddd1a6..00000000 --- a/templates/frontOffice/custom/account-update.html +++ /dev/null @@ -1,186 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-account-update{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Account"}, 'url'=>{url path="/account"}], - ['title' => {intl l="Update Profile"}, 'url'=>{url path="/account/update"}] - ]} -{/block} - -{block name="main-content"} -
- -
- -

{intl l="Update Profile"}

- - {hook name="account-update.top"} - - {form name="thelia.front.customer.profile.update"} -
- {form_field field='success_url'} - - {/form_field} - - {form_hidden_fields} - - {if $form_error}
{$form_error_message}
{/if} - - {hook name="account-update.form-top"} - -
-
- {intl l="Personal Information"} -
- -
- {form_field field="title"} -
- -
- - {if $error} - {$message} - {assign var="error_focus" value="true"} - {elseif !$value} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - {form_field field="firstname"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="lastname"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="lang_id"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {assign var="customer_change_email" value={config key="customer_change_email"}} - - {form_field field="email"} -
- - -
- - {if !$customer_change_email} - - {/if} - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {if {config key="customer_confirm_email"} && $customer_change_email} - {form_field field="email_confirm"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - {/if} -
-
- - {form_field field="newsletter"} -
-
-
- - {if $error } - {$message} - {/if} -
-
-
- {/form_field} - - {hook name="account-update.form-bottom"} - -
-
- -
-
-
- {/form} - - {hook name="account-update.bottom"} -
- -
-{/block} - -{block name="stylesheet"} -{hook name="account-update.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="account-update.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="account-update.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/account.html b/templates/frontOffice/custom/account.html deleted file mode 100644 index a5c29f81..00000000 --- a/templates/frontOffice/custom/account.html +++ /dev/null @@ -1,222 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Account"}, 'url'=>{url path="/account"}] - ]} -{/block} - -{block name="body-class"}page-account{/block} - -{block name="main-content"} -
- -
- -

{intl l="My Account"}

- - {hook name="account.top"} -
- - - - {hookblock name="account.additional" fields="id,title,content"} - {forhook rel="account.additional"} - - {/forhook} - {/hookblock} -
- {hook name="account.bottom"} -
- -
-{/block} - -{block name="stylesheet"} -{hook name="account.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="account.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="account.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/address-update.html b/templates/frontOffice/custom/address-update.html deleted file mode 100644 index 3ed23927..00000000 --- a/templates/frontOffice/custom/address-update.html +++ /dev/null @@ -1,322 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-address{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Account"}, 'url'=>{url path="/account"}], - ['title' => {intl l="Address Update"}, 'url'=>{url path="/address/update/%address_id" address_id=$address_id}] - ]} -{/block} - -{block name="main-content"} -
- -
- -

{intl l="Address Update"}

- - {hook name="address-update.top"} - - {form name="thelia.front.address.update"} - {loop name="customer.update" type="address" customer="current" id=$address_id} -
- {form_field field='success_url'} - {if $value} - {$next_url=$value} - {else} - {$next_url=$smarty.get.next|default:{url path="/account"}} - {/if} - - {/form_field} - - {form_field field='error_message'} - - {/form_field} - {form_hidden_fields} - {if $form_error}
{$form_error_message}
{/if} - - {hook name="address-update.form-top" address=$address_id} - -
-
- {intl l="Address"} -
- -
- {form_field field="label"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {elseif !$value} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="title"} - {assign var="customer_title_id" value={$value|default:$TITLE}} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="firstname"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - - {form_field field="lastname"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="company"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="address1"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="address2"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="zipcode"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="city"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="country"} - {assign var="customer_country_id" value={$value|default:$COUNTRY}} - {$countryFieldId=$label_attr.for} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="state"} - {assign var="customer_state_id" value={$value|default:$STATE}} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="phone"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="cellphone"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} -
-
- - {form_field field="is_default"} - {if not $DEFAULT} -
-
-
- -
-
-
- - {/if} - {/form_field} - - {hook name="address-update.form-bottom" address=$address_id} - -
-
- -
-
- -
- {/loop} - {/form} - {hook name="address-update.bottom" address=$address_id} -
- -
-{/block} - -{block name="stylesheet"} -{hook name="address-update.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="address-update.after-javascript-include" address=$address_id} -{/block} - -{block name="javascript-initialization"} -{hook name="address-update.javascript-initialization" address=$address_id} -{/block} diff --git a/templates/frontOffice/custom/address.html b/templates/frontOffice/custom/address.html deleted file mode 100644 index 4435fe8f..00000000 --- a/templates/frontOffice/custom/address.html +++ /dev/null @@ -1,307 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-address{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Account"}, 'url'=>{url path="/account"}], - ['title' => {intl l="Add a new address"}, 'url'=>{url path="/address/create"}] - ]} -{/block} - -{block name="main-content"} -
- -
- -

{intl l="Create New Address"}

- - {hook name="address-create.top"} - - {form name="thelia.front.address.create"} -
- {form_field field='success_url'} - {if $value} - {$next_url=$value} - {else} - {$next_url=$smarty.get.next|default:{url path="/account"}} - {/if} - - {/form_field} - - {form_field field='error_message'} - - {/form_field} - {form_hidden_fields} - {if $form_error}
{$form_error_message}
{/if} - - {hook name="address-create.form-top"} - -
-
- {intl l="Address"} -
- -
- {form_field field="label"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {elseif !$value} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="title"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="firstname"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - - {form_field field="lastname"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="company"} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="address1"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="address2"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="zipcode"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="city"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="country"} - {assign var="customer_country_id" value={$value|default:$COUNTRY}} - {$countryFieldId=$label_attr.for} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="state"} - {assign var="customer_state_id" value={$value|default:$STATE}} -
- -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - - {form_field field="phone"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} - - {form_field field="cellphone"} -
- - -
- - {if $error } - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- - {/form_field} -
-
- - {form_field field="is_default"} -
-
-
- -
-
-
- - {/form_field} - - {hook name="address-create.form-bottom"} - -
-
- -
-
- -
- {/form} - - {hook name="address-create.bottom"} -
- -
-{/block} - -{block name="stylesheet"} -{hook name="address-create.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="address-create.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="address-create.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/ajax/order-delivery-module-list.html b/templates/frontOffice/custom/ajax/order-delivery-module-list.html deleted file mode 100644 index b8ffa438..00000000 --- a/templates/frontOffice/custom/ajax/order-delivery-module-list.html +++ /dev/null @@ -1,62 +0,0 @@ -{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} -{default_translation_domain domain='fo.custom'} - -{form name="thelia.order.delivery"} - -{ifloop rel="deliveries"} - - - {loop type="delivery" name="deliveries" force_return="true" address=$address} - - {assign var="isDeliveryMethodChecked" value="0"} - - - - - - - {hook name="order-delivery.extra" module="$ID"} - {hook name="order-delivery.javascript" module="$ID"} - - {/loop} -{/ifloop} -{elseloop rel="deliveries"}
{intl l="Sorry! We are not able to give you a delivery method for your order."}
{/elseloop} -{/form} \ No newline at end of file diff --git a/templates/frontOffice/custom/badresponse.html b/templates/frontOffice/custom/badresponse.html deleted file mode 100644 index 84d0142f..00000000 --- a/templates/frontOffice/custom/badresponse.html +++ /dev/null @@ -1,51 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} -{$breadcrumbs = [ -['title' => {intl l="Redirect to bank service"}] -]} -{/block} - -{block name="body-class"}page-gotobankservice{/block} - -{block name="main-content"} -
- -
- {intl l="A problem occured"}. -
- -
-

- {$msg}
- {loop name="badresponseorder" type="order" id={$order_id}} - {$REF} - {/loop} -
- {intl l="Please try again to order"} -

-
-
- - {intl l="Home"} - -{/block} - - -{block name="stylesheet"} -{hook name="badresponseorder.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="badresponseorder.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="badresponseorder.javascript-initialization"} -{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/bower.json b/templates/frontOffice/custom/bower.json deleted file mode 100644 index 92410d53..00000000 --- a/templates/frontOffice/custom/bower.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "Default", - "version": "1.0.0", - "authors": [ - "Michael Espeche " - ], - "description": "Default template for Thelia 2", - "keywords": [ - "template", - "default", - "thelia" - ], - "license": "LGPL-3.0+", - "dependencies": { - "html5shiv": "~3.7.2", - "respond": "~1.4.2", - "jquery": "~2.1.3", - "bootstrap": "~3.3.4", - "fontawesome": "~4.3.0", - "bootbox": "~4.4.0" - } -} diff --git a/templates/frontOffice/custom/brand.html b/templates/frontOffice/custom/brand.html deleted file mode 100644 index c1ecea7f..00000000 --- a/templates/frontOffice/custom/brand.html +++ /dev/null @@ -1,178 +0,0 @@ -{extends file="layout.tpl"} - -{block name="init"} -{$brand_id={brand attr="id"}} -{/block} - -{* Body Class *} -{block name="body-class"}page-brand{/block} - -{* Page Title *} -{block name='no-return-functions' append} -{if $brand_id} - {loop name="brand.seo.title" type="brand" id=$brand_id limit="1"} - {$page_title = $META_TITLE} - {/loop} -{/if} -{/block} - -{* Meta *} -{block name="meta"} -{if $brand_id} - {loop name="brand.seo.meta" type="brand" id=$brand_id limit="1"} - {include file="includes/meta-seo.html"} - {/loop} -{/if} -{/block} - -{* Feeds *} -{block name="feeds"} -{if $brand_id} - -{/if} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} -{if $brand_id} - {$breadcrumbs = []} - {if $brand_id} - {loop type="brand" name="brand-breadcrumb" id=$brand_id limit="1"} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} - {else} - {$breadcrumbs[] = ['title' => {intl l="All brands"}, 'url'=> '']} - {/if} -{/if} -{/block} - -{block name="main-content"} -{hook name="brand.top" brand="$brand_id"} - {if $brand_id} -
- {$limit={$smarty.get.limit|default:8}} - {$product_page={$smarty.get.page|default:1}} - {$product_order={$smarty.get.order|default:'alpha'}} - {$mode=$smarty.get.mode|default:'grid'} - - {hook name="brand.main-top" brand="$brand_id"} - -
- - {hook name="brand.content-top" brand="$brand_id"} - - {loop name="brand.info" type="brand" id=$brand_id limit="1"} -
-

{$TITLE}

- - {loop name="brand.image" type="image" source="brand" id={$LOGO_IMAGE_ID} width=218 height=146 resize_mode="borders"} -

{$TITLE}

- {/loop} - - {if $CHAPO} -
- {$CHAPO} -
- {/if} - {if $DESCRIPTION} -
- {$DESCRIPTION nofilter} -
- {/if} - {if $POSTSCRIPTUM} - - {$POSTSCRIPTUM} - - {/if} -
- - {ifloop rel="product_list"} -
- - {assign var="amount" value={count type="product" brand=$ID}} - - {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}} - -
-
-
    - {loop type="product" name="product_list" brand=$ID limit=$limit page=$product_page order=$product_order} - {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true hasQuickView=true width="218" height="146"} - {/loop} -
-
-
- - {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}} - {/ifloop} - - {elseloop rel="product_list"} -
- {intl l="No products available in this brand"} -
- {/elseloop} - - {hook name="brand.content-bottom" brand="$brand_id"} - {/loop} -
- - - - {hook name="brand.main-bottom" brand="$brand_id"} - -
- {else} -
- {hook name="brand.main-top"} -
- {hook name="brand.content-top"} - {ifloop rel="brands"} - - {/ifloop} - {elseloop rel="brand_logo"} - - {/elseloop} - {hook name="brand.content-bottom"} -
- {hook name="brand.main-bottom"} -
- {/if} - {hook name="brand.bottom" brand="$brand_id"} -{/block} - -{block name="stylesheet"} -{hook name="brand.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="brand.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="brand.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/cart.html b/templates/frontOffice/custom/cart.html deleted file mode 100644 index 6f075f2a..00000000 --- a/templates/frontOffice/custom/cart.html +++ /dev/null @@ -1,297 +0,0 @@ -{extends file="layout.tpl"} - -{block name="init"} - {$errorStock = "FALSE"} -{/block} - -{* Body Class *} -{block name="body-class"}page-cart{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}] - ]} -{/block} - -{block name="main-content"} -
-
- -

{intl l="Your Cart"}

- - - {ifloop rel="cartloop"} - {include file="misc/checkout-progress.tpl" step="cart"} - - {hook name="cart.top"} - -
-
-
- {form_field field='delivery-module'} - {if $isPost} - {if $value == $ID} - {assign var="isDeliveryMethodChecked" value="1"} - {/if} - {elseif $LOOP_COUNT == 1} - {assign var="isDeliveryMethodChecked" value="1"} - {/if} - - {/form_field} -
-
- {loop type="image" name="deliveryspicture" source="module" source_id=$ID force_return="true" width="100" height="72"} - {$TITLE} - {/loop} - -
- {if $POSTAGE} - {format_money number=$POSTAGE symbol={currency attr='symbol'}} - {else} -   - {/if} -
-
- - - - - - - - - - - - - - - - - - {loop type="cart" name="cartloop"} - - - - - - - - {/loop} - {if {cart attr="is_virtual"} != 1} - {postage} - {assign var="postageAmount" value=$postage } - - - - - - - {/postage} - {else} - {assign var="postageAmount" value=0 } - {/if} - - - - - - - {$discount={order attr="discount"}} - {if $discount > 0} - - - - - - {/if} - - - - - - -
  - - {intl l="Name"} - - - {intl l="Price"} - - - {intl l="Qty"} - - - {intl l="Total"} -
- - {assign var="product_image_url" value=null} - {ifloop rel="pse-first-image"} - {loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id=$PRODUCT_SALE_ELEMENTS_ID limit="1"} - {loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} - {assign var="product_image_url" value=$IMAGE_URL} - {/loop} - {/loop} - {/ifloop} - {elseloop rel="pse-first-image"} - {loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} - {assign var="product_image_url" value=$IMAGE_URL} - {/loop} - {/elseloop} - {if $product_image_url} - Product #{$LOOP_COUNT} - {else} - Product #{$LOOP_COUNT} - {/if} - - -

{$TITLE}

-
-
-
{intl l="Available"} :
- {if $STOCK > 0} -
{intl l="In Stock"}
- {else} - {$errorStock="TRUE"} -
{intl l="Out of Stock"}
- {/if} - {loop type="product_sale_elements" name="ref" id=$PRODUCT_SALE_ELEMENTS_ID} -
{intl l="No."}
-
{$REF}
- {/loop} - {loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID" order="manual"} -
{$ATTRIBUTE_TITLE}
-
{$ATTRIBUTE_AVAILABILITY_TITLE}
- {/loop} -
-
- {intl l="Remove"} -
-
{format_money number=$REAL_TAXED_PRICE}
- {if $IS_PROMO == 1} - {intl l="instead of"} {format_money number=$TAXED_PRICE} - {/if} -
-
-
- - -
- {if $STOCK <= 500} - - {else} - - {/if} -
- -
-
-
- {format_money number=$REAL_TOTAL_TAXED_PRICE} -
-
-

- {intl l="Estimated shipping "} - {if $is_customizable == false} - {loop type="country" name="countryLoop" id="$country_id"} - {intl l="for"} {$TITLE} - {/loop} - {/if} -

- {if $is_customizable} -
- - - {intl l="update"} -
- {/if} - {if $delivery_id != 0 } -
- {intl l="with:"} {loop type="module" name="deliveryLoop" id=$delivery_id}{$TITLE} {/loop} -
- {else} -
- {intl l="No deliveries available for this cart and this country"} -
- {/if} -
-
{format_money number=$postage}-{format_money number=$postage}
  - {form name="thelia.order.coupon"} -
- {form_hidden_fields} - - {form_field field='success_url'} - - {/form_field} - - {form_field field='error_url'} - - {/form_field} - - {form_field field='coupon-code'} -
-
- - - - - -
- {if $form_error_message}{$form_error_message nofilter}{/if} -
- {/form_field} -
- {/form} -
 {intl l="Discount incl. taxes"}-{format_money number=$discount}
 {intl l="Total incl. taxes"} -
- {format_money number={cart attr='total_taxed_price'} + $postageAmount} -
-
-
- - {intl l="Continue Shopping"} - {intl l="Proceed checkout"} - - {/ifloop} - {elseloop rel="cartloop"} -
- {intl l="Warning"}! {intl l="You have no items in your shopping cart."} -
- {/elseloop} - - {hook name="cart.bottom"} - - - - {ifloop rel="product_upsell"} - - {/ifloop} - -
-{/block} - -{block name="after-javascript-include"} - -{hook name="cart.after-javascript-include"} -{/block} - -{block name="stylesheet"} -{hook name="cart.stylesheet"} -{/block} - -{block name="javascript-initialization"} -{hook name="cart.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/category.html b/templates/frontOffice/custom/category.html deleted file mode 100644 index 18725424..00000000 --- a/templates/frontOffice/custom/category.html +++ /dev/null @@ -1,149 +0,0 @@ -{extends file='layout.tpl'} - -{block name="init"} -{$category_id={category attr="id"}} -{/block} - - -{* Body Class *} -{block name="body-class"}page-category{/block} - -{* Page Title *} -{block name='no-return-functions' append} -{if $category_id} - {loop name="category.seo.title" type="category" id=$category_id limit="1"} - {$page_title = $META_TITLE} - {/loop} -{/if} -{/block} - -{* Meta *} -{block name="meta"} -{if $category_id} - {loop name="category.seo.meta" type="category" id=$category_id limit="1"} - {include file="includes/meta-seo.html"} - {/loop} -{/if} -{/block} - -{* Feeds *} -{block name="feeds"} -{if $category_id} - -{/if} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} -{if $category_id} - {$breadcrumbs = []} - {loop name="category_path" type="category-path" category=$category_id} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} -{/if} -{/block} - -{* Content *} -{block name="main-content"} - -{$limit={$smarty.get.limit|default:8}} -{$product_page={$smarty.get.page|default:1}} -{$product_order={$smarty.get.order|default:'alpha'}} - -{hook name="category.top" category="$category_id"} - -
- - {hook name="category.main-top" category="$category_id"} - -
- - {hook name="category.content-top" category="$category_id"} - - {if #category_display_detail# && $category_id} -
- {loop name="category.description" type="category" id={$category_id} limit="1" } -

{category attr="title"}

- {loop name="category.image" type="image" source="category" source_id={$ID} width=218 height=146 resize_mode="borders"} -

{$TITLE}

- {/loop} - {if $DESCRIPTION} -
- {$DESCRIPTION nofilter} -
- {/if} - {if $POSTSCRIPTUM} - - {$POSTSCRIPTUM} - - {/if} - {/loop} -
-
- {/if} - - {if #category_display_subcategories#} - {ifloop rel="subcategories"} - - {/ifloop} - {/if} - - {ifloop rel="product_list"} - {$amount={count type="product" category=$category_id}} - - {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}} - -
-
-
    - {loop type="product" name="product_list" category=$category_id limit=$limit page=$product_page order=$product_order} - {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true hasQuickView=true width="218" height="146"} - {/loop} -
-
-
- - {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}} - {/ifloop} - - {elseloop rel="product_list"} -
- {intl l="No products available in this category"} -
- {/elseloop} - - {hook name="category.content-bottom" category="$category_id"} -
- - - - {hook name="category.main-bottom" category="$category_id"} - -
- {hook name="category.bottom" category="$category_id"} -{/block} - - -{block name="stylesheet"} -{hook name="category.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="category.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="category.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/composer.json b/templates/frontOffice/custom/composer.json deleted file mode 100644 index 4ba69757..00000000 --- a/templates/frontOffice/custom/composer.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "thelia/frontoffice-default-template", - "type": "thelia-frontoffice-template", - "require": { - "thelia/installer": "~1.1" - }, - "extra": { - "installer-name": "default" - } -} diff --git a/templates/frontOffice/custom/configs/variables.conf b/templates/frontOffice/custom/configs/variables.conf deleted file mode 100644 index f1edccae..00000000 --- a/templates/frontOffice/custom/configs/variables.conf +++ /dev/null @@ -1,21 +0,0 @@ -# Display -category_display_detail = true -category_display_subcategories = false - -folder_display_detail = true -folder_display_subfolders = false - - -# Maximum number of lines in lists -# -------------------------------- -max_displayed_orders = 20 -max_displayed_customers = 20 - -# order status - seems ununsed ? -# ------------------------------ - -order_not_paid = 'warning' -order_paid = 'success' -order_processing = 'primary' -order_sent = 'info' -order_canceled = 'danger' \ No newline at end of file diff --git a/templates/frontOffice/custom/contact-success.html b/templates/frontOffice/custom/contact-success.html deleted file mode 100644 index c1b7daf5..00000000 --- a/templates/frontOffice/custom/contact-success.html +++ /dev/null @@ -1,13 +0,0 @@ -{extends file="contact.html"} - -{block name="contact-form"} -
- {ifhook rel="contact.success"} - {hook name="contact.success"} - {/ifhook} - {elsehook rel="contact.success"} -

{intl l="Thanks !"}

-

{intl l="Thanks for your message, we will contact as soon as possible."}

- {/elsehook} -
-{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/contact.html b/templates/frontOffice/custom/contact.html deleted file mode 100644 index ea638087..00000000 --- a/templates/frontOffice/custom/contact.html +++ /dev/null @@ -1,118 +0,0 @@ -{extends file="layout.tpl"} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [['title' => {intl l="Contact Us"}, 'url'=>{url path="/contact"}]]} -{/block} - -{block name="main-content"} -
-
-

{intl l="Contact Us"}

- - {ifhook rel="contact.top"} - {hook name="contact.top"} - {/ifhook} - {elsehook rel="contact.top"} -
- {assign var="address" value="{config key="store_address1"} {config key="store_address2"} {config key="store_address3"}, {config key="store_city"}, {config key="store_country"}"} - -
- {/elsehook} - - {block name="contact-form"} - {form name="thelia.front.contact"} -
- {form_hidden_fields} - - {hook name="contact.form-top"} - -
-
- {intl l="Send us a message"} -
-
-
- {form_field field="name"} -
- -
- - {if $error} - {$message} - {assign var="error_focus" value="true"} - {elseif $value != "" && !$error} - - {/if} -
-
- {/form_field} - {form_field field="email"} -
- -
- - {if $error} - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} -
- {form_field field="subject"} -
- -
- - {if $error} - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} - {form_field field="message"} -
- -
- - {if $error} - {$message} - {assign var="error_focus" value="true"} - {/if} -
-
- {/form_field} -
-
- - {hook name="contact.form-bottom"} - -
-
- -
-
- -
- {/form} - {/block} - - {hook name="contact.bottom"} - -
-
-{/block} - -{block name="stylesheet"} -{hook name="contact.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="contact.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="contact.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/content.html b/templates/frontOffice/custom/content.html deleted file mode 100644 index 2187a233..00000000 --- a/templates/frontOffice/custom/content.html +++ /dev/null @@ -1,110 +0,0 @@ -{extends file="layout.tpl"} - -{block name='init'} - {assign var="content_id" value={content attr="id"}} -{/block} - -{* Body Class *} -{block name="body-class"}page-content{/block} - -{* Page Title *} -{block name='no-return-functions' append} - {if {$content_id}} - {loop name="content.seo.title" type="content" id={$content_id} limit="1"} - {$page_title = $META_TITLE} - {/loop} - {/if} -{/block} - -{* Meta *} -{block name="meta"} - {if $content_id} - {loop name="content.seo.meta" type="content" id=$content_id limit="1"} - {include file="includes/meta-seo.html"} - {/loop} - {/if} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {if $content_id} - {$breadcrumbs = []} - {loop type="content" name="content-breadcrumb" id=$content_id limit="1"} - {loop name="folder_path" type="folder-path" folder={$DEFAULT_FOLDER}} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} - {/if} -{/block} - -{block name="main-content"} -{if $content_id} - {hook name="content.top" content="$content_id"} -
- {hook name="content.main-top" content="$content_id"} -
- - {hook name="content.content-top" content="$content_id"} - - {loop name="blog.content" type="content" id=$content_id limit="1"} -

{$TITLE}

- {if $CHAPO} -
- {$CHAPO} -
- {/if} - {if $DESCRIPTION} -
- {$DESCRIPTION nofilter} -
- {/if} - - {ifloop rel="blog.document"} -
-
    - {loop name="blog.document" type="document" content={$ID}} -
  • {$TITLE}
  • - {/loop} -
-
- {/ifloop} - - {if $POSTSCRIPTUM} - - {$POSTSCRIPTUM} - - {/if} - {/loop} - - {hook name="content.content-bottom" content="$content_id"} - -
- - - - {hook name="content.main-bottom" content="$content_id"} -
- {hook name="content.bottom" content="$content_id"} -{else} -
-
- {include file="includes/empty.html"} -
-
-{/if} -{/block} - -{block name="stylesheet"} -{hook name="content.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="content.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="content.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/currency.html b/templates/frontOffice/custom/currency.html deleted file mode 100644 index 7a8a411a..00000000 --- a/templates/frontOffice/custom/currency.html +++ /dev/null @@ -1,39 +0,0 @@ -{extends file="layout.tpl"} - -{* Body Class *} -{block name="body-class"}page-currency{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Currency"}, 'url'=>{url path="/currency"}] - ]} -{/block} - - -{block name="main-content"} -
-
-

{intl l="SELECT YOUR CURRENCY"}

- {hook name="currency.top"} - - {hook name="currency.bottom"} -
-
-{/block} - -{block name="stylesheet"} -{hook name="currency.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="currency.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="currency.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/error.html b/templates/frontOffice/custom/error.html deleted file mode 100644 index 81135ce0..00000000 --- a/templates/frontOffice/custom/error.html +++ /dev/null @@ -1,36 +0,0 @@ -{extends file="layout.tpl"} - -{block name="body-class"}page-error{/block} - -{block name="main-content"} -
-
-
-
-

{intl l='An error occurred'}

- -

- {intl - l="We're sorry but an error occured. Please try to contact the site administrator" - mail={config key='store_email'} - } -

- -
- - -
-
-
-
-{/block} - -{block name="javascript-initialization"} - -{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/feed.html b/templates/frontOffice/custom/feed.html deleted file mode 100644 index 70e4bdfd..00000000 --- a/templates/frontOffice/custom/feed.html +++ /dev/null @@ -1,108 +0,0 @@ - - -{* @todo order item by create date desc *} -{assign var="store_name" value="{config key="store_name"}"} -{loop type="lang" name="lang" id=$_lang_} - {assign var="locale" value="{$LOCALE}"} -{/loop} -{if $_context_ == "catalog"} - - {if $_id_ == "" } - {intl l="All products in"} {$store_name} - {url path="/"} - {$store_name} - {$locale|replace:'_':'-'|lower} - {$smarty.now|date_format:'r'} - Thelia 2.0 - {else} - {loop type="category" name="category" id=$_id_ lang=$_lang_ } - {intl l="All products in"} {$TITLE} - {$store_name} - {$URL nofilter} - {$CHAPO} - {$LOCALE|replace:'_':'-'|lower} - {format_date date=$UPDATE_DATE format="r"} - {$smarty.now|date_format:'r'} - Thelia 2.0 - {/loop} - {/if} - {loop type="product" name="product" category_default=$_id_ lang=$_lang_ order="id_reverse" } - - {$TITLE} - {$URL nofilter} - {$CHAPO} - {format_date date=$CREATE_DATE format="r"} - {$URL nofilter} - - {/loop} - -{elseif $_context_ == "brand"} - - {if $_id_ == "" } - {intl l="All brands in %store" store="$store_name"} - {url path="/"} - {$store_name} - {$locale|replace:'_':'-'|lower} - {$smarty.now|date_format:'r'} - Thelia 2.0 - {loop type="brand" name="brand-list" lang=$_lang_ order="id-reverse" } - - {$TITLE} - {$URL nofilter} - {$CHAPO} - {format_date date=$CREATE_DATE format="r"} - {$URL nofilter} - - {/loop} - {else} - {loop type="brand" name="brand-desc" lang=$_lang_ id=$_id_} - {intl l="All products for brand %title in %store" title="{$TITLE}" store="{$store_name}"} - {$URL nofilter} - {$CHAPO} - {$locale|replace:'_':'-'|lower} - {$smarty.now|date_format:'r'} - Thelia 2.0 - {/loop} - {/if} - - {loop type="product" name="products-in-brand" brand=$_id_ lang=$_lang_ order="id_reverse" } - - {$TITLE} - {$URL nofilter} - {$CHAPO} - {format_date date=$CREATE_DATE format="r"} - {$URL nofilter} - - {/loop} - -{else} - - {if $_id_ == "" } - {intl l="All contents in"} {$store_name} - {url path="/"} - {$store_name} - {$locale|replace:'_':'-'|lower} - {$smarty.now|date_format:'r'} - Thelia 2.0 - {else} - {loop type="folder" name="folder" id=$_id_ lang=$_lang_ } - {intl l="All contents in"} {$TITLE} - {$store_name} - {$URL nofilter} - {$CHAPO} - {$LOCALE|replace:'_':'-'|lower} - {format_date date=$UPDATE_DATE format="r"} - {$smarty.now|date_format:'r'} - Thelia 2.0 - {/loop} - {/if} - {loop type="content" name="content" folder_default=$_id_ lang=$_lang_ } - - {$TITLE} - {$URL nofilter} - {$CHAPO} - {format_date date=$CREATE_DATE format="r"} - {$URL nofilter} - - {/loop} - -{/if} - diff --git a/templates/frontOffice/custom/folder.html b/templates/frontOffice/custom/folder.html deleted file mode 100644 index 5de3ddaf..00000000 --- a/templates/frontOffice/custom/folder.html +++ /dev/null @@ -1,159 +0,0 @@ -{extends file="layout.tpl"} - -{block name="init"} -{$folder_id={folder attr="id"}} -{/block} - -{* Body Class *} -{block name="body-class"}page-folder{/block} - -{* Page Title *} -{block name='no-return-functions' append} - {if $folder_id} - {loop name="folder.seo.title" type="folder" id=$folder_id limit="1"} - {$page_title = $META_TITLE} - {/loop} - {/if} -{/block} - -{* Meta *} -{block name="meta"} - {if $folder_id} - {loop name="folder.seo.meta" type="folder" id=$folder_id limit="1"} - {include file="includes/meta-seo.html"} - {/loop} - {/if} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {if $folder_id} - {$breadcrumbs = []} - {loop name="folder_path" type="folder-path" folder=$folder_id} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} - {/if} -{/block} - -{block name="feeds"} - -{/block} - -{* Content *} -{block name="main-content"} -{assign var="$folder_id" value={folder attr="id"}} - {hook name="folder.top" folder="$folder_id"} -
- {hook name="folder.main-top" folder="$folder_id"} -
- - {hook name="folder.content-top" folder="$folder_id"} - - {if $folder_id} - {loop name="folder" type="folder" id=$folder_id limit="1"} -

{$TITLE}

- {if $CHAPO} -
- {$CHAPO} -
- {/if} - {if $DESCRIPTION} -
- {$DESCRIPTION nofilter} -
- {/if} - -
-
- {ifloop rel="folder_content"} - - {/ifloop} - {elseloop rel="folder_content"} -
- {intl l="No Contents in this folder."} -
- {/elseloop} -
-
- - {ifloop rel="blog.document"} -
-
    - {loop name="blog.document" type="document" folder={$ID}} -
  • {$TITLE}
  • - {/loop} -
-
- {/ifloop} - - {if $POSTSCRIPTUM} - - {$POSTSCRIPTUM} - - {/if} - {/loop} - {else} - {ifloop rel="folders"} -
    - {loop name="folders" type="folder"} -
  • -
    - -
    -
  • - {/loop} -
- {/ifloop} - {/if} - - {hook name="folder.content-bottom" folder="$folder_id"} - -
- {hook name="folder.main-bottom" folder="$folder_id"} -
- {hook name="folder.bottom" folder="$folder_id"} -{/block} - -{block name="stylesheet"} -{hook name="folder.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="folder.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="folder.javascript-initialization"} -{/block} - diff --git a/templates/frontOffice/custom/includes/addedToCart.html b/templates/frontOffice/custom/includes/addedToCart.html deleted file mode 100644 index 0f57233f..00000000 --- a/templates/frontOffice/custom/includes/addedToCart.html +++ /dev/null @@ -1,63 +0,0 @@ -{* This page should not replace the current previous URL *} -{set_previous_url ignore_current="1"} - -{default_translation_domain domain='fo.custom'} -{loop type="product" name="add_product_to_cart" id={product attr="id"}} -
- - - - - - - - - -
-

{intl l="The product has been added to your cart" }

-
- {ifloop rel="pse-first-image"} - {loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id={$smarty.get.pse_id} limit="1"} - {loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$ID limit="1" width="218" height="146" resize_mode="borders"} - Product #{$LOOP_COUNT} - {/loop} - {/loop} - {/ifloop} - {elseloop rel="pse-first-image"} - {loop type="image" name="product-image" product=$ID limit="1" width="218" height="146" resize_mode="borders"} - Product #{$LOOP_COUNT} - {/loop} - {/elseloop} - -

{$TITLE}

- {loop type="attribute_combination" name="product_options" product_sale_elements={$smarty.get.pse_id} order="manual"} -

{$ATTRIBUTE_TITLE} : {$ATTRIBUTE_AVAILABILITY_TITLE}

- {/loop} -
- {loop type="product_sale_elements" name="product_price" id={$smarty.get.pse_id}} - {if $IS_PROMO == 1} -
{format_money number=$TAXED_PROMO_PRICE}
- {format_money number=$TAXED_PRICE} - {else} -
{format_money number=$TAXED_PRICE}
- {/if} - {/loop} -
- {intl l="View Cart"} - -
-{ifloop rel="accessories"} - -{/ifloop} -{/loop} diff --git a/templates/frontOffice/custom/includes/asides/articles.html b/templates/frontOffice/custom/includes/asides/articles.html deleted file mode 100644 index 2db487fc..00000000 --- a/templates/frontOffice/custom/includes/asides/articles.html +++ /dev/null @@ -1,19 +0,0 @@ -{hook name="content.sidebar-top"} -{ifhook rel="content.sidebar-body"} -{hook name="content.sidebar-body"} -{/ifhook} -{elsehook rel="content.sidebar-body"} - -{/elsehook} -{hook name="content.sidebar-bottom"} \ No newline at end of file diff --git a/templates/frontOffice/custom/includes/brand-menu.html b/templates/frontOffice/custom/includes/brand-menu.html deleted file mode 100644 index 7dd3d7e3..00000000 --- a/templates/frontOffice/custom/includes/brand-menu.html +++ /dev/null @@ -1,20 +0,0 @@ -{$brand_id = {brand attr="id"}} -{hook name="brand.sidebar-top" brand=$brand_id} -{ifhook rel="brand.sidebar-body"} - {hook name="brand.sidebar-body" brand=$brand_id} -{/ifhook} -{elsehook rel="brand.sidebar-body"} - -{/elsehook} -{hook name="brand.sidebar-bottom" brand=$brand_id} diff --git a/templates/frontOffice/custom/includes/empty.html b/templates/frontOffice/custom/includes/empty.html deleted file mode 100644 index d73d101e..00000000 --- a/templates/frontOffice/custom/includes/empty.html +++ /dev/null @@ -1,10 +0,0 @@ -{if ! $title_empty} - {$title={intl l="The page cannot be found"}} -{/if} -

{$title}

- -{if ! $message_empty} -
- {$message_empty nofilter} -
-{/if} \ No newline at end of file diff --git a/templates/frontOffice/custom/includes/menu.html b/templates/frontOffice/custom/includes/menu.html deleted file mode 100644 index bfd77d37..00000000 --- a/templates/frontOffice/custom/includes/menu.html +++ /dev/null @@ -1,76 +0,0 @@ -{$category_id = {category attr="id"}} - -{hook name="category.sidebar-top" category=$category_id} -{ifhook rel="category.sidebar-body"} - {hook name="category.sidebar-body" category=$category_id} -{/ifhook} -{elsehook rel="category.sidebar-body"} - -{/elsehook} -{hook name="category.sidebar-bottom" category=$category_id} diff --git a/templates/frontOffice/custom/includes/meta-seo.html b/templates/frontOffice/custom/includes/meta-seo.html deleted file mode 100644 index b91bde1a..00000000 --- a/templates/frontOffice/custom/includes/meta-seo.html +++ /dev/null @@ -1,6 +0,0 @@ -{if $META_DESCRIPTION} - -{elseif $CHAPO} - -{/if} -{if $META_KEYWORDS}{/if} \ No newline at end of file diff --git a/templates/frontOffice/custom/includes/mini-cart.html b/templates/frontOffice/custom/includes/mini-cart.html deleted file mode 100644 index da70305d..00000000 --- a/templates/frontOffice/custom/includes/mini-cart.html +++ /dev/null @@ -1 +0,0 @@ -{hook name="mini-cart"} \ No newline at end of file diff --git a/templates/frontOffice/custom/includes/product-empty.html b/templates/frontOffice/custom/includes/product-empty.html deleted file mode 100644 index d4d16169..00000000 --- a/templates/frontOffice/custom/includes/product-empty.html +++ /dev/null @@ -1,34 +0,0 @@ -
-

{intl l="Product Empty Title"}

- {intl l="Product Empty Message"} -

{intl l="Product Empty Button"}

-
- -
-
-

{intl l="Latest"}

-
- - -
diff --git a/templates/frontOffice/custom/includes/single-product.html b/templates/frontOffice/custom/includes/single-product.html deleted file mode 100644 index a15ceaae..00000000 --- a/templates/frontOffice/custom/includes/single-product.html +++ /dev/null @@ -1,122 +0,0 @@ -
  • - {if $PSE_COUNT > 1} - {assign var="hasSubmit" value = false} - {else} - {assign var="hasSubmit" value = true} - {/if} - {assign var="productTitle" value="{$TITLE}"} - {if not $product_id} - {assign var="product_id" value=$ID} - {/if} -
    - {hook name="singleproduct.top" product="{$product_id}"} - - - -
    -

    {$productTitle}

    - {if $hasDescription} -
    -

    {$DESCRIPTION nofilter}

    -
    - {/if} -
    - - {* Stock *} - {assign var="current_stock_content" value = "in_stock"} - {assign var="current_stock_href" value = "http://schema.org/InStock"} - {if {config key="check-available-stock"} != 0} - {if $VIRTUAL == 0 && $QUANTITY <= 0} - {assign var="current_stock_content" value = "out_stock"} - {assign var="current_stock_href" value = "http://schema.org/OutOfStock"} - {/if} - {/if} - -
    -
    - - {* Issue #2525 Remove itemCondition need improvement (not used like this) *} - {* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *} - {**} - {* List of currency : The currency used to describe the product price, in three-letter ISO format. *} - - - {if $IS_PROMO } - - {assign var="combination_count" value={count type="product_sale_elements" promo="1" product=$ID}} - {intl l="Special Price:"} - {if $combination_count > 1} - {intl l="From %price" price={format_money number=$BEST_TAXED_PRICE}} - {else} - {format_money number=$BEST_TAXED_PRICE} - {/if} - - {if $SHOW_ORIGINAL_PRICE} - {intl l="Regular Price:"} {format_money number=$TAXED_PRICE} - {/if} - {else} - {format_money number=$BEST_TAXED_PRICE} - {/if} -
    - - {if $hasBtn == true} - {if $hasSubmit == true && $current_stock_content == "in_stock"} - {form name="thelia.cart.add" } -
    - {form_hidden_fields} - - - {form_field field="append"} - - {/form_field} - - {if $form_error}
    {$form_error_message}
    {/if} - - {form_field field='product_sale_elements_id'} - - {/form_field} - {form_field field="product"} - - {/form_field} - -
    - {form_field field='quantity'} -
    - - - {if $error } - {$message} - {elseif $value != "" && !$error} - - {/if} -
    - {/form_field} -
    -
    - -
    -
    -
    -
    - {/form} - {else} - - {/if} - {/if} -
    - - {hook name="singleproduct.bottom" product={$product_id}} - -
    -
  • diff --git a/templates/frontOffice/custom/includes/toolbar.html b/templates/frontOffice/custom/includes/toolbar.html deleted file mode 100644 index 11fe09bf..00000000 --- a/templates/frontOffice/custom/includes/toolbar.html +++ /dev/null @@ -1,74 +0,0 @@ - diff --git a/templates/frontOffice/custom/index.html b/templates/frontOffice/custom/index.html deleted file mode 100644 index a4890913..00000000 --- a/templates/frontOffice/custom/index.html +++ /dev/null @@ -1,29 +0,0 @@ -{extends file="layout.tpl"} - -{* Body Class *} -{block name="body-class"}page-home{/block} - -{* Page Title *} -{block name='no-return-functions' append} - {$page_title = {config key="store_name"}} -{/block} - -{* Hide breadcrumb *} -{block name='breadcrumb'}{/block} - -{* Main content *} -{block name="main-content"} - {hook name="home.body"} -{/block} - -{block name="stylesheet"} -{hook name="home.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="home.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="home.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/language.html b/templates/frontOffice/custom/language.html deleted file mode 100644 index 00630baa..00000000 --- a/templates/frontOffice/custom/language.html +++ /dev/null @@ -1,39 +0,0 @@ -{extends file="layout.tpl"} - -{* Body Class *} -{block name="body-class"}page-language{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Language"}, 'url'=>{url path="/language"}] - ]} -{/block} - - -{block name="main-content"} -
    -
    -

    {intl l="SELECT YOUR LANGUAGE"}

    - {hook name="language.top"} - - {hook name="language.bottom"} -
    -
    -{/block} - -{block name="stylesheet"} -{hook name="language.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="language.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="language.javascript-initialization"} -{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/login.html b/templates/frontOffice/custom/login.html deleted file mode 100644 index b2131e82..00000000 --- a/templates/frontOffice/custom/login.html +++ /dev/null @@ -1,115 +0,0 @@ -{extends file="layout.tpl"} - -{* Body Class *} -{block name="body-class"}page-login{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Login"}, 'url'=>{url path="/login"}] - ]} -{/block} - - -{block name="main-content"} - - {* This page should not replace the current previous URL *} - {set_previous_url ignore_current="1"} - - {hook name="login.top"} -
    - {hook name="login.main-top"} -
    -

    {intl l="Login"}

    - {form name="thelia.front.customer.login"} -
    - {if {$smarty.get.validation_done}} -
    {intl l="Your customer account was successfully activated, you can now login."}
    - {else} - {if $form_error}
    {$form_error_message}
    {/if} - {/if} - - {form_field field='success_url'} - {* the url the user is redirected to on login success *} - {/form_field} - - {form_field field='error_message'} - {* the url the user is redirected to on login success *} - {/form_field} - {form_hidden_fields} - {hook name="login.form-top"} -
    - {form_field field="email"} -
    - -
    - - {if $error} - {$message} - {assign var="error_focus" value="true"} - {elseif !$value} - {assign var="error_focus" value="true"} - {/if} -
    -
    - {/form_field} - -
    - {form_field field="account"} - {intl l="Do you have an account?"} - {foreach $choices as $choice} -
    - -
    - {/foreach} - {/form_field} -
    - {form_field field="password"} -
    - -
    - - {if $error} - {$message} - {/if} -
    - - {intl l="Forgot your Password?"} - -
    - {/form_field} - {form_field field='remember_me'} -
    - -
    - {/form_field} -
    -
    -
    - {hook name="login.form-bottom"} -
    - -
    -
    - {/form} -
    - {hook name="login.main-bottom"} -
    - {hook name="login.bottom"} -{/block} - -{block name="stylesheet"} -{hook name="login.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="login.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="login.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/misc/breadcrumb.tpl b/templates/frontOffice/custom/misc/breadcrumb.tpl deleted file mode 100644 index 92fd5ae9..00000000 --- a/templates/frontOffice/custom/misc/breadcrumb.tpl +++ /dev/null @@ -1,22 +0,0 @@ - diff --git a/templates/frontOffice/custom/misc/checkout-progress.tpl b/templates/frontOffice/custom/misc/checkout-progress.tpl deleted file mode 100644 index eb3e051e..00000000 --- a/templates/frontOffice/custom/misc/checkout-progress.tpl +++ /dev/null @@ -1,28 +0,0 @@ -{if $step eq "cart"} - {assign var="step1" value=" active"} - {assign var="step2" value=" disabled"} - {assign var="step3" value=" disabled"} - {assign var="step4" value=" disabled"} -{elseif $step eq "delivery"} - {assign var="step1" value=""} - {assign var="step2" value=" active"} - {assign var="step3" value=" disabled"} - {assign var="step4" value=" disabled"} -{elseif $step eq "invoice"} - {assign var="step1" value=""} - {assign var="step2" value=""} - {assign var="step3" value=" active"} - {assign var="step4" value=" disabled"} -{elseif $step eq "last"} - {assign var="step1" value=" disabled"} - {assign var="step2" value=" disabled"} - {assign var="step3" value=" disabled"} - {assign var="step4" value=" active"} -{/if} - - diff --git a/templates/frontOffice/custom/modal-address.html b/templates/frontOffice/custom/modal-address.html deleted file mode 100644 index e69de29b..00000000 diff --git a/templates/frontOffice/custom/newsletter-unsubscribe.html b/templates/frontOffice/custom/newsletter-unsubscribe.html deleted file mode 100644 index 324226ce..00000000 --- a/templates/frontOffice/custom/newsletter-unsubscribe.html +++ /dev/null @@ -1,57 +0,0 @@ -{extends file="layout.tpl"} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [['title' => {intl l="Newsletter"}, 'url'=>{url path="/newsletter-unsubscribe"}]]} -{/block} - -{block name="main-content"} -
    -
    -

    {intl l="Cancel Newsletter Subscription"}

    - - {hook name="newsletter-unsubscribe.top"} - - {form name="thelia.front.newsletter.unsubscribe"} -
    - {form_hidden_fields} -

    {intl l="To cancel your subscription to our newsletter, please enter your email address below."}

    -
    - {form_field field="email"} -
    - -
    - - {if $error} - {$message} - {elseif !$error && $value != ""} - {intl l="Your subscription to our newsletter has been canceled."} - {/if} -
    -
    - {/form_field} -
    -
    - -
    -
    -
    -
    - {/form} - {hook name="newsletter-unsubscribe.bottom"} -
    -
    -{/block} - - -{block name="stylesheet"} - {hook name="newsletter-unsubscribe.stylesheet"} -{/block} - -{block name="after-javascript-include"} - {hook name="newsletter-unsubscribe.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} - {hook name="newsletter-unsubscribe.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/newsletter.html b/templates/frontOffice/custom/newsletter.html deleted file mode 100644 index aefcbb6b..00000000 --- a/templates/frontOffice/custom/newsletter.html +++ /dev/null @@ -1,79 +0,0 @@ -{extends file="layout.tpl"} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [['title' => {intl l="Newsletter"}, 'url'=>{url path="/newsletter"}]]} -{/block} - -{block name="main-content"} -
    -
    -

    {intl l="Newsletter Subscription"}

    - - {hook name="newsletter.top"} - - {form name="thelia.front.newsletter"} -
    - {form_hidden_fields} -

    {intl l="You want to subscribe to the newsletter? Please enter your email address below."}

    -
    - {form_field field="email"} -
    - -
    - - {if $error} - {$message} - {elseif !$error && $value != ""} - {intl l="Thanks for signing up! We'll keep you posted whenever we have any new updates."} - {/if} -
    -
    - {/form_field} - - {loop type="auth" name="customer_newsletter_block" role="CUSTOMER"}{/loop} - {elseloop rel="customer_newsletter_block"} - {form_field field="firstname"} -
    - -
    - -
    -
    - {/form_field} - - {form_field field="lastname"} -
    - -
    - -
    -
    - {/form_field} - {/elseloop} - -
    -
    - -
    -
    -
    -
    - {/form} - {hook name="newsletter.bottom"} -
    -
    -{/block} - - -{block name="stylesheet"} - {hook name="newsletter.stylesheet"} -{/block} - -{block name="after-javascript-include"} - {hook name="newsletter.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} - {hook name="newsletter.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/order-delivery.html b/templates/frontOffice/custom/order-delivery.html deleted file mode 100644 index ec89ed3f..00000000 --- a/templates/frontOffice/custom/order-delivery.html +++ /dev/null @@ -1,186 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} - {check_cart_not_empty} -{/block} - -{* Body Class *} -{block name="body-class"}page-order-delivery{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], - ['title' => {intl l="Billing and delivery"}, 'url'=>{url path="/order/delivery"}] - ]} -{/block} - - -{block name="main-content"} - -
    -
    - -

    {intl l="Billing and delivery"}

    - - {include file="misc/checkout-progress.tpl" step="delivery"} - - {hook name="order-delivery.top"} - - {form name="thelia.order.delivery"} - {assign var="isPost" value={$smarty.post|count}} -
    - - {form_hidden_fields} - - {if $form_error}
    {$form_error_message}
    {/if} - - {hook name="order-delivery.form-top"} - - {form_field field='delivery-address'} - -
    -
    - {intl l="Add a new address"} - {intl l="Choose your delivery address"} - {if $error} - {$message} - {/if} -
    -
    - - - {loop type="address" name="customer.addresses" customer="current"} - {assign var="isDeliveryAddressChecked" value="0"} - {if $isPost} - {if $value == $ID} - {assign var="isDeliveryAddressChecked" value="1"} - {/if} - {elseif $delivery_address_id == $ID} - {assign var="isDeliveryAddressChecked" value="1"} - {/if} - - - - - - {/loop} - - -
    -
    - - {/form_field} - - {form_field field='delivery-module'} - -
    -
    - {intl l="Choose your delivery method"} - {if $error} - {$message} - {/if} -
    -
    -
    - - {/form_field} - - {hook name="order-delivery.form-bottom"} - - {intl l="Back"} - - -
    - {/form} - - {hook name="order-delivery.bottom"} - -
    -
    - - -{/block} - -{block name="javascript-initialization"} - - - {hook name="order-delivery.javascript-initialization"} -{/block} - -{block name="stylesheet"} -{hook name="order-delivery.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="order-delivery.after-javascript-include"} -{/block} diff --git a/templates/frontOffice/custom/order-failed.html b/templates/frontOffice/custom/order-failed.html deleted file mode 100644 index 268549b4..00000000 --- a/templates/frontOffice/custom/order-failed.html +++ /dev/null @@ -1,71 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-order-payment{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], - ['title' => {intl l="Secure Payment"}, 'url'=>{url path="/order/pay"}] - ]} -{/block} - - -{block name="main-content"} -
    -
    - -

    {intl l="Your Cart"}

    - - {hook name="order-failed.top"} - - {include file="misc/checkout-progress.tpl" step="last"} - -
    -
    -

    - {loop type="order" name="failed-order" id=$failed_order_id} - {intl l="You choose to pay by"} : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop} - {/loop} - {elseloop rel="failed-order"} - {intl l="Your order payment"} - {/elseloop} -

    -
    - -
    -

    {intl l="We're sorry, a problem occured and your payment was not successful."}

    - {if null !== $failed_order_message} -

    {$failed_order_message}

    - {/if} - - {intl l="Try again"} -
    -
    - - {hook name="order-failed.bottom"} - - {intl l="Go home"} - -
    -
    -{/block} - - -{block name="stylesheet"} -{hook name="order-failed.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="order-failed.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="order-failed.javascript-initialization"} -{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/order-invoice.html b/templates/frontOffice/custom/order-invoice.html deleted file mode 100644 index 37347137..00000000 --- a/templates/frontOffice/custom/order-invoice.html +++ /dev/null @@ -1,463 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} - {check_cart_not_empty} - {check_valid_delivery} -{/block} - -{* Body Class *} -{block name="body-class"}page-order-invoice{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], - ['title' => {intl l="My order"}, 'url'=>{url path="/order/invoice"}] - ]} -{/block} - - -{block name="main-content"} -
    -
    - -

    {intl l="Check my order"}

    - - {include file="misc/checkout-progress.tpl" step="invoice"} - - {hook name="order-invoice.top"} - - {form name="thelia.order.coupon"} - -
    - - {form_hidden_fields} - - {form_field field='success_url'} - - {/form_field} - - {form_field field='error_url'} - - {/form_field} - - {if $form_error}
    {$form_error_message}
    {/if} - - - - - - - - - - - - - - - - - - - - - {loop type="cart" name="cartloop"} - - - - - - - - - {/loop} - - -
      - - {intl l="Name"} - - - {intl l="Price"} - - - {intl l="Taxed Price"} - - - {intl l="Qty"} - - - {intl l="Total incl.tax"} -
    - - {assign var="product_image_url" value=null} - {ifloop rel="pse-first-image"} - {loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id=$PRODUCT_SALE_ELEMENTS_ID limit="1"} - {loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} - {assign var="product_image_url" value=$IMAGE_URL} - {/loop} - {/loop} - {/ifloop} - {elseloop rel="pse-first-image"} - {loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"} - {assign var="product_image_url" value=$IMAGE_URL} - {/loop} - {/elseloop} - {if $product_image_url} - Product #{$LOOP_COUNT} - {else} - Product #{$LOOP_COUNT} - {/if} - - -

    - {$TITLE} -

    -
    -
    -
    {intl l="Available"} :
    - {if $STOCK > 0} -
    {intl l="In Stock"}
    - {else} -
    {intl l="Out of Stock"}
    - {/if} - {loop type="product_sale_elements" name="ref" id=$PRODUCT_SALE_ELEMENTS_ID} -
    {intl l="No."}
    -
    {$REF}
    - {/loop} - - {loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID"} -
    {$ATTRIBUTE_TITLE}
    -
    {$ATTRIBUTE_AVAILABILITY_TITLE}
    - {/loop} -
    -
    -
    -
    - {format_money number=$REAL_PRICE} -
    -
    -
    -
    {format_money number=$REAL_TAXED_PRICE} - {if $IS_PROMO == 1} - {intl l="instead of"} {format_money number=$TAXED_PRICE} - {/if} -
    -
    - {$QUANTITY} - - - {format_money number=$REAL_TOTAL_TAXED_PRICE} - -
    - -
    -
    - - - {$discount={order attr="discount"}} - - - - - - - - - - - - - - - - - - - - {if $discount > 0} - - - - - {/if} - - {if {cart attr="is_virtual"} != 1} - - - - - {/if} - - - - - - -
    - {form_field field='success_url'} - - {/form_field} - {form_field field='coupon-code'} -
    -
    - - - - - -
    - {if $error}{$message}{/if} -
    - {/form_field} - -
    {intl l="Cart total excl. taxes"} -
    - {format_money number={cart attr="total_price_without_discount"}} -
    -
    {intl l="Taxes total"} -
    - {format_money number={cart attr="total_tax_amount_without_discount"}} -
    -
    {intl l="Cart total incl. taxes"} -
    - {format_money number={cart attr="total_taxed_price_without_discount"}} -
    -
    - {intl l="Discount incl. taxes"} -
    {intl l="Tax: %tax" tax={format_money number={cart attr="discount_tax_amount"} currency_id=$CURRENCY}} -
    -
    - -{format_money number=$discount} -
    -
    - {intl l="Shipping"} - {$postageTax = {order attr="postage_tax"}} - {if $postageTax > 0} -
    - {intl l="Including %tax tax" tax={format_money number=$postageTax}} - {/if} -
    -
    - {format_money number={order attr="postage"}} -
    -
    {intl l="Total incl. taxes"} -
    - {format_money number={{cart attr="total_taxed_price"} + {order attr="postage"}}} -
    -
    -
    -
    - {hook name="order-invoice.coupon-form"} -
    - {/form} - - {form name="thelia.order.payment"} - {assign var="isPost" value=$smarty.post|count} -
    - - {form_hidden_fields} - - {form_field field="error_url"} - - {/form_field} - - {if $form_error}
    {$form_error_message}
    {/if} - -
    - {ifhook rel="order-invoice.delivery-address"} - {* delivery module can customize the delivery address *} - {hook name="order-invoice.delivery-address" module={order attr="delivery_module"}} - {/ifhook} - {elsehook rel="order-invoice.delivery-address"} -
    - {loop type="address" name="delivery-address" id={order attr="delivery_address"}} -
    {intl l="Delivery address"}
    -
    - {loop type="title" name="customer.title.info" id=$TITLE}{$SHORT}{/loop} {$LASTNAME|upper} {$FIRSTNAME|ucwords} - {$COMPANY} -
    - {$ADDRESS1}
    - {if $ADDRESS2 != ""} - {$ADDRESS2}
    - {/if} - {if $ADDRESS3 != ""} - {$ADDRESS3}
    - {/if} - {$ZIPCODE} - {$CITY}, - {loop type="country" name="customer.country.info" id=$COUNTRY}{$TITLE}{/loop} - {if $STATE}, {loop type="state" name="customer.state.info" id=$STATE}{$TITLE}{/loop}{/if} -
    -
    - {/loop} -
    - {/elsehook} - - {form_field field='invoice-address'} -
    -
    {intl l="Billing address"}
    - - {if $error} - {$message} - {/if} - -
    - {loop type="address" name="invoice-address"} - {assign var="isInvoiceAddressChecked" value="0"} - {if $isPost} - {if $value == $ID && $value != ""} - {assign var="isInvoiceAddressChecked" value="1"} - {elseif $DEFAULT} - {assign var="isInvoiceAddressChecked" value="1"} - {/if} - {elseif $DEFAULT} - {assign var="isInvoiceAddressChecked" value="1"} - {/if} - -
    - -
    - {/loop} - -
    - -
    -
    - - {/form_field} - - {form_field field='payment-module'} - -
    -
    {intl l="Choose your payment method"}
    - - {if $error} - {$message} - {/if} - -
    -
      - {loop type="payment" name="payments" force_return="true"} - {assign "paymentModuleId" $ID} -
    • - - {hook name="order-invoice.payment-extra" module={$paymentModuleId}} -
    • - {/loop} -
    -
    -
    - {/form_field} - - {form_field field="agreed"} -
    -
    -
    -
    - - {if $error } - {$message} - {/if} -
    -
    -
    -
    - {/form_field} - - {hook name="order-invoice.payment-form"} - - {intl l="Back"} - -
    - {/form} - {hook name="order-invoice.bottom"} -
    -
    -{/block} - -{block name="javascript-initialization"} - -{hook name="order-invoice.javascript-initialization"} -{/block} - -{block name="stylesheet"} -{hook name="order-invoice.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="order-invoice.after-javascript-include"} -{/block} - diff --git a/templates/frontOffice/custom/order-payment-gateway.html b/templates/frontOffice/custom/order-payment-gateway.html deleted file mode 100644 index f0b4b093..00000000 --- a/templates/frontOffice/custom/order-payment-gateway.html +++ /dev/null @@ -1,92 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-order-payment{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], - ['title' => {intl l="Secure Payment"}, 'url'=>{url path="/order/pay"}] - ]} -{/block} - - -{block name="main-content"} -
    -
    - -

    {intl l="Secure payment"}

    - - {include file="misc/checkout-progress.tpl" step="last"} - - {loop type="order" name="placed-order" id=$order_id} - {ifhook rel="order-payment-gateway.body"} - {hook name="order-payment-gateway.body" module="$PAYMENT_MODULE"} - {/ifhook} - {elsehook rel="order-payment-gateway.body"} -
    -
    -

    {intl l="You choose to pay by"} : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}

    -
    - -
    - {if $cart_count > 0} -
    - {intl l="Connecting to the secure payment server, please wait a few seconds..."} -
    - -
    -
    - {foreach from=$payment_form_data key='name' item='value'} - - {/foreach} - -

    {intl l='If nothing happens within 10 seconds, please click here.'}

    -
    -
    - {else} - {intl l="Sorry, your cart is empty. There's nothing to pay."} - {/if} -
    -
    - {/elsehook} - {/loop} - -
    - -
    -{/block} - -{block name="javascript-initialization"} -{ifhook rel="order-payment-gateway.javascript"} - {hook name="order-payment-gateway.javascript" module="$PAYMENT_MODULE"} -{/ifhook} -{elsehook rel="order-payment-gateway.javascript"} - -{/elsehook} -{hook name="order-payment-gateway.javascript-initialization"} -{/block} - -{block name="stylesheet"} -{hook name="order-payment-gateway.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="order-payment-gateway.after-javascript-include"} -{/block} diff --git a/templates/frontOffice/custom/order-placed.html b/templates/frontOffice/custom/order-placed.html deleted file mode 100644 index 108622be..00000000 --- a/templates/frontOffice/custom/order-placed.html +++ /dev/null @@ -1,76 +0,0 @@ -{extends file="layout.tpl"} - -{* Security *} -{block name="no-return-functions" prepend} - {check_auth role="CUSTOMER" login_tpl="login"} -{/block} - -{* Body Class *} -{block name="body-class"}page-order-payment{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], - ['title' => {intl l="Secure Payment"}, 'url'=>{url path="/order/pay"}] - ]} -{/block} - - -{block name="main-content"} -
    -
    - -

    {intl l="Your Cart"}

    - - {include file="misc/checkout-progress.tpl" step="last"} - - {loop type="order" name="placed-order" id=$placed_order_id} - {ifhook rel="order-placed.body"} - {hook name="order-placed.body" module="$PAYMENT_MODULE"} - {/ifhook} - {elsehook rel="order-placed.body"} -
    -
    -

    {intl l="You choose"} : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}

    -
    -
    -

    {intl l="Thank you for the trust you place in us."}

    -

    {intl l="A summary of your order has been sent to the following address"} : {customer attr="email"}

    -

    {intl l="Your order will be confirmed by us upon receipt of your payment."}

    -
    -
    {intl l="Order number"} :
    -
    {$REF}
    -
    {intl l="Date"} :
    -
    {format_date date=$CREATE_DATE output="date"}
    -
    {intl l="Total"} :
    -
    {format_money number={$TOTAL_TAXED_AMOUNT} currency_id=$CURRENCY}
    -
    - - {block name='additional-payment-info'}{/block} - - {hook name="order-placed.additional-payment-info" module="$PAYMENT_MODULE" placed_order_id=$placed_order_id} -
    -
    - {/elsehook} - {/loop} - - {intl l="Go home"} - -
    - -
    -{/block} - - -{block name="stylesheet"} -{hook name="order-placed.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="order-placed.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="order-placed.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/package.json b/templates/frontOffice/custom/package.json deleted file mode 100644 index 703293d6..00000000 --- a/templates/frontOffice/custom/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "Default", - "version": "1.0.0", - "description": "Default template for Thelia 2", - "main": "Gruntfile.js", - "keywords": [ - "template", - "default", - "thelia" - ], - "author": "Michael Espeche ", - "license": "LGPL-3.0+", - "dependencies": { - "grunt": "^0.4.5", - "grunt-autoprefixer": "^3.0.0", - "grunt-contrib-clean": "^0.6.0", - "grunt-contrib-copy": "^0.8.0", - "grunt-contrib-cssmin": "^0.12.2", - "grunt-contrib-imagemin": "^1.0.0", - "grunt-contrib-jshint": "^0.11.2", - "grunt-contrib-less": "^1.0.1", - "grunt-contrib-uglify": "^0.9.1", - "grunt-contrib-watch": "^0.6.1", - "grunt-css-count": "^0.3.0", - "load-grunt-tasks": "^3.1.0" - } -} diff --git a/templates/frontOffice/custom/password.html b/templates/frontOffice/custom/password.html deleted file mode 100644 index 45b2c6ad..00000000 --- a/templates/frontOffice/custom/password.html +++ /dev/null @@ -1,80 +0,0 @@ -{extends file="layout.tpl"} - -{* Body Class *} -{block name="body-class"}page-password{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} -{$breadcrumbs = [ -['title' => {intl l="Password"}, 'url'=>{url path="/password"}] -]} -{/block} - -{block name="main-content"} - -{* This page should not replace the current previous URL *} -{set_previous_url ignore_current="1"} - -
    -
    -

    {intl l="Password Forgotten"}

    - {hook name="password.top"} - {if $password_sent} -
    -
    -

    {intl l="A new password has been sent to your e-mail address. Please check your mailbox."}

    -
    - - -
    - {else} - {form name="thelia.front.customer.lostpassword"} -
    - {form_hidden_fields} -

    {intl l="Please enter your email address below."} {intl l="You will receive a link to reset your password."}

    - {if $form_error}
    {$form_error_message}
    {/if} - {hook name="password.form-top"} - {form_field field="success_url"} - - {/form_field} - {form_field field="email"} -
    - -
    - - {if $error} - {$message} - {elseif !$error && $value != ""} - {intl l="You will receive a link to reset your password."} - {/if} -
    -
    - {/form_field} - {hook name="password.form-bottom"} -
    - {intl l="Cancel"} - -
    -
    - {/form} - {/if} - {hook name="password.bottom"} -
    -
    -{/block} - - -{block name="stylesheet"} -{hook name="password.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="password.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="password.javascript-initialization"} -{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/product.html b/templates/frontOffice/custom/product.html deleted file mode 100644 index a4bf5e3c..00000000 --- a/templates/frontOffice/custom/product.html +++ /dev/null @@ -1,479 +0,0 @@ -{extends file="layout.tpl"} - -{block name="init"} - {$product_id={product attr="id"}} - {$pse_count=1} - {$product_virtual={product attr="virtual"}} - {$check_availability={config key="check-available-stock" default="1"}} - - {$pse=[]} - {$combination_label=[]} - {$combination_values=[]} - {$default_pse=[]} - {$gtins=[8,12,13,14]} - {loop name="pse" type="product_sale_elements" product=$product_id} - {if $IS_PROMO} - {$finalPrice=$TAXED_PROMO_PRICE} - {else} - {$finalPrice=$TAXED_PRICE} - {/if} - {$pse[$ID]=[ - "id" => $ID, - "isDefault" => $IS_DEFAULT, - "isPromo" => $IS_PROMO, - "isNew" => $IS_NEW, - "ref" => $REF, - "ean" => $EAN_CODE, - "quantity" => $QUANTITY, - "price" => {format_money number=$TAXED_PRICE}, - "promo" => {format_money number=$TAXED_PROMO_PRICE}, - "finalPrice" => $finalPrice - ]} - {if $IS_DEFAULT} - {$default_pse=$pse[$ID]} - {/if} - {$pse_combination=[]} - {loop name="combi" type="attribute_combination" product_sale_elements="$ID" order="manual"} - {if ! $combination_label[$ATTRIBUTE_ID]} - {$combination_label[$ATTRIBUTE_ID]=["name" => {$ATTRIBUTE_TITLE}, "values" => []]} - {/if} - {if ! $combination_values[$ATTRIBUTE_AVAILABILITY_ID]} - {$combination_label[$ATTRIBUTE_ID]["values"][]=$ATTRIBUTE_AVAILABILITY_ID} - {$combination_values[$ATTRIBUTE_AVAILABILITY_ID]=[{$ATTRIBUTE_AVAILABILITY_TITLE}, $ATTRIBUTE_ID]} - {/if} - {$pse_combination[]=$ATTRIBUTE_AVAILABILITY_ID} - {/loop} - {$pse[$ID]["combinations"]=$pse_combination} - {$pse_images=[]} - {loop name="pse_images" type="product-sale-elements-image" product_sale_elements_id="$ID"} - {$pse_images[]=$PRODUCT_IMAGE_ID} - {/loop} - {$pse[$ID]["images"]=$pse_images} - {/loop} -{/block} - -{* Body Class *} -{block name="body-class"}page-product{/block} - -{* Page Title *} -{block name='no-return-functions' append} - {loop name="product.seo.title" type="product" id=$product_id limit="1" with_prev_next_info="1"} - {$page_title = $META_TITLE} - {/loop} -{/block} - -{* Meta *} -{block name="meta"} - {loop name="product.seo.meta" type="product" id=$product_id limit="1" with_prev_next_info="1"} - {include file="includes/meta-seo.html"} - {/loop} -{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = []} - {loop type="product" name="product_breadcrumb" id=$product_id limit="1" with_prev_next_info="1"} - {loop name="category_path" type="category-path" category={$DEFAULT_CATEGORY}} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} - {$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]} - {/loop} -{/block} - -{* Content *} -{block name="main-content"} - {if $product_id} -
    - {loop name="product.details" type="product" id=$product_id limit="1" with_prev_next_info="1" with_prev_next_visible="1"} -
    - {* Stock *} - {assign var="current_stock_content" value="in_stock"} - {assign var="current_stock_href" value="http://schema.org/InStock"} - {if ($check_availability != 0 && $VIRTUAL == 0 && $QUANTITY <= 0)} - {assign var="current_stock_content" value="out_stock"} - {assign var="current_stock_href" value="http://schema.org/OutOfStock"} - {/if} - - {$pse_count=$PSE_COUNT} - - {* Add custom feature if needed - {loop name="isbn.feature" type="feature" product={$ID} title="isbn"} - {loop name="isbn.value" type="feature_value" feature={$ID} product=$product_id} - - {/loop} - {/loop} - *} - - {hook name="product.top" product={$ID}} - - {ifhook rel="product.gallery"} - {hook name="product.gallery" product={$ID}} - {/ifhook} - {elsehook rel="product.gallery"} - - {/elsehook} - -
    - {hook name="product.details-top" product={$ID}} - -
    -

    {$TITLE}

    - {intl l='Ref.'}: {$default_pse['ref']} - {if in_array(strlen($default_pse['ean']), $gtins)}{/if} - - {loop name="brand_info" type="brand" product={$ID} limit="1"} - {assign var="brand_title" value={$TITLE nofilter}} -

    {$TITLE}

    - {/loop} - - {if $POSTSCRIPTUM}
    -

    {$POSTSCRIPTUM}

    -
    {/if} -
    - - {loop type="sale" name="product-sale-info" product={$ID} active="1"} -
    -

    {$SALE_LABEL}

    -

    {intl l="Save %amount%sign on this product" amount={$PRICE_OFFSET_VALUE} sign={$PRICE_OFFSET_SYMBOL}}

    - {if $HAS_END_DATE} -

    {intl l="This offer is valid until %date" date={format_date date=$END_DATE output="date"}}

    - {/if} -
    - {/loop} - -
    -
    - {intl l="Availability"}: - - {intl l='In Stock'} - {intl l='Out of Stock'} - -
    - -
    - {loop type="category" name="category_tag" id=$DEFAULT_CATEGORY} - - {/loop} - {* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *} - - {* List of currency : The currency used to describe the product price, in three-letter ISO format. *} - - - - {intl l="Special Price:"} {format_money number=$TAXED_PROMO_PRICE symbol={currency attr="symbol"}} - - - {if $SHOW_ORIGINAL_PRICE} - {intl l="Regular Price:"} {format_money number=$TAXED_PRICE} - {/if} - -
    - - - -
    - - {form name="thelia.cart.add" } -
    - {form_hidden_fields} - - - {form_field field="append"} - - {/form_field} - {form_field form=$form field="success_url"} - - {/form_field} - - {if $form_error}
    {$form_error_message}
    {/if} - - {form_field field="product"} - - {/form_field} - - {* pse *} - {form_field field='product_sale_elements_id'} - - {/form_field} - - {if $pse_count > 1} - {* We have more than 1 combination: custom form *} -
    - {loop name="attributes" type="attribute" product="$product_id" order="manual"} -
    - -
    - -
    -
    - {/loop} -
    - -
    - -
    -
    -
    - - - {/if} - -
    - {form_field field='quantity'} -
    - - - {if $error } - {$message} - {elseif $value != "" && !$error} - - {/if} -
    - {/form_field} - -
    - -
    -
    - -
    - {/form} - {hook name="product.details-bottom" product={$ID}} -
    - - {strip} - {capture "additional"} - {ifloop rel="feature_info"} -
      - {loop name="feature_info" type="feature" product={$ID}} - {ifloop rel="feature_value_info"} -
    • - {$TITLE} : - {loop name="feature_value_info" type="feature_value" feature={$ID} product=$product_id} - {if $LOOP_COUNT > 1}, {else} {/if} - {$TITLE} - {/loop} -
    • - {/ifloop} - {/loop} -
    - {/ifloop} - {/capture} - {/strip} - - {strip} - {capture "brand_info"} - {loop name="brand_info" type="brand" product={$ID} limit="1"} -

    {$TITLE}

    - - {loop name="brand.image" type="image" source="brand" id={$LOGO_IMAGE_ID} width=218 height=146 resize_mode="borders"} -

    {$TITLE}

    - {/loop} - - {if $CHAPO} -
    - {$CHAPO} -
    - {/if} - {if $DESCRIPTION} -
    - {$DESCRIPTION nofilter} -
    - {/if} - {if $POSTSCRIPTUM} - - {$POSTSCRIPTUM} - - {/if} - {/loop} - {/capture} - {/strip} - - {strip} - {capture "document"} - {ifloop rel="document"} -
      - {loop name="document" type="document" product=$ID visible="yes"} -
    • - {$TITLE} -
    • - {/loop} -
    - {/ifloop} - {/capture} - {/strip} - -
    - {hookblock name="product.additional" product=$product_id fields="id,class,title,content"} - -
    -
    -
    {$DESCRIPTION|default:'N/A' nofilter}
    -
    - {if $smarty.capture.additional ne ""} -
    - {$smarty.capture.additional nofilter} -
    - {/if} - {if $smarty.capture.brand_info ne ""} -
    - {$smarty.capture.brand_info nofilter} -
    - {/if} - {if $smarty.capture.document ne ""} -
    - {$smarty.capture.document nofilter} -
    - {/if} - {forhook rel="product.additional"} -
    - {$content nofilter} -
    - {/forhook} -
    - {/hookblock} -
    - {hook name="product.bottom" product={$ID}} - - {* javascript configuration to display pse *} - - -
    - - - {foreach $pse as $pseItem} - {if !$pseItem['isDefault']} - - - - - {if in_array(strlen($pseItem['ean']), $gtins)} - - {/if} - - - {ifloop rel="additionalProperty"} -
    - {loop name="additionalProperty" type="attribute_combination" product_sale_elements=$pseItem['id'] order="manual"} - - - {/loop} -
    - {/ifloop} - - {if ($check_availability != 0 && $VIRTUAL == 0 && {$pseItem['quantity']} <= 0)} - - {else} - - {/if} - - - - -
    - {/if} - {/foreach} - {/loop} - -
    - {else} -
    -
    - {include file="includes/empty.html"} -
    -
    - {/if} -{/block} - -{block name="stylesheet"} -{hook name="product.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="product.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="product.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/register.html b/templates/frontOffice/custom/register.html index 288537d4..190107c9 100644 --- a/templates/frontOffice/custom/register.html +++ b/templates/frontOffice/custom/register.html @@ -20,13 +20,13 @@

    {intl l="Create New Account"}

    {hook name="register.top"} {form name="thelia.front.customer.create"} -
    + {form_field field='success_url'} - {* the url the user is redirected to on registration success *} + {* the url the user is redirected to on registration success *} {/form_field} {form_field field='error_message'} - + {/form_field} {form_hidden_fields} {if $form_error}
    {$form_error_message}
    {/if} @@ -153,9 +153,11 @@
    + {hook name="register.form-bottom"} +
    - 2. {intl l="Delivery Information"} + 3. {intl l="Delivery Information"}
    @@ -277,7 +279,7 @@
    - 3. {intl l="Login Information"} + 4. {intl l="Login Information"}
    @@ -309,6 +311,7 @@
    + {form_field field="newsletter"}
    @@ -324,8 +327,6 @@
    {/form_field} - {hook name="register.form-bottom"} -
    diff --git a/templates/frontOffice/custom/sale.html b/templates/frontOffice/custom/sale.html deleted file mode 100644 index 611cc3c6..00000000 --- a/templates/frontOffice/custom/sale.html +++ /dev/null @@ -1,110 +0,0 @@ -{extends file="layout.tpl"} - -{block name="body-class"}page-view-sale{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {loop name="sale-details" type="sale" id={$product_sale}} - {$breadcrumbs = [ - ['title' => "{$SALE_LABEL}", 'url'=>{url path="/sale" sale={$ID}}] - ]} - {/loop} -{/block} - -{block name="main-content"} - - {* Parameters *} - {$limit={$smarty.get.limit|default:8}} - {$product_page={$smarty.get.page|default:1}} - {$product_sale={$smarty.get.sale|default:''}} - - {hook name="sale.top" sale={$product_sale}} - -
    - {hook name="sale.main-top" sale={$product_sale}} -
    - {hook name="sale.content-top" sale={$product_sale}} - - {loop name="sale-details" type="sale" id={$product_sale}} -

    {$SALE_LABEL}

    - -
    -

    {intl l="Save %amount%sign on these products" amount={$PRICE_OFFSET_VALUE} sign={$PRICE_OFFSET_SYMBOL}}

    - {if $HAS_END_DATE} -

    {intl l="This offer is valid until %date" date={format_date date=$END_DATE output="date"}}

    - {/if} -
    - -
    - {if $CHAPO} -
    - {$CHAPO} -
    - {/if} - - {if $DESCRIPTION} -
    - {$DESCRIPTION nofilter} -
    - {/if} -
    - - {assign var="amount" value={count type="product" sale=$ID}} - - - - {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}} - -
    -
    - {ifloop rel="product_list"} -
      - {loop type="product" sale={$ID} name="product_list" limit=$limit page=$product_page order=$product_order} - {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="700" height="320"} - {/loop} -
    - {/ifloop} - - {elseloop rel="product_list"} -

    {intl l="No results found"}

    - {/elseloop} -
    -
    - - {ifloop rel="product_list"} - {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}} - {/ifloop} - - {if $POSTSCRIPTUM} - - {$POSTSCRIPTUM} - - {/if} - {/loop} - - {elseloop rel="sale-details"} -

    {intl l="Sale was not found"}

    - {/elseloop} - - {hook name="sale.content-bottom" sale={$product_sale}} - -
    - - {hook name="sale.main-bottom" sale={$product_sale}} - -
    -{hook name="sale.bottom" sale={$product_sale}} -{/block} - - -{block name="stylesheet"} - {hook name="sale.stylesheet"} -{/block} - -{block name="after-javascript-include"} - {hook name="sale.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} - {hook name="sale.javascript-initialization"} -{/block} \ No newline at end of file diff --git a/templates/frontOffice/custom/search.html b/templates/frontOffice/custom/search.html deleted file mode 100644 index ec46e931..00000000 --- a/templates/frontOffice/custom/search.html +++ /dev/null @@ -1,58 +0,0 @@ -{extends file="layout.tpl"} - - -{block name="body-class"}page-search{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} -{$breadcrumbs = [ -['title' => {intl l="Search"}, 'url'=>{url path="/search"}] -]} -{/block} - -{block name="main-content"} -
    - - {$limit={$smarty.get.limit|default:8}} - {$product_page={$smarty.get.page|default:1}} - {$product_order={$smarty.get.order|default:'alpha'}} - -
    - -

    {intl l="Search Result for"} {$smarty.get.q}

    - {assign var="amount" value={count type="product" title={$smarty.get.q}}} - {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}} -
    -
    - {ifloop rel="product_list"} -
      - {loop type="product" name="product_list" title={$smarty.get.q} limit=$limit page=$product_page order=$product_order} - {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true width="369" height="247"} - {/loop} -
    - {/ifloop} - {elseloop rel="product_list"} -

    {intl l="No results found"}

    - {/elseloop} -
    -
    - {ifloop rel="product_list"} - {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}} - {/ifloop} -
    - -
    -{/block} - - -{block name="stylesheet"} -{hook name="search.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="search.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="search.javascript-initialization"} -{/block} diff --git a/templates/frontOffice/custom/sitemap.html b/templates/frontOffice/custom/sitemap.html deleted file mode 100644 index c4959bba..00000000 --- a/templates/frontOffice/custom/sitemap.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - {url path="/"} - {* - You can also set priority and changefreq - 0.8 - weekly - *} - - -{if $_context_ == "" || $_context_ == "catalog" } - - - {loop type="lang" name="category_lang"} - {if $_lang_ == "" || $_lang_ == $CODE } - {loop type="category" name="category" lang="$ID"} - - {$URL} - {format_date date=$UPDATE_DATE format="c"} - - {/loop} - {/if} - {/loop} - - - {loop type="lang" name="product_lang"} - {if $_lang_ == "" || $_lang_ == $CODE } - {loop type="product" name="product" lang="$ID"} - - {$URL} - {format_date date=$UPDATE_DATE format="c"} - - {/loop} - {/if} - {/loop} - -{/if} - -{if $_context_ == "" || $_context_ == "content" } - - {loop type="lang" name="folder_lang"} - {if $_lang_ == "" || $_lang_ == $CODE } - {loop type="folder" name="folder" lang="$ID"} - - {$URL} - {format_date date=$UPDATE_DATE format="c"} - - {/loop} - {/if} - {/loop} - - - {loop type="lang" name="content_lang"} - {if $_lang_ == "" || $_lang_ == $CODE } - {loop type="content" name="content" lang="$ID"} - - {$URL} - {format_date date=$UPDATE_DATE format="c"} - - {/loop} - {/if} - {/loop} -{/if} - -{hook name="sitemap.bottom" lang="$_lang_" context="$_context_"} - - \ No newline at end of file diff --git a/templates/frontOffice/custom/template.xml b/templates/frontOffice/custom/template.xml index 5aeed544..5ef33b18 100644 --- a/templates/frontOffice/custom/template.xml +++ b/templates/frontOffice/custom/template.xml @@ -8,6 +8,7 @@ Default front office template + default ar_SA cs_CZ diff --git a/templates/frontOffice/custom/view_all.html b/templates/frontOffice/custom/view_all.html deleted file mode 100644 index eeac9371..00000000 --- a/templates/frontOffice/custom/view_all.html +++ /dev/null @@ -1,66 +0,0 @@ -{extends file="layout.tpl"} - - -{block name="body-class"}page-view-all{/block} - -{* Breadcrumb *} -{block name='no-return-functions' append} - {$breadcrumbs = [ - ['title' => {intl l="View all"}, 'url'=>{url path="/view_all"}] - ]} -{/block} - -{block name="main-content"} -
    - - {* Parameters *} - {$limit={$smarty.get.limit|default:8}} - {$product_page={$smarty.get.page|default:1}} - {$product_order={$smarty.get.order|default:'new'}} - {$product_type={$smarty.get.type|default:'new'}} - -
    - -

    {if $product_type == "new"}{intl l="Latest products"}{elseif $product_type == "offers"}{intl l="Product Offers"}{/if}

    - {assign var="amount" value={count type="product" promo="{$product_type == "offers"}" new="{$product_type == "new"}"}} - - {hook name="viewall.top"} - - {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}} -
    -
    - {ifloop rel="product_list"} -
      - {loop type="product" promo={$product_type == "offers"} new={$product_type == "new"} name="product_list" limit=$limit page=$product_page order=$product_order} - {include file="includes/single-product.html" colClass="col-sm-4" product_id=$ID hasBtn=true hasDescription=true width="700" height="320"} - {/loop} -
    - {/ifloop} - {elseloop rel="product_list"} -

    {intl l="No results found"}

    - {/elseloop} -
    -
    - {ifloop rel="product_list"} - {include file="includes/toolbar.html" toolbar="bottom" amount={$amount}} - {/ifloop} - - {hook name="viewall.bottom"} - -
    - -
    -{/block} - - -{block name="stylesheet"} -{hook name="viewall.stylesheet"} -{/block} - -{block name="after-javascript-include"} -{hook name="viewall.after-javascript-include"} -{/block} - -{block name="javascript-initialization"} -{hook name="viewall.javascript-initialization"} -{/block} \ No newline at end of file diff --git a/templates/pdf/custom/I18n/ar_SA.php b/templates/pdf/custom/I18n/ar_SA.php deleted file mode 100644 index 81017f9c..00000000 --- a/templates/pdf/custom/I18n/ar_SA.php +++ /dev/null @@ -1,18 +0,0 @@ - 'التوصيل', - 'Delivery address' => 'عنوان التوصيل', - 'Delivery module' => 'طريقة التوصيل', - 'Discount' => 'خصم', - 'INVOICE' => 'الفاتورة', - 'Invoice REF' => 'مرجع الفاتورة', - 'Postage' => 'الارسالية', - 'Quantity' => 'الكمية', - 'Ref' => 'المرجع', - 'Total' => 'الإجمالي', - 'Total with tax' => 'الإجمالي مع الضريبة', - 'Total without tax' => 'المجموع بدون ضريبة', - 'page' => 'الصفحة', - 'product' => 'المنتج', -]; diff --git a/templates/pdf/custom/I18n/cs_CZ.php b/templates/pdf/custom/I18n/cs_CZ.php deleted file mode 100644 index 8b5ed6ac..00000000 --- a/templates/pdf/custom/I18n/cs_CZ.php +++ /dev/null @@ -1,21 +0,0 @@ - 'Číslo zákazníka', - 'DELIVERY' => 'DODÁNÍ', - 'Delivery address' => 'Doručovací adresa', - 'Email: ' => 'Email: ', - 'INVOICE' => 'FAKTURA', - 'Invoice REF' => 'Faktura číslo', - 'Invoice address' => 'Fakturační adresa', - 'Phone: ' => 'Tel.: ', - 'Quantity' => 'Množství', - 'Ref' => 'Číslo', - 'Total' => 'Celkem', - 'Total with tax' => 'Celkem včetně daně', - 'Total without tax' => 'Celkem bez daně', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.imprint', - 'page' => 'stránka', - 'product' => 'zboží', -]; diff --git a/templates/pdf/custom/I18n/de_DE.php b/templates/pdf/custom/I18n/de_DE.php deleted file mode 100644 index b35d4758..00000000 --- a/templates/pdf/custom/I18n/de_DE.php +++ /dev/null @@ -1,31 +0,0 @@ - 'Kundennummer', - 'DELIVERY' => 'LIEFERUNG', - 'Delivery address' => 'Lieferadresse', - 'Delivery module' => 'Liefermodul', - 'Discount' => 'Rabatt', - 'Email: ' => 'E-Mail-Adresse: ', - 'INVOICE' => 'RECHNUNG', - 'Invoice REF' => 'Rechnungs REF', - 'Invoice address' => 'Rechungsadresse', - 'Invoice date' => 'Rechnungsdatum', - 'Payment module' => 'Zahlungsmodul', - 'Phone: ' => 'Telefonnummer: ', - 'Postage' => 'Porto', - 'Product' => 'Produkt', - 'Quantity' => 'Menge', - 'Ref' => 'REF', - 'Tax' => 'Taxe', - 'Taxed total' => 'Gesamtsumme', - 'Total' => 'Gesamtsumme', - 'Total with tax' => 'Gesamtpreis inkl. Steuern', - 'Total without tax' => 'Gesamtpreis exkl. Steuern', - 'Unit taxed price' => 'Besteuert Einzelpreis', - 'Unit. price' => 'Einzelpreis', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.imprint', - 'page' => 'Seite', - 'product' => 'Produkt', -]; diff --git a/templates/pdf/custom/I18n/el_GR.php b/templates/pdf/custom/I18n/el_GR.php deleted file mode 100644 index 78b4f26b..00000000 --- a/templates/pdf/custom/I18n/el_GR.php +++ /dev/null @@ -1,15 +0,0 @@ - 'ΠΑΡΑΔΟΣΗ', - 'Delivery address' => 'Διεύθυνση παράδοσης', - 'INVOICE' => 'ΤΙΜΟΛΟΓΙΟ', - 'Invoice REF' => 'Αναφ Τιμολογίου', - 'Quantity' => 'Ποσότητα', - 'Ref' => 'Αναφ', - 'Total' => 'Σύνολο', - 'Total with tax' => 'Σύνολο με ΦΠΑ', - 'Total without tax' => 'Σύνολο χωρίς ΦΠΑ', - 'page' => 'σελίδα', - 'product' => 'προϊόν', -]; diff --git a/templates/pdf/custom/I18n/en_US.php b/templates/pdf/custom/I18n/en_US.php deleted file mode 100644 index d7fda7e1..00000000 --- a/templates/pdf/custom/I18n/en_US.php +++ /dev/null @@ -1,33 +0,0 @@ - 'Combination ref : ', - 'Customer Number' => 'Customer Number', - 'DELIVERY' => 'DELIVERY', - 'Delivery address' => 'Delivery address', - 'Delivery module' => 'Delivery module', - 'Discount tax' => 'Discount tax', - 'Discount with tax' => 'Discount with tax', - 'Email: ' => 'Email: ', - 'INVOICE' => 'INVOICE', - 'Invoice REF' => 'Invoice REF', - 'Invoice address' => 'Invoice address', - 'Invoice date' => 'Invoice date', - 'Payment module' => 'Payment module', - 'Phone: ' => 'Phone: ', - 'Postage' => 'Postage', - 'Product' => 'Product', - 'Product ref : ' => 'Product ref : ', - 'Quantity' => 'Quantity', - 'Ref' => 'Ref', - 'Shipping tax' => 'Shipping tax', - 'Tax' => 'Tax', - 'Taxed total' => 'Taxed total', - 'Total' => 'Total', - 'Total with tax' => 'Total incl. tax', - 'Total without tax' => 'Total without tax', - 'Unit taxed price' => 'Unit taxed price', - 'Unit. price' => 'Unit. price', - 'page' => 'page', - 'product' => 'product', -); diff --git a/templates/pdf/custom/I18n/es_ES.php b/templates/pdf/custom/I18n/es_ES.php deleted file mode 100644 index 2281fe94..00000000 --- a/templates/pdf/custom/I18n/es_ES.php +++ /dev/null @@ -1,31 +0,0 @@ - 'Número de cliente', - 'DELIVERY' => 'ENTREGA', - 'Delivery address' => 'Dirección de entrega', - 'Delivery module' => 'Módulo de entrega', - 'Discount' => 'Descuento', - 'Email: ' => 'Correo electrónico: ', - 'INVOICE' => 'FACTURA', - 'Invoice REF' => 'REF de factura ', - 'Invoice address' => 'Dirección de facturación', - 'Invoice date' => 'Fecha factura', - 'Payment module' => 'Módulo de pago', - 'Phone: ' => 'Teléfono: ', - 'Postage' => 'Gastos de envío', - 'Product' => 'Producto', - 'Quantity' => 'Cantidad', - 'Ref' => 'Ref', - 'Tax' => 'Impuestos', - 'Taxed total' => 'Total impuesto', - 'Total' => 'Total', - 'Total with tax' => 'Total IVA inc.', - 'Total without tax' => 'Total sin impuestos', - 'Unit taxed price' => 'Precio unitario IVA incluido', - 'Unit. price' => 'Precio unitario', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.Imprint', - 'page' => 'Página', - 'product' => 'producto', -]; diff --git a/templates/pdf/custom/I18n/fa_IR.php b/templates/pdf/custom/I18n/fa_IR.php deleted file mode 100644 index 75fc532a..00000000 --- a/templates/pdf/custom/I18n/fa_IR.php +++ /dev/null @@ -1,31 +0,0 @@ - 'شماره مشتری', - 'DELIVERY' => 'تحویل', - 'Delivery address' => 'آدرس تحویل', - 'Delivery module' => 'ماژول تحویل', - 'Discount' => 'تخفیف', - 'Email: ' => 'ایمیل: ', - 'INVOICE' => 'فاکتور', - 'Invoice REF' => 'شماره صورت حساب', - 'Invoice address' => 'آدرس صورتحساب', - 'Invoice date' => 'تاریخ فاکتور', - 'Payment module' => 'ماژول پرداخت', - 'Phone: ' => 'شماره تماس: ', - 'Postage' => 'هزینه پست', - 'Product' => 'محصول', - 'Quantity' => 'تعداد', - 'Ref' => 'شماره', - 'Tax' => 'مالیات', - 'Taxed total' => 'مجموع (با مالیات)', - 'Total' => 'مجموع', - 'Total with tax' => 'مجموع (با مالیات)', - 'Total without tax' => 'مجموع (بدون مالیات)', - 'Unit taxed price' => 'قیمت واحد مالیات خورده', - 'Unit. price' => 'قیمت واحد', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.imprint', - 'page' => 'صفحه', - 'product' => 'محصول', -]; diff --git a/templates/pdf/custom/I18n/fr_FR.php b/templates/pdf/custom/I18n/fr_FR.php deleted file mode 100644 index 8a104cb6..00000000 --- a/templates/pdf/custom/I18n/fr_FR.php +++ /dev/null @@ -1,33 +0,0 @@ - 'Réf. déclinaison', - 'Customer Number' => 'Numéro de client', - 'DELIVERY' => 'LIVRAISON', - 'Delivery address' => 'Adresse de livraison', - 'Delivery module' => 'Module de livraison', - 'Discount with tax' => 'Remise TTC', - 'Email: ' => 'Email :', - 'INVOICE' => 'FACTURE', - 'Invoice REF' => 'Numéro de facture', - 'Invoice address' => 'Adresse de facturation', - 'Invoice date' => 'Date de facturation', - 'Payment module' => 'Module de paiement', - 'Phone: ' => 'Tél.: ', - 'Postage' => 'Frais de livraison TTC', - 'Product' => 'Produit', - 'Product ref : ' => 'Réf. produit', - 'Quantity' => 'Quantité', - 'Ref' => 'Réf.', - 'Tax' => 'Taxe', - 'Tax %name: %tax' => 'Dont %name: %tax', - 'Tax: %tax' => 'Dont taxe %tax', - 'Taxed total' => 'Total TTC', - 'Total' => 'Total', - 'Total with tax' => 'Total TTC', - 'Total without tax' => 'Total HT', - 'Unit taxed price' => 'Prix unitaire TTC', - 'Unit. price' => 'Prix unitaire', - 'page' => 'page', - 'product' => 'Produit', -); diff --git a/templates/pdf/custom/I18n/hu_HU.php b/templates/pdf/custom/I18n/hu_HU.php deleted file mode 100644 index fb2d0646..00000000 --- a/templates/pdf/custom/I18n/hu_HU.php +++ /dev/null @@ -1,18 +0,0 @@ - 'Ügyfélszám', - 'Delivery address' => 'Szállítáci cím', - 'Delivery module' => 'Szállítási modul', - 'Discount' => 'Kedvezmény', - 'Invoice date' => 'Számla kelte', - 'Payment module' => 'Fizetési modul', - 'Postage' => 'Szállítási költség', - 'Product' => 'Termék', - 'Quantity' => 'Mennyiség', - 'Tax' => 'Adó', - 'Taxed total' => 'Összesen (Bruttó)', - 'Total' => 'Összesen', - 'Unit taxed price' => 'Egységár (Bruttó)', - 'Unit. price' => 'Egységár', -]; diff --git a/templates/pdf/custom/I18n/id_ID.php b/templates/pdf/custom/I18n/id_ID.php deleted file mode 100644 index 5ffba332..00000000 --- a/templates/pdf/custom/I18n/id_ID.php +++ /dev/null @@ -1,17 +0,0 @@ - 'PENGIRIMAN', - 'Email: ' => 'E-mail: ', - 'INVOICE' => 'FAKTUR', - 'Invoice REF' => 'REF Faktur', - 'Invoice address' => 'Alamat untuk faktur', - 'Phone: ' => 'Telepon: ', - 'Ref' => 'Ref', - 'Total with tax' => 'Total termasuk pajak', - 'Total without tax' => 'Total tanpa pajak', - 'delivery.imprint' => 'jejak Pengiriman', - 'invoice.imprint' => 'jejak Faktur', - 'page' => 'halaman', - 'product' => 'produk', -]; diff --git a/templates/pdf/custom/I18n/it_IT.php b/templates/pdf/custom/I18n/it_IT.php deleted file mode 100644 index e733fd21..00000000 --- a/templates/pdf/custom/I18n/it_IT.php +++ /dev/null @@ -1,17 +0,0 @@ - 'Indirizzo di consegna', - 'Delivery module' => 'Modulo di consegna', - 'Discount' => 'Sconto', - 'Invoice date' => 'Data della fattura', - 'Payment module' => 'Modulo di pagamento', - 'Postage' => 'Spese di spedizione', - 'Product' => 'Prodotto', - 'Quantity' => 'Quantità', - 'Tax' => 'Tassa', - 'Taxed total' => 'Totale tassato', - 'Total' => 'Totale', - 'Unit taxed price' => 'Prezzo unitario tassato', - 'Unit. price' => 'Prezzo unitario', -]; diff --git a/templates/pdf/custom/I18n/nl_NL.php b/templates/pdf/custom/I18n/nl_NL.php deleted file mode 100644 index 4ded4adb..00000000 --- a/templates/pdf/custom/I18n/nl_NL.php +++ /dev/null @@ -1,6 +0,0 @@ - 'pagina', - 'product' => 'product', -]; diff --git a/templates/pdf/custom/I18n/pl_PL.php b/templates/pdf/custom/I18n/pl_PL.php deleted file mode 100644 index 6d3ea3ee..00000000 --- a/templates/pdf/custom/I18n/pl_PL.php +++ /dev/null @@ -1,18 +0,0 @@ - 'Numer klienta', - 'DELIVERY' => 'DOSTAWA', - 'Delivery address' => 'Adres dostawy', - 'Email: ' => 'Email: ', - 'INVOICE' => 'FAKTURA', - 'Invoice REF' => 'Numer faktury', - 'Invoice address' => 'Adres rozliczeniowy (do faktury)', - 'Phone: ' => 'Telefon: ', - 'Total with tax' => 'Suma brutto', - 'Total without tax' => 'Suma netto', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.imprint', - 'page' => 'strona', - 'product' => 'produkt', -]; diff --git a/templates/pdf/custom/I18n/pt_BR.php b/templates/pdf/custom/I18n/pt_BR.php deleted file mode 100644 index 52f661c6..00000000 --- a/templates/pdf/custom/I18n/pt_BR.php +++ /dev/null @@ -1,21 +0,0 @@ - 'Número do cliente', - 'DELIVERY' => 'ENTREGA', - 'Delivery address' => 'Endereço de entrega', - 'Email: ' => 'Email', - 'INVOICE' => 'Fatura', - 'Invoice REF' => 'Ref de fatura', - 'Invoice address' => 'Endereço de fatura', - 'Phone: ' => 'Telefone', - 'Quantity' => 'Quantidade', - 'Ref' => 'Ref', - 'Total' => 'Total', - 'Total with tax' => 'Preço Final c/ impostos', - 'Total without tax' => 'Preço final s/ impostos', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.imprint', - 'page' => 'página', - 'product' => 'produto', -]; diff --git a/templates/pdf/custom/I18n/pt_PT.php b/templates/pdf/custom/I18n/pt_PT.php deleted file mode 100644 index 9f07b493..00000000 --- a/templates/pdf/custom/I18n/pt_PT.php +++ /dev/null @@ -1,15 +0,0 @@ - 'ENTREGA', - 'Email: ' => 'Email: ', - 'INVOICE' => 'FATURA', - 'Invoice REF' => 'Referencia da factura', - 'Invoice address' => 'Morada de facturação', - 'Phone: ' => 'Telefone: ', - 'Ref' => 'Ref', - 'Total with tax' => 'Total (com IVA)', - 'Total without tax' => 'Total (sem IVA)', - 'page' => 'página', - 'product' => 'produto', -]; diff --git a/templates/pdf/custom/I18n/ru_RU.php b/templates/pdf/custom/I18n/ru_RU.php deleted file mode 100644 index fb2f326c..00000000 --- a/templates/pdf/custom/I18n/ru_RU.php +++ /dev/null @@ -1,29 +0,0 @@ - 'Номер клиента', - 'DELIVERY' => 'ДОСТАВКА', - 'Delivery address' => 'Адрес доставки', - 'Delivery module' => 'Модуль доставки', - 'Discount' => 'Скидка', - 'Email: ' => 'Эл.почта: ', - 'INVOICE' => 'СЧЕТ-ФАКТУРА', - 'Invoice REF' => 'Счет-фактура номер', - 'Invoice address' => 'Адрес плательщика', - 'Invoice date' => 'Дата счет-фактуры', - 'Payment module' => 'Модуль оплаты', - 'Phone: ' => 'Телефон: ', - 'Postage' => 'Почтовые расходы', - 'Product' => 'Товар', - 'Quantity' => 'Количество', - 'Ref' => 'Номер', - 'Tax' => 'Налог', - 'Taxed total' => 'Цена с налогом', - 'Total' => 'Итого', - 'Total with tax' => 'Итого с налогом', - 'Total without tax' => 'Итого без налога', - 'Unit taxed price' => 'Цена с налогом ед.', - 'Unit. price' => 'Цена ед.', - 'page' => 'страница', - 'product' => 'товар', -); diff --git a/templates/pdf/custom/I18n/sk_SK.php b/templates/pdf/custom/I18n/sk_SK.php deleted file mode 100644 index 589b36d1..00000000 --- a/templates/pdf/custom/I18n/sk_SK.php +++ /dev/null @@ -1,24 +0,0 @@ - 'Zákaznícke číslo', - 'DELIVERY' => 'DODANIE', - 'Delivery address' => 'Adresa doručenia', - 'Email: ' => 'E-mail: ', - 'INVOICE' => 'FAKTÚRA', - 'Invoice REF' => 'Číslo Faktúry', - 'Invoice address' => 'Fakturačná adresa', - 'Phone: ' => 'Telefón: ', - 'Quantity' => 'Množstvo', - 'Ref' => 'Kód', - 'Tax' => 'Daň', - 'Total' => 'Celkom', - 'Total with tax' => 'Celkom vrátane dane', - 'Total without tax' => 'Celkom bez dane', - 'Unit taxed price' => 'Jednotková cena s daňou', - 'Unit. price' => 'Jednotková cena', - 'delivery.imprint' => 'delivery.imprint', - 'invoice.imprint' => 'invoice.imprint', - 'page' => 'stránka', - 'product' => 'produkt', -]; diff --git a/templates/pdf/custom/I18n/tr_TR.php b/templates/pdf/custom/I18n/tr_TR.php deleted file mode 100644 index 6625cb69..00000000 --- a/templates/pdf/custom/I18n/tr_TR.php +++ /dev/null @@ -1,31 +0,0 @@ - 'Müşteri numarası', - 'DELIVERY' => 'TESLİMAT', - 'Delivery address' => 'Teslimat adresi', - 'Delivery module' => 'Teslimat modülü', - 'Discount' => 'İndirim', - 'Email: ' => 'Eposta: ', - 'INVOICE' => 'FATURA', - 'Invoice REF' => 'Fatura ürün kodu', - 'Invoice address' => 'Fatura Adresi', - 'Invoice date' => 'Fatura tarihi', - 'Payment module' => 'Ödeme modülü', - 'Phone: ' => 'Telefon: ', - 'Postage' => 'Posta', - 'Product' => 'ürün', - 'Quantity' => 'Adet', - 'Ref' => 'Referans', - 'Tax' => 'Kdv', - 'Taxed total' => 'Genel Toplam [Kdv dahil]', - 'Total' => 'Toplam', - 'Total with tax' => 'Genel Toplam [Kdv dahil]', - 'Total without tax' => 'Kdv toplam', - 'Unit taxed price' => 'Birim kdv fiyatı', - 'Unit. price' => 'Birim Fiyatı', - 'delivery.imprint' => 'Teslimat Şekli', - 'invoice.imprint' => 'Fatura Şekli', - 'page' => 'sayfa', - 'product' => 'Ürün', -]; diff --git a/templates/pdf/custom/LICENSE.txt b/templates/pdf/custom/LICENSE.txt deleted file mode 100644 index 65c5ca88..00000000 --- a/templates/pdf/custom/LICENSE.txt +++ /dev/null @@ -1,165 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. diff --git a/templates/pdf/custom/Readme.md b/templates/pdf/custom/Readme.md deleted file mode 100644 index 0433ebba..00000000 --- a/templates/pdf/custom/Readme.md +++ /dev/null @@ -1,18 +0,0 @@ -Readme -====== - -## This is the repository of Thelia default pdf template. All the pull requests on this repo will be ignored. -### If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project) -### If you want to contribute to Thelia, please take a look at [thelia/thelia](https://github.com/thelia/thelia) - -Thelia ------- -[![Build Status](https://travis-ci.org/thelia/thelia.png?branch=master)](https://travis-ci.org/thelia/thelia) [![License](https://poser.pugx.org/thelia/thelia/license.png)](https://packagist.org/packages/thelia/thelia) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/thelia/thelia/badges/quality-score.png?s=61e3e04a69bffd71c29b08e5392080317a546716)](https://scrutinizer-ci.com/g/thelia/thelia/) - -[Thelia](http://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL. - -This is the new major version of Thelia. - -You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information. - -A repository containing all thelia modules is available at this address : https://github.com/thelia-modules diff --git a/templates/pdf/custom/composer.json b/templates/pdf/custom/composer.json deleted file mode 100644 index 721ce169..00000000 --- a/templates/pdf/custom/composer.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "thelia/pdf-default-template", - "type": "thelia-pdf-template", - "require": { - "thelia/installer": "~1.1" - }, - "extra": { - "installer-name": "default" - } -} diff --git a/templates/pdf/custom/delivery.html b/templates/pdf/custom/delivery.html deleted file mode 100644 index 9183aa79..00000000 --- a/templates/pdf/custom/delivery.html +++ /dev/null @@ -1,281 +0,0 @@ -{*************************************************************************************/ -/* This file is part of the Thelia package. */ -/* */ -/* Copyright (c) OpenStudio */ -/* email : dev@thelia.net */ -/* web : http://www.thelia.net */ -/* */ -/* For the full copyright and license information, please view the LICENSE.txt */ -/* file that was distributed with this source code. */ -/*************************************************************************************} - -{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} -{default_translation_domain domain='pdf.custom'} -{literal} - -{/literal} - - - {hook name="delivery.header" order=$order_id} - - - - {hook name="delivery.footer-top" order=$order_id} - - - - - - - - - -
    - {hook name="delivery.imprint" order=$order_id} - {elsehook rel="delivery.imprint"} - - {config key="store_name"} - {$addresses="{config key='store_address1'} {config key='store_address2'} {config key='store_address3'}"} - {$city="{config key='store_zipcode'} {config key='store_city'}"} - {if $addresses != " "}- {$addresses}{/if} - {if $city != " " }- {$city}{/if} - {if {config key="store_country"} } - {loop type="country" visible="*" name="address.country.title" id={config key="store_country"}} - {$TITLE}{/loop} - {/if} - {if {config key="store_business_id"} } - - {config key="store_business_id"} - {/if} -
    - {if {config key="store_phone"} } - {intl l="Phone: "}{config key="store_phone"} - {/if} - {if {config key="store_email"} } - {intl l="Email: "}{config key="store_email"} - {/if} - {/elsehook} -
    {intl l="page"} [[page_cu]]/[[page_nb]]
    - {hook name="delivery.footer-bottom" order=$order_id} -
    - -{loop name="order.invoice" type="order" id=$order_id customer="*"} - - - - - - - - - - - - - - - - {hookblock name="delivery.information" order=$order_id fields="title,value"} - {forhook rel="delivery.information"} - - - - {/forhook} - {/hookblock} -
    -

    {intl l="DELIVERY"}

    -

    {intl l="Invoice date"} : {format_date date=$INVOICE_DATE output="date"}

    {intl l="Invoice REF"} : {$REF}

    {intl l="Customer Number"} : {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}

    {$title} : {$value}

    - - {hook name="delivery.after-information" order=$order_id} - - - - - - - - -
    -

    {intl l="Delivery address"}

    - {ifhook rel="delivery.delivery-address"} - {* delivery module can customize the delivery address *} - {hook name="delivery.delivery-address" module={$DELIVERY_MODULE} order=$order_id} - {/ifhook} - {elsehook rel="delivery.delivery-address"} - {format_address order_address=$DELIVERY_ADDRESS locale=$locale} - {/elsehook} -
    -

    {intl l="Invoice address"}

    - {format_address order_address=$INVOICE_ADDRESS locale=$locale} -
    - - {hook name="delivery.after-addresses" order=$order_id} - - - - - - - - - - - {loop type="order_product" name="order-products" order=$ID} - - - - - - - {hook name="delivery.order-product" order={$order_id} order_product={$ID}} - {/loop} -
    -

    {intl l="Ref"}

    -
    -

    {intl l="product"}

    -
    -

    {intl l="Quantity"}

    -
    -

    {$REF}

    - {if $REF != $PRODUCT_SALE_ELEMENTS_REF}

    {$PRODUCT_SALE_ELEMENTS_REF}

    {/if} -
    -

    {$TITLE}

    - {ifloop rel="combinations"} - {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
    - {/loop} - {/ifloop} - {hook name="delivery.product-list" order_product=$ID order=$order_id} -
    -

    {$QUANTITY}

    -
    - - - - - - - - - -
    -

    {intl l="Delivery module"}

    -

    - {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop} -

    - - {hook name="delivery.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE} -
    - -{hook name="delivery.after-summary" order=$order_id} - -{/loop} -
    diff --git a/templates/pdf/custom/invoice.html b/templates/pdf/custom/invoice.html deleted file mode 100644 index bb1a11a4..00000000 --- a/templates/pdf/custom/invoice.html +++ /dev/null @@ -1,369 +0,0 @@ -{*************************************************************************************/ -/* This file is part of the Thelia package. */ -/* */ -/* Copyright (c) OpenStudio */ -/* email : dev@thelia.net */ -/* web : http://www.thelia.net */ -/* */ -/* For the full copyright and license information, please view the LICENSE.txt */ -/* file that was distributed with this source code. */ -/*************************************************************************************} - -{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *} -{default_translation_domain domain='pdf.custom'} -{literal} - -{/literal} - - - {hook name="invoice.header" order=$order_id} - - - - {hook name="invoice.footer-top" order=$order_id} - - - - - - - - - -
    - {hook name="invoice.imprint" order=$order_id} - {elsehook rel="invoice.imprint"} - - {config key="store_name"} - {$addresses="{config key="store_address1"} {config key="store_address2"} {config key="store_address3"}"} - {$city="{config key="store_zipcode"} {config key="store_city"}"} - {if $addresses != " "}- {$addresses}{/if} - {if $city != " " }- {$city}{/if} - {if {config key="store_country"} } - {loop type="country" visible="*" name="address.country.title" id={config key="store_country"}} - {$TITLE}{/loop} - {/if} - {if {config key="store_business_id"} } - - {config key="store_business_id"} - {/if} -
    - {if {config key="store_phone"} } - {intl l="Phone: "}{config key="store_phone"} - {/if} - {if {config key="store_email"} } - {intl l="Email: "}{config key="store_email"} - {/if} - {/elsehook} -
    {intl l="page"} [[page_cu]]/[[page_nb]]
    - {hook name="invoice.footer-bottom" order=$order_id} -
    - - {$taxes = []} - - {loop name="order.invoice" type="order" id=$order_id customer="*"} - - - - - - - - - - - - - - - {hookblock name="invoice.information" order=$order_id fields="title,value"} - {forhook rel="invoice.information"} - - - - {/forhook} - {/hookblock} -
    -

    {intl l="INVOICE"}

    -

    {intl l="Invoice date"} : {format_date date=$INVOICE_DATE output="date"}

    {intl l="Invoice REF"} : {$REF}

    {intl l="Customer Number"} : {loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}

    {$title} : {$value}

    - - {hook name="invoice.after-information" order=$order_id} - - - - - - - - -
    -

    {intl l="Delivery address"}

    - {ifhook rel="invoice.delivery-address"} - {* delivery module can customize the delivery address *} - {hook name="invoice.delivery-address" module={$DELIVERY_MODULE} order=$order_id} - {/ifhook} - {elsehook rel="invoice.delivery-address"} - {format_address order_address=$DELIVERY_ADDRESS locale=$locale} - {/elsehook} -
    -

    {intl l="Invoice address"}

    - {format_address order_address=$INVOICE_ADDRESS locale=$locale} -
    - - {hook name="invoice.after-addresses" order=$order_id} - - - - - - - - - - - - - - - - - - {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} - {assign "realTotalPrice" $TOTAL_TAXED_PROMO_PRICE} - {else} - {assign "realPrice" $PRICE} - {assign "realTax" $PRICE_TAX} - {assign "realTaxedPrice" $TAXED_PRICE} - {assign "realTotalPrice" $TOTAL_TAXED_PRICE} - {/if} - - {$taxes[{$TAX_RULE_TITLE}][] = floatval($realTax) * $QUANTITY} - - - - - - - - - - - {hook name="invoice.order-product" order={$order_id} order_product={$ID}} - {/loop} -

    {intl l="Product"}

    {intl l="Unit. price"}

    {intl l="Tax"}

    {intl l="Unit taxed price"}

    {intl l="Quantity"}

    {intl l="Taxed total"}

    -

    {$TITLE}

    -

    - {intl l="Product ref : "}{$REF}
    - {intl l="Combination ref : "}{$PRODUCT_SALE_ELEMENTS_REF} -

    - {ifloop rel="combinations"} - {loop type="order_product_attribute_combination" name="combinations" order_product=$ID} - {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
    - {/loop} - {/ifloop} - {hook name="invoice.product-list" order_product=$ID order=$order_id} -

    {format_money number=$realPrice currency_id=$CURRENCY}

    {format_money number=$realTax currency_id=$CURRENCY}

    {format_money number=$realTaxedPrice currency_id=$CURRENCY}

    {$QUANTITY}

    {format_money number=$realTotalPrice currency_id=$CURRENCY}

    - -{hook name="invoice.after-products" order=$order_id} - - - - - - - - -
    - -

    {intl l="Payment module"}

    -

    - {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop} -

    - - {hook name="invoice.after-payment-module" order=$order_id module_id=$PAYMENT_MODULE} - - -

    {intl l="Delivery module"}

    -

    - {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop} -

    - - {hook name="invoice.after-delivery-module" order=$order_id module_id=$DELIVERY_MODULE} - -
    - - - - - - - - - {capture name="tax"}{strip} - {foreach $taxes as $name=>$prices} - {assign var="_price_taxe_" value="0"} - {foreach $prices as $price} - {$_price_taxe_= $_price_taxe_ + $price} - {/foreach} - {if $_price_taxe_ != 0} - - - - - {/if} - {/foreach} - {/strip}{/capture} - - {if $smarty.capture.tax ne ""} - {$smarty.capture.tax nofilter} - {/if} - - - - - {if $DISCOUNT > 0} - - - - - {/if} - - - - - - - - -

    {intl l="Total without tax"}

    {format_money number={$TOTAL_ITEMS_AMOUNT} currency_id=$CURRENCY}

    {$name}

    {format_money number=$_price_taxe_ currency_id=$CURRENCY}

    {intl l="Total with tax"}

    {format_money number={$TOTAL_TAXED_ITEMS_AMOUNT} currency_id=$CURRENCY}

    -

    - {intl l="Discount with tax"} -
    {intl l="Tax: %tax" tax={format_money number=$DISCOUNT_TAX currency_id=$CURRENCY}} -

    -

    -{format_money number=$DISCOUNT currency_id=$CURRENCY}

    -

    - {intl l="Postage"} - {if $POSTAGE_TAX != 0} -
    {intl l="Tax %name: %tax" name=$POSTAGE_TAX_RULE_TITLE tax={format_money number=$POSTAGE_TAX currency_id=$CURRENCY}} - {/if} -

    -

    {format_money number=$POSTAGE currency_id=$CURRENCY}

    {intl l="Total"}

    {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}

    -
    - -{hook name="invoice.after-summary" order=$order_id} - -{/loop} -
    diff --git a/templates/pdf/custom/template.xml b/templates/pdf/custom/template.xml index 13c4576b..eeb0e820 100644 --- a/templates/pdf/custom/template.xml +++ b/templates/pdf/custom/template.xml @@ -8,6 +8,7 @@ Default PDF template + default ar_SA cs_CZ