git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7522 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>mailalerts</name>
|
||||
<displayName>Mail alerts</displayName>
|
||||
<version>2.2</version>
|
||||
<description>Sends e-mail notifications to customers and merchants.</description>
|
||||
<author>PrestaShop</author>
|
||||
<tab>administration</tab>
|
||||
<confirmUninstall>Are you sure you want to delete all customer notifications?</confirmUninstall>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>1</need_instance>
|
||||
</module>
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd30254803e8db32521d3390131a44da'] = 'Mail-Benachrichtigungen';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_2d51f4a7ab8a12c4f35b507019523b8c'] = 'Sendet E-Mail-Benachrichtigungen an Kunden und Händler.';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8fd3b84964bd6dfec8095f658d200b29'] = 'Sind Sie sicher, dass alle Kundenmitteilungen löschen wollen?';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7cb9a154f101c674c945f88dad5c5e28'] = 'Keine Nachricht';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9137796c15dd92e5553c3f29574d0968'] = 'Gutschein-Code:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4c9120f1a5947445c0e9620254ceb30b'] = 'Neue Bestellung';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7a608706e248c21437882f5d1a8ece3a'] = 'Kundennachricht';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ea379dd90c33c1345f40aa0afa6688d8'] = 'Produktverfügbarkeit:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_86e8d61297942b00e9937299735df971'] = 'Gibt dem Kunden die Möglichkeit, eine Nachricht zu einem verfügbaren Produkt zu erhalten, wenn dieses vorher nicht auf Lager war';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_38fb7d24e0d60a048f540ecb18e13376'] = 'Speichern';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_d9b64868bb5b490c5c0627abe835acf6'] = 'Händlernachricht';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9204d21640382a89a95ec42f44f9051c'] = 'Neue Bestellung:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd5dc19a70d21e130f2e4ab5eb205e66'] = 'Eine Benachrichtigung erhalten, wenn eine neue Bestellung gemacht wird';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ebc3ccf8441dba3c1615afa6acb3282a'] = 'Nicht auf Lager:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c009546071b59092716ba006f307c6af'] = 'Eine Benachrichtigung erhalten, wenn die Menge eines Produkts unterhalb der der Alarmgrenze ist';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_af097c4096dc45754451f6f656dd1ee0'] = 'Alarmgrenze';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_65d0578157fd293e96f55f2d9228c07b'] = 'Menge, bei der ein Produkt als ausverkauft gilt';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4cf0e54bd20f173efae53b6b4d3d8d9a'] = 'An diese E-Mail-Adressen senden:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8c5b6fe38a32f46c355f025a820c804c'] = 'Eine E-Mail-Adresse pro Zeile';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f77ed609e48d550f0166dfbafc102710'] = 'z.B.,';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c1ee76f076a5b97e3b4b0c0e5703246e'] = 'Kann Einstellungen nicht aktualisieren';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Bestätigung';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c888438d14855d7d96a2724ee9c306bd'] = 'Einstellungen aktualisiert';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ce241f25e003bafeb9fce6857d8f027f'] = 'Bitte geben Sie eine (oder mehrere) E-Mail Adressen ein';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_29aae9c646337554f4de7ae29050c39f'] = 'Ungültige E-Mail:';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Meine Benachrichtigungen';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_abca7cba75e5a9ff86b1490f32891f82'] = 'Benachrichtigungen';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mein Konto';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Meine Benachrichtigungen';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_deb10517653c255364175796ace3553f'] = 'Produkt';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_f2a6c498fb90ee345d997f888fce3b18'] = 'Löschen';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_074c07016d3e5a9f011aa8e62abe4517'] = 'Sie haben keine Benachrichtigungen abonniert.';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_0b3db27bc15f682e92ff250ebb167d4b'] = 'Zurück zu Ihrem Konto';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_8cf04a9734132302f96da8e113e80ce5'] = 'Startseite';
|
||||
$_MODULE['<{mailalerts}prestashop>product_61172eb93737ebf095d3fa02119ce1df'] = 'Anfragenachricht registriert';
|
||||
$_MODULE['<{mailalerts}prestashop>product_900f8551b29793ecb604a545b2059cc1'] = 'Ihre E-Mail-Adresse ist ungültig';
|
||||
$_MODULE['<{mailalerts}prestashop>product_546e02eaa9a986c83cc347e273269f2c'] = 'Mich bei Verfügbarkeit benachrichtigen';
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd30254803e8db32521d3390131a44da'] = 'Alertas por correo';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_2d51f4a7ab8a12c4f35b507019523b8c'] = 'Enviar correos de notificación a los clientes y comerciantes.';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8fd3b84964bd6dfec8095f658d200b29'] = '¿Está seguro de querer suprimir todas las notificaciones de los clientes?';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7cb9a154f101c674c945f88dad5c5e28'] = 'No hay mensaje';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9137796c15dd92e5553c3f29574d0968'] = 'Código del vale:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4c9120f1a5947445c0e9620254ceb30b'] = 'Nuevo pedido';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7a608706e248c21437882f5d1a8ece3a'] = 'Notificación al cliente';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ea379dd90c33c1345f40aa0afa6688d8'] = 'Disponibilidad del producto:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_86e8d61297942b00e9937299735df971'] = 'Da al cliente la posibilidad de recibir una notificación cuando un producto agotado se encuentra de nuevo disponible';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_38fb7d24e0d60a048f540ecb18e13376'] = 'Guardar';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_d9b64868bb5b490c5c0627abe835acf6'] = 'Notificación al comerciante';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9204d21640382a89a95ec42f44f9051c'] = 'Nuevo pedido:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd5dc19a70d21e130f2e4ab5eb205e66'] = 'Recibir una notificación si se recibe un nuevo pedido';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ebc3ccf8441dba3c1615afa6acb3282a'] = 'Fuera de stock';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c009546071b59092716ba006f307c6af'] = 'Recibir una notificación si la cantidad del producto se encuentra por debajo del umbral de alerta';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_af097c4096dc45754451f6f656dd1ee0'] = 'Umbral de alerta:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_65d0578157fd293e96f55f2d9228c07b'] = 'Cantidad a partir de la cual el producto se considera fuera de stock';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4cf0e54bd20f173efae53b6b4d3d8d9a'] = 'Enviar por email:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8c5b6fe38a32f46c355f025a820c804c'] = 'Una dirección email por línea';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f77ed609e48d550f0166dfbafc102710'] = 'ej:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c1ee76f076a5b97e3b4b0c0e5703246e'] = 'No se pueden actualizar los ajustes';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Confirmación';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c888438d14855d7d96a2724ee9c306bd'] = 'Ajustes actualizados';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ce241f25e003bafeb9fce6857d8f027f'] = 'Por favor, una o máas direcciones email';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_29aae9c646337554f4de7ae29050c39f'] = 'Email no válido:';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Mis alertas';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_abca7cba75e5a9ff86b1490f32891f82'] = 'alertas';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mi cuenta';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Mis alertas';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_deb10517653c255364175796ace3553f'] = 'Producto';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_f2a6c498fb90ee345d997f888fce3b18'] = 'Borrar';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_074c07016d3e5a9f011aa8e62abe4517'] = 'No está inscrito a ninguna alerta.';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_0b3db27bc15f682e92ff250ebb167d4b'] = 'Volver a mi cuenta';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_8cf04a9734132302f96da8e113e80ce5'] = 'Inicio';
|
||||
$_MODULE['<{mailalerts}prestashop>product_61172eb93737ebf095d3fa02119ce1df'] = 'Notificación de la petición registrada';
|
||||
$_MODULE['<{mailalerts}prestashop>product_900f8551b29793ecb604a545b2059cc1'] = 'Su dirección de correo electrónico no es válida.';
|
||||
$_MODULE['<{mailalerts}prestashop>product_546e02eaa9a986c83cc347e273269f2c'] = 'Indicarme cuando esté disponible';
|
||||
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd30254803e8db32521d3390131a44da'] = 'Alertes email';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_2d51f4a7ab8a12c4f35b507019523b8c'] = 'Envoit des notifications par e-mail aux clients et aux marchands.';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8fd3b84964bd6dfec8095f658d200b29'] = 'Etes-vous sûr de vouloir supprimer toutes les notifications clients ?';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7cb9a154f101c674c945f88dad5c5e28'] = 'Aucun message';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9137796c15dd92e5553c3f29574d0968'] = 'Code de réduction :';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4c9120f1a5947445c0e9620254ceb30b'] = 'Nouvelle commande';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7a608706e248c21437882f5d1a8ece3a'] = 'Notification client';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ea379dd90c33c1345f40aa0afa6688d8'] = 'Disponibilité du produit';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_86e8d61297942b00e9937299735df971'] = 'Donne au client la possibilité de recevoir une notification lorsqu\'un produit hors-stock est de nouveau disponible';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_38fb7d24e0d60a048f540ecb18e13376'] = 'Enregistrer';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_d9b64868bb5b490c5c0627abe835acf6'] = 'Notification marchand';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9204d21640382a89a95ec42f44f9051c'] = 'Nouvelle commande : ';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd5dc19a70d21e130f2e4ab5eb205e66'] = 'Recevoir une notification si une nouvelle commande est passée';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ebc3ccf8441dba3c1615afa6acb3282a'] = 'Hors stock : ';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c009546071b59092716ba006f307c6af'] = 'Recevoir une notification si la quantité du produit est en dessous du seuil d\'alerte';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_af097c4096dc45754451f6f656dd1ee0'] = 'Seuil d\'alerte:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_65d0578157fd293e96f55f2d9228c07b'] = 'Quantité pour laquelle le produit est considéré hors stock';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4cf0e54bd20f173efae53b6b4d3d8d9a'] = 'Envoyer aux adresses e-mail suivantes :';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8c5b6fe38a32f46c355f025a820c804c'] = 'Une adresse email par ligne';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f77ed609e48d550f0166dfbafc102710'] = 'ex :';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c1ee76f076a5b97e3b4b0c0e5703246e'] = 'Mise à jour des réglages impossible';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Confirmation';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c888438d14855d7d96a2724ee9c306bd'] = 'Configuration mise à jour';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ce241f25e003bafeb9fce6857d8f027f'] = 'Merci d\'entrer une (ou plusieurs) addresse(s) email';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_29aae9c646337554f4de7ae29050c39f'] = 'E-mail invalide : ';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Mes alertes';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_abca7cba75e5a9ff86b1490f32891f82'] = 'alertes';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Mes alertes';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_deb10517653c255364175796ace3553f'] = 'Produit';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_074c07016d3e5a9f011aa8e62abe4517'] = 'Vous n\'avez souscrit à aucune alerte.';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_0b3db27bc15f682e92ff250ebb167d4b'] = 'Retour à votre compte';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
|
||||
$_MODULE['<{mailalerts}prestashop>product_61172eb93737ebf095d3fa02119ce1df'] = 'Demande de notification enregistrée';
|
||||
$_MODULE['<{mailalerts}prestashop>product_900f8551b29793ecb604a545b2059cc1'] = 'Votre adresse e-mail est invalide';
|
||||
$_MODULE['<{mailalerts}prestashop>product_546e02eaa9a986c83cc347e273269f2c'] = 'Prévenez-moi lorsque le produit est disponible';
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 358 B |
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd30254803e8db32521d3390131a44da'] = 'Mail di notifica';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_2d51f4a7ab8a12c4f35b507019523b8c'] = 'Invia notifiche via e-mail a clienti e commercianti.';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8fd3b84964bd6dfec8095f658d200b29'] = 'Sei sicuro di voler eliminare tutte le notifiche ai clienti?';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7cb9a154f101c674c945f88dad5c5e28'] = 'Nessun messaggio';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9137796c15dd92e5553c3f29574d0968'] = 'Codice del buono:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4c9120f1a5947445c0e9620254ceb30b'] = 'Nuovo ordine';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_7a608706e248c21437882f5d1a8ece3a'] = 'Notifica cliente';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ea379dd90c33c1345f40aa0afa6688d8'] = 'Disponibilità prodotto:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_86e8d61297942b00e9937299735df971'] = 'Offre al cliente la possibilità di ricevere una notifica per un prodotto disponibile se questo è fuori stock';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_38fb7d24e0d60a048f540ecb18e13376'] = 'Salva';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_d9b64868bb5b490c5c0627abe835acf6'] = 'Notifica commerciante';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_9204d21640382a89a95ec42f44f9051c'] = 'Nuovo ordine:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_fd5dc19a70d21e130f2e4ab5eb205e66'] = 'Ricevere una notifica se viene fatto un nuovo ordine ';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ebc3ccf8441dba3c1615afa6acb3282a'] = 'Esaurito:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c009546071b59092716ba006f307c6af'] = 'Ricevere una notifica se la quantità di un prodotto è al di sotto della soglia di allarme';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_af097c4096dc45754451f6f656dd1ee0'] = 'Soglia di allarme:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_65d0578157fd293e96f55f2d9228c07b'] = 'Quantità per la quale un prodotto è considerato esaurito';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_4cf0e54bd20f173efae53b6b4d3d8d9a'] = 'Invia a questi indirizzi e-mail:';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_8c5b6fe38a32f46c355f025a820c804c'] = 'Un indirizzo e-mail per riga';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f77ed609e48d550f0166dfbafc102710'] = 'ad esempio,';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c1ee76f076a5b97e3b4b0c0e5703246e'] = 'Impossibile aggiornare le impostazioni';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Conferma';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_ce241f25e003bafeb9fce6857d8f027f'] = 'Si prega di digitare uno (o più) indirizzo e-mail';
|
||||
$_MODULE['<{mailalerts}prestashop>mailalerts_29aae9c646337554f4de7ae29050c39f'] = 'e-mail non valida:';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'I miei avvisi';
|
||||
$_MODULE['<{mailalerts}prestashop>my-account_abca7cba75e5a9ff86b1490f32891f82'] = 'avvisi';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Il mio account';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'I miei avvisi';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_deb10517653c255364175796ace3553f'] = 'Prodotto';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_f2a6c498fb90ee345d997f888fce3b18'] = 'Elimina';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_074c07016d3e5a9f011aa8e62abe4517'] = 'Non sei iscritto ad alcuna notifica.';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_0b3db27bc15f682e92ff250ebb167d4b'] = 'Torna al tuo account';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_8cf04a9734132302f96da8e113e80ce5'] = 'Home';
|
||||
$_MODULE['<{mailalerts}prestashop>product_61172eb93737ebf095d3fa02119ce1df'] = 'Richiesta di notifica registrata';
|
||||
$_MODULE['<{mailalerts}prestashop>product_900f8551b29793ecb604a545b2059cc1'] = 'Il tuo indirizzo e-mail non è valido';
|
||||
$_MODULE['<{mailalerts}prestashop>product_546e02eaa9a986c83cc347e273269f2c'] = 'Avvisami quando disponibile';
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 792 B |
@@ -1,67 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
require_once(dirname(__FILE__).'/../../init.php');
|
||||
|
||||
if (!$id_product = (int)(Tools::getValue('id_product')))
|
||||
die ('0');
|
||||
$id_product_attribute = (int)(Tools::getValue('id_product_attribute'));
|
||||
|
||||
if (!$cookie->isLogged())
|
||||
{
|
||||
$customer_email = trim(Tools::getValue('customer_email'));
|
||||
if (empty($customer_email) OR !Validate::isEmail($customer_email))
|
||||
die ('0');
|
||||
if ($customer_email == 'your@email.com')
|
||||
die ('0');
|
||||
|
||||
$id_customer = (int)Db::getInstance()->getValue('SELECT id_customer FROM '._DB_PREFIX_.'customer WHERE email=\''.pSQL($customer_email).'\' AND is_guest=0');
|
||||
// Check if already in DB
|
||||
if (Db::getInstance()->ExecuteS('
|
||||
SELECT *
|
||||
FROM `'._DB_PREFIX_.'mailalert_customer_oos`
|
||||
WHERE `id_customer` = '.(int)($id_customer).'
|
||||
AND `customer_email` = \''.pSQL($customer_email).'\'
|
||||
AND `id_product` = '.(int)($id_product).'
|
||||
AND `id_product_attribute` = '.(int)($id_product_attribute)))
|
||||
die('1');
|
||||
}
|
||||
else
|
||||
{
|
||||
$id_customer = (int)($cookie->id_customer);
|
||||
$customer_email = 0;
|
||||
}
|
||||
|
||||
if (Db::getInstance()->Execute('
|
||||
REPLACE INTO `'._DB_PREFIX_.'mailalert_customer_oos` (`id_customer`, `customer_email`, `id_product` , `id_product_attribute`)
|
||||
VALUES ('.(int)($id_customer).', \''.pSQL($customer_email).'\', '.(int)($id_product).', '.(int)($id_product_attribute).')'))
|
||||
die ('1');
|
||||
|
||||
die ('0');
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../init.php');
|
||||
include(dirname(__FILE__).'/../../modules/mailalerts/mailalerts.php');
|
||||
|
||||
if (!$cookie->isLogged())
|
||||
die('0');
|
||||
|
||||
$id_customer = (int)($cookie->id_customer);
|
||||
if (!$id_product = (int)(Tools::getValue('id_product')))
|
||||
die ('0');
|
||||
$id_product_attribute = (int)(Tools::getValue('id_product_attribute'));
|
||||
|
||||
$mA = new MailAlerts();
|
||||
if ($mA->customerHasNotification((int)($id_customer), (int)($id_product), (int)($id_product_attribute)))
|
||||
die ('1');
|
||||
die('0');
|
||||
|
||||
@@ -1,540 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
if (!defined('_CAN_LOAD_FILES_'))
|
||||
exit;
|
||||
|
||||
class MailAlerts extends Module
|
||||
{
|
||||
private $_html = '';
|
||||
private $_postErrors = array();
|
||||
|
||||
private $_merchant_mails;
|
||||
private $_merchant_order;
|
||||
private $_merchant_oos;
|
||||
private $_customer_qty;
|
||||
|
||||
const __MA_MAIL_DELIMITOR__ = ',';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->name = 'mailalerts';
|
||||
$this->tab = 'administration';
|
||||
$this->version = '2.2';
|
||||
$this->author = 'PrestaShop';
|
||||
|
||||
parent::__construct();
|
||||
|
||||
if ($this->id)
|
||||
$this->_refreshProperties();
|
||||
|
||||
$this->displayName = $this->l('Mail alerts');
|
||||
$this->description = $this->l('Sends e-mail notifications to customers and merchants.');
|
||||
$this->confirmUninstall = $this->l('Are you sure you want to delete all customer notifications?');
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
if (!parent::install() OR
|
||||
!$this->registerHook('newOrder') OR
|
||||
!$this->registerHook('updateQuantity') OR
|
||||
!$this->registerHook('productOutOfStock') OR
|
||||
!$this->registerHook('customerAccount') OR
|
||||
!$this->registerHook('updateProduct') OR
|
||||
!$this->registerHook('deleteProduct') OR
|
||||
!$this->registerHook('deleteProductAttribute') OR
|
||||
!$this->registerHook('updateProductAttribute')
|
||||
)
|
||||
return false;
|
||||
|
||||
Configuration::updateValue('MA_MERCHANT_ORDER', 1);
|
||||
Configuration::updateValue('MA_MERCHANT_OOS', 1);
|
||||
Configuration::updateValue('MA_CUSTOMER_QTY', 1);
|
||||
Configuration::updateValue('MA_MERCHANT_MAILS', Configuration::get('PS_SHOP_EMAIL'));
|
||||
Configuration::updateValue('MA_LAST_QTIES', Configuration::get('PS_LAST_QTIES'));
|
||||
|
||||
if (!Db::getInstance()->Execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'mailalert_customer_oos` (
|
||||
`id_customer` int(10) unsigned NOT NULL,
|
||||
`customer_email` varchar(128) NOT NULL,
|
||||
`id_product` int(10) unsigned NOT NULL,
|
||||
`id_product_attribute` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id_customer`,`customer_email`,`id_product`,`id_product_attribute`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci')
|
||||
)
|
||||
return false;
|
||||
|
||||
/* This hook is optional */
|
||||
$this->registerHook('myAccountBlock');
|
||||
return true;
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
Configuration::deleteByName('MA_MERCHANT_ORDER');
|
||||
Configuration::deleteByName('MA_MERCHANT_OOS');
|
||||
Configuration::deleteByName('MA_CUSTOMER_QTY');
|
||||
Configuration::deleteByName('MA_MERCHANT_MAILS');
|
||||
Configuration::deleteByName('MA_LAST_QTIES');
|
||||
if (!Db::getInstance()->Execute('DROP TABLE '._DB_PREFIX_.'mailalert_customer_oos'))
|
||||
return false;
|
||||
return parent::uninstall();
|
||||
}
|
||||
|
||||
private function _refreshProperties()
|
||||
{
|
||||
$this->_merchant_mails = Configuration::get('MA_MERCHANT_MAILS');
|
||||
$this->_merchant_order = (int)Configuration::get('MA_MERCHANT_ORDER');
|
||||
$this->_merchant_oos = (int)Configuration::get('MA_MERCHANT_OOS');
|
||||
$this->_customer_qty = (int)Configuration::get('MA_CUSTOMER_QTY');
|
||||
}
|
||||
|
||||
public function hookNewOrder($params)
|
||||
{
|
||||
if (!$this->_merchant_order OR empty($this->_merchant_mails))
|
||||
return;
|
||||
|
||||
// Getting differents vars
|
||||
$id_lang = (int)(Configuration::get('PS_LANG_DEFAULT'));
|
||||
$currency = $params['currency'];
|
||||
$configuration = Configuration::getMultiple(array('PS_SHOP_EMAIL', 'PS_MAIL_METHOD', 'PS_MAIL_SERVER', 'PS_MAIL_USER', 'PS_MAIL_PASSWD', 'PS_SHOP_NAME'));
|
||||
$order = $params['order'];
|
||||
$customer = $params['customer'];
|
||||
$delivery = new Address((int)($order->id_address_delivery));
|
||||
$invoice = new Address((int)($order->id_address_invoice));
|
||||
$order_date_text = Tools::displayDate($order->date_add, (int)($id_lang));
|
||||
$carrier = new Carrier((int)($order->id_carrier));
|
||||
$message = $order->getFirstMessage();
|
||||
if (!$message OR empty($message))
|
||||
$message = $this->l('No message');
|
||||
|
||||
$itemsTable = '';
|
||||
foreach ($params['order']->getProducts() AS $key => $product)
|
||||
{
|
||||
$unit_price = $product['product_price_wt'];
|
||||
$price = $product['total_price'];
|
||||
$itemsTable .=
|
||||
'<tr style="background-color:'.($key % 2 ? '#DDE2E6' : '#EBECEE').';">
|
||||
<td style="padding:0.6em 0.4em;">'.$product['product_reference'].'</td>
|
||||
<td style="padding:0.6em 0.4em;"><strong>'.$product['product_name'].(isset($product['attributes_small']) ? ' '.$product['attributes_small'] : '').'</strong></td>
|
||||
<td style="padding:0.6em 0.4em; text-align:right;">'.Tools::displayPrice($unit_price, $currency, false, false).'</td>
|
||||
<td style="padding:0.6em 0.4em; text-align:center;">'.(int)($product['product_quantity']).'</td>
|
||||
<td style="padding:0.6em 0.4em; text-align:right;">'.Tools::displayPrice(($unit_price * $product['product_quantity']), $currency, false, false).'</td>
|
||||
</tr>';
|
||||
}
|
||||
foreach ($params['order']->getDiscounts() AS $discount)
|
||||
{
|
||||
$itemsTable .=
|
||||
'<tr style="background-color:#EBECEE;">
|
||||
<td colspan="4" style="padding:0.6em 0.4em; text-align:right;">'.$this->l('Voucher code:').' '.$discount['name'].'</td>
|
||||
<td style="padding:0.6em 0.4em; text-align:right;">-'.Tools::displayPrice($discount['value'], $currency, false, false).'</td>
|
||||
</tr>';
|
||||
}
|
||||
if ($delivery->id_state)
|
||||
$delivery_state = new State((int)($delivery->id_state));
|
||||
if ($invoice->id_state)
|
||||
$invoice_state = new State((int)($invoice->id_state));
|
||||
|
||||
// Filling-in vars for email
|
||||
$template = 'new_order';
|
||||
$subject = $this->l('New order');
|
||||
$templateVars = array(
|
||||
'{firstname}' => $customer->firstname,
|
||||
'{lastname}' => $customer->lastname,
|
||||
'{email}' => $customer->email,
|
||||
'{delivery_company}' => $delivery->company,
|
||||
'{delivery_firstname}' => $delivery->firstname,
|
||||
'{delivery_lastname}' => $delivery->lastname,
|
||||
'{delivery_address1}' => $delivery->address1,
|
||||
'{delivery_address2}' => $delivery->address2,
|
||||
'{delivery_city}' => $delivery->city,
|
||||
'{delivery_postal_code}' => $delivery->postcode,
|
||||
'{delivery_country}' => $delivery->country,
|
||||
'{delivery_state}' => $delivery->id_state ? $delivery_state->name : '',
|
||||
'{delivery_phone}' => $delivery->phone,
|
||||
'{delivery_other}' => $delivery->other,
|
||||
'{invoice_company}' => $invoice->company,
|
||||
'{invoice_firstname}' => $invoice->firstname,
|
||||
'{invoice_lastname}' => $invoice->lastname,
|
||||
'{invoice_address2}' => $invoice->address2,
|
||||
'{invoice_address1}' => $invoice->address1,
|
||||
'{invoice_city}' => $invoice->city,
|
||||
'{invoice_postal_code}' => $invoice->postcode,
|
||||
'{invoice_country}' => $invoice->country,
|
||||
'{invoice_state}' => $invoice->id_state ? $invoice_state->name : '',
|
||||
'{invoice_phone}' => $invoice->phone,
|
||||
'{invoice_other}' => $invoice->other,
|
||||
'{order_name}' => sprintf("%06d", $order->id),
|
||||
'{shop_name}' => Configuration::get('PS_SHOP_NAME'),
|
||||
'{date}' => $order_date_text,
|
||||
'{carrier}' => (($carrier->name == '0') ? Configuration::get('PS_SHOP_NAME') : $carrier->name),
|
||||
'{payment}' => $order->payment,
|
||||
'{items}' => $itemsTable,
|
||||
'{total_paid}' => Tools::displayPrice($order->total_paid, $currency),
|
||||
'{total_products}' => Tools::displayPrice($order->getTotalProductsWithTaxes(), $currency),
|
||||
'{total_discounts}' => Tools::displayPrice($order->total_discounts, $currency),
|
||||
'{total_shipping}' => Tools::displayPrice($order->total_shipping, $currency),
|
||||
'{total_wrapping}' => Tools::displayPrice($order->total_wrapping, $currency),
|
||||
'{currency}' => $currency->sign,
|
||||
'{message}' => $message
|
||||
);
|
||||
$iso = Language::getIsoById((int)($id_lang));
|
||||
if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.txt') AND file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.html'))
|
||||
Mail::Send($id_lang, $template, $subject, $templateVars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), NULL, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], NULL, NULL, dirname(__FILE__).'/mails/');
|
||||
}
|
||||
|
||||
public function hookProductOutOfStock($params)
|
||||
{
|
||||
global $smarty, $cookie;
|
||||
|
||||
if (!$this->_customer_qty)
|
||||
return ;
|
||||
|
||||
$id_product = (int)($params['product']->id);
|
||||
$id_product_attribute = 0;
|
||||
|
||||
if (!$cookie->isLogged())
|
||||
$smarty->assign('email', 1);
|
||||
else
|
||||
{
|
||||
$id_customer = (int)($params['cookie']->id_customer);
|
||||
if ($this->customerHasNotification($id_customer, $id_product, $id_product_attribute))
|
||||
return ;
|
||||
}
|
||||
|
||||
$smarty->assign(array(
|
||||
'id_product' => $id_product,
|
||||
'id_product_attribute' => $id_product_attribute));
|
||||
|
||||
return $this->display(__FILE__, 'product.tpl');
|
||||
}
|
||||
|
||||
public function customerHasNotification($id_customer, $id_product, $id_product_attribute)
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
|
||||
SELECT *
|
||||
FROM `'._DB_PREFIX_.'mailalert_customer_oos`
|
||||
WHERE `id_customer` = '.(int)($id_customer).'
|
||||
AND `id_product` = '.(int)($id_product).'
|
||||
AND `id_product_attribute` = '.(int)($id_product_attribute));
|
||||
return sizeof($result);
|
||||
}
|
||||
|
||||
public function hookUpdateQuantity($params)
|
||||
{
|
||||
global $cookie;
|
||||
|
||||
if (is_object($params['product']))
|
||||
$params['product'] = get_object_vars($params['product']);
|
||||
|
||||
if (isset($params['product']['id_product']))
|
||||
$params['product']['id'] = (int)$params['product']['id_product'];
|
||||
|
||||
$qty = (int)$params['product']['stock_quantity'];
|
||||
if ($qty <= (int)(Configuration::get('MA_LAST_QTIES')) AND !(!$this->_merchant_oos OR empty($this->_merchant_mails)) AND Configuration::get('PS_STOCK_MANAGEMENT'))
|
||||
{
|
||||
$templateVars = array(
|
||||
'{qty}' => $qty,
|
||||
'{last_qty}' => (int)(Configuration::get('MA_LAST_QTIES')),
|
||||
'{product}' => strval($params['product']['name']).(isset($params['product']['attributes_small']) ? ' '.$params['product']['attributes_small'] : ''));
|
||||
$id_lang = (is_object($cookie) AND isset($cookie->id_lang)) ? (int)$cookie->id_lang : (int)Configuration::get('PS_LANG_DEFAULT');
|
||||
$iso = Language::getIsoById((int)$id_lang);
|
||||
if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/productoutofstock.txt') AND file_exists(dirname(__FILE__).'/mails/'.$iso.'/productoutofstock.html'))
|
||||
Mail::Send((int)Configuration::get('PS_LANG_DEFAULT'), 'productoutofstock', Mail::l('Product out of stock'), $templateVars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), NULL, strval(Configuration::get('PS_SHOP_EMAIL')), strval(Configuration::get('PS_SHOP_NAME')), NULL, NULL, dirname(__FILE__).'/mails/');
|
||||
}
|
||||
|
||||
if ($this->_customer_qty AND $params['product']['quantity'] > 0)
|
||||
$this->sendCustomerAlert((int)$params['product']['id_product'], 0);
|
||||
}
|
||||
|
||||
public function hookUpdateProduct($params)
|
||||
{
|
||||
/* We specify 0 as an id_product_attribute because this hook is called when the main product is updated */
|
||||
if ($this->_customer_qty AND $params['product']->quantity > 0)
|
||||
$this->sendCustomerAlert((int)$params['product']->id, 0);
|
||||
}
|
||||
|
||||
public function hookUpdateProductAttribute($params)
|
||||
{
|
||||
$result = Db::getInstance()->getRow('
|
||||
SELECT `id_product`, `quantity`
|
||||
FROM `'._DB_PREFIX_.'product_attribute`
|
||||
WHERE `id_product_attribute` = '.(int)$params['id_product_attribute']);
|
||||
|
||||
if ($this->_customer_qty AND $result['quantity'] > 0)
|
||||
$this->sendCustomerAlert((int)$result['id_product'], (int)$params['id_product_attribute']);
|
||||
}
|
||||
|
||||
public function sendCustomerAlert($id_product, $id_product_attribute)
|
||||
{
|
||||
global $cookie, $link;
|
||||
|
||||
$link = new Link();
|
||||
|
||||
$customers = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
|
||||
SELECT id_customer, customer_email
|
||||
FROM `'._DB_PREFIX_.'mailalert_customer_oos`
|
||||
WHERE `id_product` = '.(int)$id_product.' AND `id_product_attribute` = '.(int)$id_product_attribute);
|
||||
|
||||
$product = new Product((int)$id_product, false, (int)$cookie->id_lang);
|
||||
$templateVars = array(
|
||||
'{product}' => (is_array($product->name) ? $product->name[(int)Configuration::get('PS_LANG_DEFAULT')] : $product->name),
|
||||
'{product_link}' => $link->getProductLink($product)
|
||||
);
|
||||
foreach ($customers AS $cust)
|
||||
{
|
||||
if ($cust['id_customer'])
|
||||
{
|
||||
$customer = new Customer((int)$cust['id_customer']);
|
||||
$customer_email = $customer->email;
|
||||
$customer_id = (int)$customer->id;
|
||||
}
|
||||
else
|
||||
{
|
||||
$customer_email = $cust['customer_email'];
|
||||
$customer_id = 0;
|
||||
}
|
||||
$id_lang = (is_object($cookie) AND isset($cookie->id_lang)) ? (int)$cookie->id_lang : (int)Configuration::get('PS_LANG_DEFAULT');
|
||||
$iso = Language::getIsoById((int)$id_lang);
|
||||
|
||||
if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/customer_qty.txt') AND file_exists(dirname(__FILE__).'/mails/'.$iso.'/customer_qty.html'))
|
||||
Mail::Send((int)(Configuration::get('PS_LANG_DEFAULT')), 'customer_qty', Mail::l('Product available'), $templateVars, strval($customer_email), NULL, strval(Configuration::get('PS_SHOP_EMAIL')), strval(Configuration::get('PS_SHOP_NAME')), NULL, NULL, dirname(__FILE__).'/mails/');
|
||||
if ($customer_id)
|
||||
$customer_email = 0;
|
||||
self::deleteAlert((int)$customer_id, strval($customer_email), (int)$id_product, (int)$id_product_attribute);
|
||||
}
|
||||
}
|
||||
|
||||
public function hookCustomerAccount($params)
|
||||
{
|
||||
return $this->_customer_qty ? $this->display(__FILE__, 'my-account.tpl') : NULL;
|
||||
}
|
||||
|
||||
public function hookMyAccountBlock($params)
|
||||
{
|
||||
return $this->hookCustomerAccount($params);
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
$this->_html = '<h2>'.$this->displayName.'</h2>';
|
||||
$this->_postProcess();
|
||||
$this->_displayForm();
|
||||
return $this->_html;
|
||||
}
|
||||
|
||||
private function _displayForm()
|
||||
{
|
||||
global $currentIndex;
|
||||
|
||||
$tab = Tools::getValue('tab');
|
||||
$token = Tools::getValue('token');
|
||||
|
||||
$this->_html .= '
|
||||
<form action="'.$currentIndex.'&token='.$token.'&configure=mailalerts" method="post">
|
||||
<fieldset class="width3"><legend><img src="'.$this->_path.'logo.gif" />'.$this->l('Customer notification').'</legend>
|
||||
<label>'.$this->l('Product availability:').' </label>
|
||||
<div class="margin-form">
|
||||
<input type="checkbox" value="1" id="mA_customer_qty" name="mA_customer_qty" '.(Tools::getValue('mA_customer_qty', $this->_customer_qty) == 1 ? 'checked' : '').'>
|
||||
<label for="mA_customer_qty" class="t">'.$this->l('Gives the customer the option of receiving a notification for an available product if this one is out of stock.').'</label>
|
||||
</div>
|
||||
<div class="margin-form">
|
||||
<input type="submit" value="'.$this->l(' Save ').'" name="submitMACustomer" class="button" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<form action="'.$currentIndex.'&token='.$token.'&configure=mailalerts" method="post">
|
||||
<fieldset class="width3"><legend><img src="'.$this->_path.'logo.gif" />'.$this->l('Merchant notification').'</legend>
|
||||
<label>'.$this->l('New order:').' </label>
|
||||
<div class="margin-form">
|
||||
<input type="checkbox" value="1" id="mA_merchand_order" name="mA_merchand_order" '.(Tools::getValue('mA_merchand_order', $this->_merchant_order) == 1 ? 'checked' : '').'>
|
||||
<label for="mA_merchand_order" class="t">'.$this->l('Receive a notification if a new order is made').'</label>
|
||||
</div>
|
||||
<label>'.$this->l('Out of stock:').' </label>
|
||||
<div class="margin-form">
|
||||
<input type="checkbox" value="1" id="mA_merchand_oos" name="mA_merchand_oos" '.(Tools::getValue('mA_merchand_oos', $this->_merchant_oos) == 1 ? 'checked' : '').'>
|
||||
<label for="mA_merchand_oos" class="t">'.$this->l('Receive a notification if the quantity of a product is below the alert threshold').'</label>
|
||||
</div>
|
||||
<label>'.$this->l('Alert threshold:').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="MA_LAST_QTIES" value="'.(Tools::getValue('MA_LAST_QTIES') != NULL ? (int)(Tools::getValue('MA_LAST_QTIES')) : Configuration::get('MA_LAST_QTIES')).'" size="3" />
|
||||
<p>'.$this->l('Quantity for which a product is regarded as out of stock').'</p>
|
||||
</div>
|
||||
<label>'.$this->l('Send to these e-mail addresses:').' </label>
|
||||
<div class="margin-form">
|
||||
<div style="float:left; margin-right:10px;">
|
||||
<textarea name="ma_merchant_mails" rows="10" cols="30">'.Tools::getValue('ma_merchant_mails', str_replace(self::__MA_MAIL_DELIMITOR__, "\n", $this->_merchant_mails)).'</textarea>
|
||||
</div>
|
||||
<div style="float:left;">
|
||||
'.$this->l('One e-mail address per line').'<br />
|
||||
'.$this->l('e.g.,').' bob@example.com
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear:both;"> </div>
|
||||
<div class="margin-form">
|
||||
<input type="submit" value="'.$this->l(' Save ').'" name="submitMAMerchant" class="button" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>';
|
||||
}
|
||||
|
||||
private function _postProcess()
|
||||
{
|
||||
if (Tools::isSubmit('submitMACustomer'))
|
||||
{
|
||||
if (!Configuration::updateValue('MA_CUSTOMER_QTY', (int)(Tools::getValue('mA_customer_qty'))))
|
||||
$this->_html .= '<div class="alert error">'.$this->l('Cannot update settings').'</div>';
|
||||
else
|
||||
$this->_html .= '<div class="conf confirm"><img src="../img/admin/ok.gif" alt="'.$this->l('Confirmation').'" />'.$this->l('Settings updated').'</div>';
|
||||
}
|
||||
elseif (Tools::isSubmit('submitMAMerchant'))
|
||||
{
|
||||
$emails = strval(Tools::getValue('ma_merchant_mails'));
|
||||
if (!$emails OR empty($emails))
|
||||
$this->_html .= '<div class="alert error">'.$this->l('Please type one (or more) e-mail address').'</div>';
|
||||
else
|
||||
{
|
||||
$emails = explode("\n", $emails);
|
||||
foreach ($emails AS $k => $email)
|
||||
{
|
||||
$email = trim($email);
|
||||
if (!empty($email) AND !Validate::isEmail($email))
|
||||
return ($this->_html .= '<div class="alert error">'.$this->l('Invalid e-mail:').' '.$email.'</div>');
|
||||
if (!empty($email) AND sizeof($email))
|
||||
$emails[$k] = $email;
|
||||
else
|
||||
unset($emails[$k]);
|
||||
}
|
||||
$emails = implode(self::__MA_MAIL_DELIMITOR__, $emails);
|
||||
if (!Configuration::updateValue('MA_MERCHANT_MAILS', strval($emails)))
|
||||
$this->_html .= '<div class="alert error">'.$this->l('Cannot update settings').'</div>';
|
||||
elseif (!Configuration::updateValue('MA_MERCHANT_ORDER', (int)(Tools::getValue('mA_merchand_order'))))
|
||||
$this->_html .= '<div class="alert error">'.$this->l('Cannot update settings').'</div>';
|
||||
elseif (!Configuration::updateValue('MA_MERCHANT_OOS', (int)(Tools::getValue('mA_merchand_oos'))))
|
||||
$this->_html .= '<div class="alert error">'.$this->l('Cannot update settings').'</div>';
|
||||
elseif (!Configuration::updateValue('MA_LAST_QTIES', (int)(Tools::getValue('MA_LAST_QTIES'))))
|
||||
$this->_html .= '<div class="alert error">'.$this->l('Cannot update settings').'</div>';
|
||||
else
|
||||
$this->_html .= '<div class="conf confirm"><img src="../img/admin/ok.gif" alt="'.$this->l('Confirmation').'" />'.$this->l('Settings updated').'</div>';
|
||||
}
|
||||
}
|
||||
$this->_refreshProperties();
|
||||
}
|
||||
|
||||
static public function getProductsAlerts($id_customer, $id_lang)
|
||||
{
|
||||
if (!Validate::isUnsignedId($id_customer) OR
|
||||
!Validate::isUnsignedId($id_lang)
|
||||
)
|
||||
die (Tools::displayError());
|
||||
|
||||
$products = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
|
||||
SELECT ma.`id_product`, p.`quantity` AS product_quantity, pl.`name`, ma.`id_product_attribute`
|
||||
FROM `'._DB_PREFIX_.'mailalert_customer_oos` ma
|
||||
JOIN `'._DB_PREFIX_.'product` p ON p.`id_product` = ma.`id_product`
|
||||
JOIN `'._DB_PREFIX_.'product_lang` pl ON pl.`id_product` = ma.`id_product`
|
||||
WHERE ma.`id_customer` = '.(int)($id_customer).'
|
||||
AND pl.`id_lang` = '.(int)($id_lang));
|
||||
if (empty($products) === true OR !sizeof($products))
|
||||
return array();
|
||||
for ($i = 0; $i < sizeof($products); ++$i)
|
||||
{
|
||||
$obj = new Product((int)($products[$i]['id_product']), false, (int)($id_lang));
|
||||
if (!Validate::isLoadedObject($obj))
|
||||
continue;
|
||||
|
||||
if (isset($products[$i]['id_product_attribute']) AND
|
||||
Validate::isUnsignedInt($products[$i]['id_product_attribute']))
|
||||
{
|
||||
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
|
||||
SELECT al.`name` AS attribute_name
|
||||
FROM `'._DB_PREFIX_.'product_attribute_combination` pac
|
||||
LEFT JOIN `'._DB_PREFIX_.'attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'attribute_group` ag ON (ag.`id_attribute_group` = a.`id_attribute_group`)
|
||||
LEFT JOIN `'._DB_PREFIX_.'attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = '.(int)($id_lang).')
|
||||
LEFT JOIN `'._DB_PREFIX_.'attribute_group_lang` agl ON (ag.`id_attribute_group` = agl.`id_attribute_group` AND agl.`id_lang` = '.(int)($id_lang).')
|
||||
LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON (pac.`id_product_attribute` = pa.`id_product_attribute`)
|
||||
WHERE pac.`id_product_attribute` = '.(int)($products[$i]['id_product_attribute']));
|
||||
$products[$i]['attributes_small'] = '';
|
||||
if ($result)
|
||||
foreach ($result AS $k => $row)
|
||||
$products[$i]['attributes_small'] .= $row['attribute_name'].', ';
|
||||
$products[$i]['attributes_small'] = rtrim($products[$i]['attributes_small'], ', ');
|
||||
|
||||
// cover
|
||||
$attrgrps = $obj->getAttributesGroups((int)($id_lang));
|
||||
foreach ($attrgrps AS $attrgrp)
|
||||
if ($attrgrp['id_product_attribute'] == (int)($products[$i]['id_product_attribute']) AND $images = Product::_getAttributeImageAssociations((int)($attrgrp['id_product_attribute'])))
|
||||
{
|
||||
$products[$i]['cover'] = $obj->id.'-'.array_pop($images);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!isset($products[$i]['cover']) OR !$products[$i]['cover'])
|
||||
{
|
||||
$images = $obj->getImages((int)($id_lang));
|
||||
foreach ($images AS $k => $image)
|
||||
if ($image['cover'])
|
||||
{
|
||||
$products[$i]['cover'] = $obj->id.'-'.$image['id_image'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!isset($products[$i]['cover']))
|
||||
$products[$i]['cover'] = Language::getIsoById($id_lang).'-default';
|
||||
$products[$i]['link'] = $obj->getLink();
|
||||
}
|
||||
return ($products);
|
||||
}
|
||||
|
||||
static public function deleteAlert($id_customer, $customer_email, $id_product, $id_product_attribute)
|
||||
{
|
||||
return Db::getInstance()->Execute('
|
||||
DELETE FROM `'._DB_PREFIX_.'mailalert_customer_oos`
|
||||
WHERE `id_customer` = '.(int)($id_customer).'
|
||||
AND `customer_email` = \''.pSQL($customer_email).'\'
|
||||
AND `id_product` = '.(int)($id_product).'
|
||||
AND `id_product_attribute` = '.(int)($id_product_attribute));
|
||||
}
|
||||
|
||||
public function hookDeleteProduct($params)
|
||||
{
|
||||
Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'mailalert_customer_oos` WHERE `id_product` = '.(int)$params['product']->id);
|
||||
}
|
||||
|
||||
public function hookDeleteProductAttribute($params)
|
||||
{
|
||||
if ($params['deleteAllAttributes'])
|
||||
Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'mailalert_customer_oos`
|
||||
WHERE `id_product` = '.(int)$params['id_product']);
|
||||
else
|
||||
Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'mailalert_customer_oos`
|
||||
WHERE `id_product_attribute` = '.(int)$params['id_product_attribute'].'
|
||||
AND `id_product` = '.(int)$params['id_product']);
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Produkt verfügbar</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{product}ist nun verfügbar.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Der Artikel ist nun wieder auf Lager.<br /><br />Gehen Sie auf die Produktseite, indem Sie auf diesen Link klicken: <a href="{product_link}">{product}</a><br /><br />Sie können ihn gleich in Ihrem Online-Shop bestellen.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> untestützt von <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
Hallo,
|
||||
|
||||
Das Produkt {product} ist nun verfügbar.
|
||||
Der Artikel ist nun wieder auf Lager.
|
||||
|
||||
Gehen Sie auf die Produktseite, indem Sie auf diesen Link klicken: {product}
|
||||
|
||||
Sie können ihn gleich in Ihrem Online-Shop bestellen.
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,116 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Neue Bestellung</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Sie haben eine neue Bestellung erhalten von <strong style="color: #db3484;">{firstname} {lastname}</strong>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Einzelheiten zur Bestellung</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Bestellung: <strong><span style="color: #db3484;">{order_name}</span> ausgeführt am {date}</strong> <br />Zahlung: <strong>{payment}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">{items}
|
||||
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-align: center;">
|
||||
<th style="width: 15%; padding: 0.6em 0;">Referenz</th><th>Produkt</th><th style="width: 15%; padding: 0.6em 0;">Stückpreis</th><th style="width: 15%; padding: 0.6em 0;">Menge</th><th style="width: 20%; padding: 0.6em 0;">Gesamtpreis</th>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="4">Produkte</td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="4">Ermäßigungen</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_discounts}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="4">Geschenkverpackung</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_wrapping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;" colspan="4">Versand</td>
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;">{total_shipping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right; font-weight: bold;">
|
||||
<td style="background-color: #f1aecf; padding: 0.6em 0.4em;" colspan="4">Gesamt bezahlt</td>
|
||||
<td style="background-color: #f1aecf; padding: 0.6em 0.4em;">{total_paid}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Versand</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Lieferer: <strong>{carrier}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-transform: uppercase;">
|
||||
<th style="text-align: left; padding: 0.3em 1em;">LIEFERadressE</th><th style="text-align: left; padding: 0.3em 1em;">RECHNUNGSadressE</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{delivery_company} <br /><span style="color: #db3484; font-weight: bold;">{delivery_firstname} {delivery_lastname}</span> <br />{delivery_address1} <br />{delivery_address2} <br />{delivery_city} {delivery_postal_code} <br />{delivery_country} {delivery_state} <br />{delivery_phone} <br />{delivery_other}</td>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{invoice_company} <br /><span style="color: #db3484; font-weight: bold;">{invoice_firstname} {invoice_lastname}</span> <br />{invoice_address1} <br />{invoice_address2} <br />{invoice_city} {invoice_postal_code} <br />{invoice_country} {invoice_state} <br />{invoice_phone} <br />{invoice_other}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Kundennachricht</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>{message}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> unterstützt von <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,41 +0,0 @@
|
||||
Hallo,
|
||||
|
||||
Sie haben eine neue Bestellung erhalten von {firstname} {lastname} auf {shop_name}.
|
||||
|
||||
Bestellung: {order_name}
|
||||
Ausgeführt am: {date}
|
||||
Lieferer: {carrier}
|
||||
Zahlung: {payment}
|
||||
Ermäßigungen: {total_discounts}
|
||||
Versand: {total_shipping}
|
||||
Produkte: {total_products}
|
||||
Geschenkverpackung: {total_wrapping}
|
||||
Gesamt bezahlt: {total_paid}
|
||||
|
||||
Lieferadresse:
|
||||
|
||||
{delivery_company}
|
||||
{delivery_firstname} {delivery_lastname}
|
||||
{delivery_address1}
|
||||
{delivery_address2}
|
||||
{delivery_postal_code} {delivery_city}
|
||||
{delivery_country} {delivery_state}
|
||||
{delivery_other}
|
||||
|
||||
Rechnungsadresse:
|
||||
|
||||
{invoice_company}
|
||||
{invoice_firstname} {invoice_lastname}
|
||||
{invoice_address1}
|
||||
{invoice_address2}
|
||||
{invoice_postal_code} {invoice_city}
|
||||
{invoice_country} {invoice_state}
|
||||
{invoice_other}
|
||||
|
||||
Kundennachricht:
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Ausverkauft</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{product} ist fast ausverkauft.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Der verbleibende Lagerbestand liegt unter der festgelegten Mindestzahl von <strong>{last_qty}</strong>.<br /><br /><strong>Verbleibender Lagerbestand: <span style="color: #db3484;">{qty}</span></strong><br /><br />Wir raten Ihnen, die Produktseite im Administrator zu öffnen, um Ihren Lagerbestand aufzufüllen.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> untestützt von <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
Hallo,
|
||||
|
||||
Das Produkt {product} ist fast ausverkauft.
|
||||
The remaining stock is now less than the specified minimum of {last_qty}.
|
||||
Remaining stock : {qty}
|
||||
|
||||
|
||||
Verbleibender Lagerbestand: {qty}
|
||||
|
||||
Wir raten Ihnen, die Produktseite im Administrator zu öffnen, um Ihren Lagerbestand aufzufüllen.
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Product available</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">{product} is now available.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Indeed, the item is once again in-stock.<br /><br />
|
||||
You can access the product page by clicking on the link: <a href="{product_link}">{product}</a><br /><br />
|
||||
You can order it right now from our on-line shop.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
|
||||
<a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> powered with <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
Hi,
|
||||
|
||||
Product {product} is now available.
|
||||
Indeed, the item is once again in-stock.
|
||||
|
||||
You can access the product page on: {product_link}
|
||||
|
||||
You can order it right now from our on-line shop.
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,125 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] New order</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">You've a new order from <strong style="color:#DB3484;">{firstname} {lastname}</strong>.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Order details</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Order: <strong><span style="color:#DB3484;">{order_name}</span> placed on {date}</strong>
|
||||
<br >Payment: <strong>{payment}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
|
||||
<tr style="background-color:#B9BABE; text-align:center;">
|
||||
<th style="width:15%; padding: 0.6em 0;">Reference</th>
|
||||
<th>Product</th>
|
||||
<th style="width:15%; padding: 0.6em 0;">Unit price</th>
|
||||
<th style="width:15%; padding: 0.6em 0;">Quantity</th>
|
||||
<th style="width:20%; padding: 0.6em 0;">Total price</th>
|
||||
</tr>
|
||||
{items}
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#B9BABE; padding:0.6em 0.4em;">Products</td>
|
||||
<td style="background-color:#B9BABE; padding:0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#EBECEE; padding:0.6em 0.4em;">Discounts</td>
|
||||
<td style="background-color:#EBECEE; padding:0.6em 0.4em;">{total_discounts}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#EBECEE; padding:0.6em 0.4em;">Gift-wrapping</td>
|
||||
<td style="background-color:#EBECEE; padding:0.6em 0.4em;">{total_wrapping}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#DDE2E6; padding:0.6em 0.4em;">Shipping</td>
|
||||
<td style="background-color:#DDE2E6; padding:0.6em 0.4em;">{total_shipping}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right; font-weight:bold;">
|
||||
<td colspan="4" style="background-color:#F1AECF; padding:0.6em 0.4em;">Total paid</td>
|
||||
<td style="background-color:#F1AECF; padding:0.6em 0.4em;">{total_paid}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Shipping</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Carrier: <strong>{carrier}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
|
||||
<tr style="background-color:#B9BABE; text-transform:uppercase;">
|
||||
<th style="text-align:left; padding: 0.3em 1em;">Delivery address</th>
|
||||
<th style="text-align:left; padding: 0.3em 1em;">Billing address</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">
|
||||
{delivery_company}
|
||||
<br><span style="color:#DB3484; font-weight:bold;">{delivery_firstname} {delivery_lastname}</span>
|
||||
<br>{delivery_address1}
|
||||
<br>{delivery_address2}
|
||||
<br>{delivery_city} {delivery_postal_code}
|
||||
<br>{delivery_country} {delivery_state}
|
||||
<br>{delivery_phone}
|
||||
<br>{delivery_other}
|
||||
</td>
|
||||
<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">
|
||||
{invoice_company}
|
||||
<br><span style="color:#DB3484; font-weight:bold;">{invoice_firstname} {invoice_lastname}</span>
|
||||
<br>{invoice_address1}
|
||||
<br>{invoice_address2}
|
||||
<br>{invoice_city} {invoice_postal_code}
|
||||
<br>{invoice_country} {invoice_state}
|
||||
<br>{invoice_phone}
|
||||
<br>{invoice_other}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Customer message</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<strong>{message}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
|
||||
<a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> powered with <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,41 +0,0 @@
|
||||
Hi,
|
||||
|
||||
You've a new order from {firstname} {lastname} on {shop_name}.
|
||||
|
||||
Order: {order_name}
|
||||
Placed on : {date}
|
||||
Carrier : {carrier}
|
||||
Payment: {payment}
|
||||
Discounts: {total_discounts}
|
||||
Shipping: {total_shipping}
|
||||
Products: {total_products}
|
||||
Gift-wrapping: {total_wrapping}
|
||||
Total paid: {total_paid}
|
||||
|
||||
Delivery address:
|
||||
|
||||
{delivery_company}
|
||||
{delivery_firstname} {delivery_lastname}
|
||||
{delivery_address1}
|
||||
{delivery_address2}
|
||||
{delivery_postal_code} {delivery_city}
|
||||
{delivery_country} {delivery_state}
|
||||
{delivery_other}
|
||||
|
||||
Billing address:
|
||||
|
||||
{invoice_company}
|
||||
{invoice_firstname} {invoice_lastname}
|
||||
{invoice_address1}
|
||||
{invoice_address2}
|
||||
{invoice_postal_code} {invoice_city}
|
||||
{invoice_country} {invoice_state}
|
||||
{invoice_other}
|
||||
|
||||
Customer message:
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Out of stock</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">{product} is nearly out of stock.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
The remaining stock is now less than the specified minimum of <strong>{last_qty}</strong>.<br /><br />
|
||||
<strong>Remaining stock: <span style="color:#DB3484;">{qty}</span></strong><br /><br />
|
||||
You are advised to open the product's admin Product Page in order to replenish your inventory.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
|
||||
<a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> powered with <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,11 +0,0 @@
|
||||
Hi,
|
||||
|
||||
The product {product} is nearly out of stock.
|
||||
The remaining stock is now less than the specified minimum of {last_qty}.
|
||||
Remaining stock : {qty}
|
||||
|
||||
You are advised to open the product's admin Product Page in order to replenish your inventory.
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,35 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Producto disponible</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{product} ya está disponible.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">De hecho, el tema es una vez más en acciones.<br /><br />Puede acceder a la página del producto haciendo clic en el enlace: <a href="{product_link}">{product}</a><br /><br />Puede solicitar ahora mismo en nuestra tienda on-line.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
Hola,
|
||||
|
||||
Producto {product} ya está disponible.
|
||||
De hecho, el tema es una vez más en acciones.
|
||||
|
||||
Puede acceder a la página del producto en este enlace: {product_link}
|
||||
|
||||
Puede solicitar ahora mismo en nuestra tienda on-line.
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,118 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Nuevo orden</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Has un nuevo orden de <strong style="color: #db3484;">{firstname} {lastname}</strong>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Detalles del orden</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Orden: <strong><span style="color: #db3484;">{order_name}</span> puesto en {date}</strong> <br />De pago: <strong>{payment}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-align: center;">
|
||||
<th style="width: 15%; padding: 0.6em 0;">Referencia</th><th>Producto</th><th style="width: 15%; padding: 0.6em 0;">Precio unitario</th><th style="width: 15%; padding: 0.6em 0;">Cantidad</th><th style="width: 20%; padding: 0.6em 0;">El precio total</th>
|
||||
</tr>
|
||||
{items}
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="4">Productos</td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="4">Descuentos</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_discounts}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="4">Envolver regalos</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_wrapping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;" colspan="4">Transporte</td>
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;">{total_shipping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right; font-weight: bold;">
|
||||
<td style="background-color: #f1aecf; padding: 0.6em 0.4em;" colspan="4">Total pagado</td>
|
||||
<td style="background-color: #f1aecf; padding: 0.6em 0.4em;">{total_paid}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Transporte</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Carrier: <strong>{carrier}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-transform: uppercase;">
|
||||
<th style="text-align: left; padding: 0.3em 1em;">Dirección de entrega</th><th style="text-align: left; padding: 0.3em 1em;">Dirección de facturación</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{delivery_company} <br /><span style="color: #db3484; font-weight: bold;">{delivery_firstname} {delivery_lastname}</span> <br />{delivery_address1} <br />{delivery_address2} <br />{delivery_city} {delivery_postal_code} <br />{delivery_country} {delivery_state} <br />{delivery_phone} <br />{delivery_other}</td>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{invoice_company} <br /><span style="color: #db3484; font-weight: bold;">{invoice_firstname} {invoice_lastname}</span> <br />{invoice_address1} <br />{invoice_address2} <br />{invoice_city} {invoice_postal_code} <br />{invoice_country} {invoice_state} <br />{invoice_phone} <br />{invoice_other}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Customer message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>{message}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,41 +0,0 @@
|
||||
Hola,
|
||||
|
||||
Has un nuevo orden de {firstname} {lastname} en {shop_name}.
|
||||
|
||||
Orden: {order_name}
|
||||
Puesto en: {date}
|
||||
Carrier: {carrier}
|
||||
De pago: {payment}
|
||||
Descuentos: {total_discounts}
|
||||
Gastos de envío: {total_shipping}
|
||||
Productos: {total_products}
|
||||
Envolver regalos: {total_wrapping}
|
||||
Total pagado: {total_paid}
|
||||
|
||||
Dirección de entrega:
|
||||
|
||||
{delivery_company}
|
||||
{delivery_firstname} {delivery_lastname}
|
||||
{delivery_address1}
|
||||
{delivery_address2}
|
||||
{delivery_postal_code} {delivery_city}
|
||||
{delivery_country} {delivery_state}
|
||||
{delivery_other}
|
||||
|
||||
Dirección de facturación:
|
||||
|
||||
{invoice_company}
|
||||
{invoice_firstname} {invoice_lastname}
|
||||
{invoice_address1}
|
||||
{invoice_address2}
|
||||
{invoice_postal_code} {invoice_city}
|
||||
{invoice_country} {invoice_state}
|
||||
{invoice_other}
|
||||
|
||||
Mensaje al cliente:
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop™
|
||||
@@ -1,35 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Fuera de stock</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{product} está fuera de stock</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">De hecho, la ruptura de stock de <strong>{last_qty}</strong> ha sido superado.<br /><br /><strong>Existencias restantes: <span style="color: #db3484;">{qty}</span></strong><br /><br />Se aconseja abrir administrador del producto Producto a fin de reponer el inventario.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> desarrollado por <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
Hola,
|
||||
|
||||
El producto {product} es pronto fuera de stock.
|
||||
De hecho, la ruptura de stock de {last_qty} ha sido superado.
|
||||
Existencias restantes: {qty}
|
||||
|
||||
Se aconseja abrir administrador del producto Producto a fin de reponer el inventario.
|
||||
|
||||
|
||||
{shop_url} desarrollado por PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Produit disponible</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">{product} est de nouveau disponible</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
En effet, le stock a été réaprovisionné.<br /><br />
|
||||
Vous pouvez accéder à la page produit en cliquant sur le lien suivant: <a href="{product_link}">{product}</a><br /><br />
|
||||
Vous pouvez donc de nouveau commander ce produit depuis notre catalogue en ligne.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
|
||||
<a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> propulsé par <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
Bonjour,
|
||||
|
||||
Le produit {product} est de nouveau disponible.
|
||||
En effet, le stock a été réaprovisionné.
|
||||
|
||||
Vous pouvez accéder à la page produit à ce lien: {product_link}
|
||||
|
||||
Vous pouvez donc de nouveau commander ce produit depuis notre catalogue en ligne.
|
||||
|
||||
{shop_url} réalisé par PrestaShop™
|
||||
@@ -1,125 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Nouvelle commande</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left"><strong style="color:#DB3484;">{firstname} {lastname}</strong> vient de passer une commande.</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Détails</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Commande <strong><span style="color:#DB3484;">{order_name}</span> passée le {date}</strong>
|
||||
<br />Paiement : <strong>{payment}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
|
||||
<tr style="background-color:#B9BABE; text-align:center;">
|
||||
<th style="width:15%; padding: 0.6em 0;">Référence</th>
|
||||
<th>Article</th>
|
||||
<th style="width:15%; padding: 0.6em 0;">Prix unitaire</th>
|
||||
<th style="width:15%; padding: 0.6em 0;">Quantité</th>
|
||||
<th style="width:20%; padding: 0.6em 0;">Prix total</th>
|
||||
</tr>
|
||||
{items}
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#B9BABE; padding:0.6em 0.4em;">Produits</td>
|
||||
<td style="background-color:#B9BABE; padding:0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#EBECEE; padding:0.6em 0.4em;">Réductions</td>
|
||||
<td style="background-color:#EBECEE; padding:0.6em 0.4em;">{total_discounts}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#EBECEE; padding:0.6em 0.4em;">Emballage cadeau</td>
|
||||
<td style="background-color:#EBECEE; padding:0.6em 0.4em;">{total_wrapping}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right;">
|
||||
<td colspan="4" style="background-color:#DDE2E6; padding:0.6em 0.4em;">Frais de port</td>
|
||||
<td style="background-color:#DDE2E6; padding:0.6em 0.4em;">{total_shipping}</td>
|
||||
</tr>
|
||||
<tr style="text-align:right; font-weight:bold;">
|
||||
<td colspan="4" style="background-color:#F1AECF; padding:0.6em 0.4em;">Total</td>
|
||||
<td style="background-color:#F1AECF; padding:0.6em 0.4em;">{total_paid}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Transport</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Transporteur : <strong>{carrier}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
|
||||
<tr style="background-color:#B9BABE; text-transform:uppercase;">
|
||||
<th style="text-align:left; padding: 0.3em 1em;">Adresse de livraison</th>
|
||||
<th style="text-align:left; padding: 0.3em 1em;">Adresse de facturation</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">
|
||||
{delivery_company}
|
||||
<br><span style="color:#DB3484; font-weight:bold;">{delivery_firstname} {delivery_lastname}</span>
|
||||
<br>{delivery_address1}
|
||||
<br>{delivery_address2}
|
||||
<br>{delivery_city} {delivery_postal_code}
|
||||
<br>{delivery_country} {delivery_state}
|
||||
<br>{delivery_phone}
|
||||
<br>{delivery_other}
|
||||
</td>
|
||||
<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">
|
||||
{invoice_company}
|
||||
<br><span style="color:#DB3484; font-weight:bold;">{invoice_firstname} {invoice_lastname}</span>
|
||||
<br>{invoice_address1}
|
||||
<br>{invoice_address2}
|
||||
<br>{invoice_city} {invoice_postal_code}
|
||||
<br>{invoice_country} {invoice_state}
|
||||
<br>{invoice_phone}
|
||||
<br>{invoice_other}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">Message client</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
<strong>{message}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
|
||||
<a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> propulsé par <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,39 +0,0 @@
|
||||
Bonjour,
|
||||
|
||||
Vous avez reçu une nouvelle commande de {firstname} {lastname} sur {shop_name}.
|
||||
|
||||
Commande : {order_name}
|
||||
Date : {date}
|
||||
Transporteur : {carrier}
|
||||
Mode de paiement : {payment}
|
||||
Bons d'achat et réductions : {total_discounts}
|
||||
Frais d'expédition : {total_shipping}
|
||||
Total produits : {total_products}
|
||||
Emballage cadeau: {total_wrapping}
|
||||
Total TTC : {total_paid}
|
||||
|
||||
Adresse de livraison :
|
||||
|
||||
{delivery_company}
|
||||
{delivery_firstname} {delivery_lastname}
|
||||
{delivery_address1}
|
||||
{delivery_address2}
|
||||
{delivery_postal_code} {delivery_city}
|
||||
{delivery_country} {delivery_state}
|
||||
{delivery_other}
|
||||
|
||||
Adresse de facturation :
|
||||
|
||||
{invoice_company}
|
||||
{invoice_firstname} {invoice_lastname}
|
||||
{invoice_address1}
|
||||
{invoice_address2}
|
||||
{invoice_postal_code} {invoice_city}
|
||||
{invoice_country} {invoice_state}
|
||||
{invoice_other}
|
||||
|
||||
Message client :
|
||||
|
||||
{message}
|
||||
|
||||
{shop_url} réalisé par PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Rupture de stock</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left" style="background-color:#DB3484; color:#FFF; font-size: 12px; font-weight:bold; padding: 0.5em 1em;">{product} est en rupture de stock</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
En effet, la quantité est maintenant inférieure à <strong>{last_qty}</strong>.<br /><br />
|
||||
<strong>Stock restant : <span style="color:#DB3484;">{qty}</span></strong><br /><br />
|
||||
Nous vous conseillons de vous rendre sur la page produit du panneau d'administration afin de renouveler vos stocks.
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:10px; border-top: 1px solid #D9DADE;">
|
||||
<a href="{shop_url}" style="color:#DB3484; font-weight:bold; text-decoration:none;">{shop_name}</a> propulsé par <a href="http://www.prestashop.com/" style="text-decoration:none; color:#374953;">PrestaShop™</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,9 +0,0 @@
|
||||
Bonjour,
|
||||
|
||||
Le produit {product} est bientôt en rupture de stock.
|
||||
En effet, le seuil de rupture de stock de {last_qty} a été dépassé.
|
||||
Stock restant : {qty}
|
||||
|
||||
Nous vous conseillons de vous rendre sur la fiche du produit afin de renouveler vos stocks.
|
||||
|
||||
{shop_url} réalisé par PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Prodotto disponibile</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{product} è ora disponibile.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">L'articolo è di nuovo in magazzino.<br /><br />Puoi accedere alla pagina del prodotto cliccando sul link: <a href="{product_link}">{product}</a><br /><br />Puoi ordinarlo fin d'ora dal nostro negozio online.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
Salve,
|
||||
|
||||
Il prodotto {product} è ora disponibile.
|
||||
Infatti l'articolo è di nuovo in magazzino.
|
||||
|
||||
Puoi accedere alla pagina del prodotto su: {product_link}
|
||||
|
||||
Puoi ordinarlo fin d'ora dal nostro negozio online.
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,116 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Nuovo ordine</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Hai un nuovo ordine da parte di <strong style="color: #db3484;">{firstname} {lastname}</strong>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Dati dell'ordine</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Ordine: <strong><span style="color: #db3484;">{order_name}</span> effettuato il {date}</strong> <br />Pagamento: <strong>{payment}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">{items}
|
||||
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-align: center;">
|
||||
<th style="width: 15%; padding: 0.6em 0;">Riferimento</th> <th>Prodotto</th> <th style="width: 15%; padding: 0.6em 0;">Prezzo unitario</th><th style="width: 15%; padding: 0.6em 0;">Quantità</th> <th style="width: 20%; padding: 0.6em 0;">Prezzo totale</th>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="4">Prodotti</td>
|
||||
<td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_products}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="4">Sconti</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_discounts}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="4">Carta regalo</td>
|
||||
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_wrapping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right;">
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;" colspan="4">Spedizione</td>
|
||||
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;">{total_shipping}</td>
|
||||
</tr>
|
||||
<tr style="text-align: right; font-weight: bold;">
|
||||
<td style="background-color: #f1aecf; padding: 0.6em 0.4em;" colspan="4">Totale pagato</td>
|
||||
<td style="background-color: #f1aecf; padding: 0.6em 0.4em;">{total_paid}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Spedizione</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Mezzo di spedizione: <strong>{carrier}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">
|
||||
<tbody>
|
||||
<tr style="background-color: #b9babe; text-transform: uppercase;">
|
||||
<th style="text-align: left; padding: 0.3em 1em;">INDIRIZZO DI CONSEGNA</th> <th style="text-align: left; padding: 0.3em 1em;">INDIRIZZO DI FATTURAZIONE</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{delivery_company} <br /><span style="color: #db3484; font-weight: bold;">{delivery_firstname} {delivery_lastname}</span> <br />{delivery_address1} <br />{delivery_address2} <br />{delivery_city} {delivery_postal_code} <br />{delivery_country} {delivery_state} <br />{delivery_phone} <br />{delivery_other}</td>
|
||||
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{invoice_company} <br /><span style="color: #db3484; font-weight: bold;">{invoice_firstname} {invoice_lastname}</span> <br />{invoice_address1} <br />{invoice_address2} <br />{invoice_city} {invoice_postal_code} <br />{invoice_country} {invoice_state} <br />{invoice_phone} <br />{invoice_other}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Messaggio cliente</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><strong>{message}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,41 +0,0 @@
|
||||
Salve,
|
||||
|
||||
Hai un nuovo ordine da parte di {firstname} {lastname} su {shop_name}.
|
||||
|
||||
Ordine: {order_name}
|
||||
Effettuato il: {date}
|
||||
Mezzo di spedizione: {carrier}
|
||||
Pagamento: {payment}
|
||||
Sconti: {total_discounts}
|
||||
Spedizione: {total_shipping}
|
||||
Prodotti: {total_products}
|
||||
Carta regalo: {total_wrapping}
|
||||
Totale pagato: {total_paid}
|
||||
|
||||
Indirizzo di consegna:
|
||||
|
||||
{delivery_company}
|
||||
{delivery_firstname} {delivery_lastname}
|
||||
{delivery_address1}
|
||||
{delivery_address2}
|
||||
{delivery_postal_code} {delivery_city}
|
||||
{delivery_country} {delivery_state}
|
||||
{delivery_other}
|
||||
|
||||
Indirizzo di fatturazione:
|
||||
|
||||
{invoice_company}
|
||||
{invoice_firstname} {invoice_lastname}
|
||||
{invoice_address1}
|
||||
{invoice_address2}
|
||||
{invoice_postal_code} {invoice_city}
|
||||
{invoice_country} {invoice_state}
|
||||
{invoice_other}
|
||||
|
||||
Messaggio del cliente:
|
||||
|
||||
{message}
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,34 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>[{shop_name}] Prodotto esaurito</title>
|
||||
</head>
|
||||
<body>
|
||||
<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">{product} è quasi esaurito.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">La quantità rimanente è adesso inferiore al minimo previsto di <strong>{last_qty}</strong>.<br /><br /> <strong>Stock rimanente: <span style="color: #db3484;">{qty}</span></strong><br /><br />Ti consigliamo di aprire la Pagina Prodotto dell'admin prodotti per rifornire il tuo inventario.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered with <a style="text-decoration: none; color: #374953;" href="http://www.prestashop.com/">PrestaShop™</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,11 +0,0 @@
|
||||
Salve,
|
||||
|
||||
Il prodotto {product} è quasi esaurito.
|
||||
La quantità rimanente è adesso inferiore del minimo previsto di {last_qty}.
|
||||
Stock rimanente: {qty}
|
||||
|
||||
Ti consigliamo di aprire la Pagina Prodotto dell'admin prodotti per rifornire il tuo inventorio.
|
||||
|
||||
|
||||
|
||||
{shop_url} powered by PrestaShop™
|
||||
@@ -1,32 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<!-- MODULE MailAlerts -->
|
||||
<li>
|
||||
<a href="{$base_dir_ssl}modules/mailalerts/myalerts.php" title="{l s='My alerts' mod='mailalerts'}"><img src="{$module_template_dir}logo.gif" alt="{l s='alerts' mod='mailalerts'}" class="icon" /></a>
|
||||
<a href="{$base_dir_ssl}modules/mailalerts/myalerts.php" title="{l s='My alerts' mod='mailalerts'}">{l s='My alerts' mod='mailalerts'}</a>
|
||||
</li>
|
||||
<!-- END : MODULE MailAlerts -->
|
||||
@@ -1,65 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
/* SSL Management */
|
||||
$useSSL = true;
|
||||
|
||||
include(dirname(__FILE__).'/../../config/config.inc.php');
|
||||
include(dirname(__FILE__).'/../../header.php');
|
||||
include_once(dirname(__FILE__).'/mailalerts.php');
|
||||
|
||||
$errors = array();
|
||||
|
||||
if ($cookie->isLogged())
|
||||
{
|
||||
if (Tools::getValue('action') == 'delete')
|
||||
{
|
||||
$id_customer = (int)($cookie->id_customer);
|
||||
if (!$id_product = (int)(Tools::getValue('id_product')))
|
||||
$errors[] = Tools::displayError('You must have a product to delete an alert.');
|
||||
$id_product_attribute = (int)(Tools::getValue('id_product_attribute'));
|
||||
$customer = new Customer((int)($id_customer));
|
||||
MailAlerts::deleteAlert((int)($id_customer), 0, (int)($id_product), (int)($id_product_attribute));
|
||||
}
|
||||
$smarty->assign('alerts', MailAlerts::getProductsAlerts((int)($cookie->id_customer), (int)($cookie->id_lang)));
|
||||
}
|
||||
else
|
||||
$errors[] = Tools::displayError('You must be logged in to manage your alerts.');
|
||||
|
||||
$smarty->assign(array(
|
||||
'id_customer' => (int)($cookie->id_customer),
|
||||
'errors' => $errors
|
||||
));
|
||||
|
||||
if (Tools::file_exists_cache(_PS_THEME_DIR_.'modules/mailalerts/myalerts.tpl'))
|
||||
$smarty->display(_PS_THEME_DIR_.'modules/mailalerts/myalerts.tpl');
|
||||
elseif (Tools::file_exists_cache(dirname(__FILE__).'/myalerts.tpl'))
|
||||
$smarty->display(dirname(__FILE__).'/myalerts.tpl');
|
||||
else
|
||||
echo Tools::displayError('No template found');
|
||||
|
||||
include(dirname(__FILE__).'/../../footer.php');
|
||||
@@ -1,79 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var baseDir = '{$base_dir_ssl}';
|
||||
-->
|
||||
</script>
|
||||
|
||||
<div id="myalerts">
|
||||
{capture name=path}<a href="{$link->getPageLink('my-account', true)}">{l s='My account' mod='mailalerts'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='My alerts' mod='mailalerts'}{/capture}
|
||||
{include file="$tpl_dir./breadcrumb.tpl"}
|
||||
|
||||
<h2>{l s='My alerts' mod='mailalerts'}</h2>
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if $id_customer|intval neq 0}
|
||||
{if $alerts}
|
||||
<div id="block-history" class="block-center">
|
||||
<table class="std">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="first_item">{l s='Product' mod='mailalerts'}</th>
|
||||
<th class="last_item" style="width:20px;">{l s='Delete' mod='mailalerts'}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$alerts item=product name=i}
|
||||
<tr>
|
||||
<td class="first_item">
|
||||
<span style="float:left;"><a href="{$product.link|escape:'htmlall':'UTF-8'}"><img src="{$img_prod_dir}{$product.cover}-small.jpg" alt="{$product.name|escape:'htmlall':'UTF-8'}" /></a></span>
|
||||
<span style="float:left;"><a href="{$product.link|escape:'htmlall':'UTF-8'}">{$product.name|truncate:40:'...'|escape:'htmlall':'UTF-8'}</a>
|
||||
{if isset($product.attributes_small)}
|
||||
<br /><i>{$product.attributes_small|escape:'htmlall':'UTF-8'}</i>
|
||||
{/if}</span>
|
||||
</td>
|
||||
<td class="align_center">
|
||||
<a href="{$base_dir_ssl}modules/mailalerts/myalerts.php?action=delete&id_product={$product.id_product}{if $product.id_product_attribute}&id_product_attribute={$product.id_product_attribute}{/if}"><img src="{$content_dir}modules/mailalerts/img/delete.gif" alt="{l s='Delete' mod='mailalerts'}" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
<div id="block-order-detail"> </div>
|
||||
{else}
|
||||
<p class="warning">{l s='You are not subscribed to any alerts.' mod='mailalerts'}</p>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<ul class="footer_links">
|
||||
<li><a href="{$link->getPageLink('my-account', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account', true)}">{l s='Back to Your Account' mod='mailalerts'}</a></li>
|
||||
<li><a href="{$base_dir}"><img src="{$img_dir}icon/home.gif" alt="" class="icon" /></a><a href="{$base_dir}">{l s='Home' mod='mailalerts'}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -1,93 +0,0 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 1.4 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script type="text/javascript">{literal}
|
||||
// <![CDATA[
|
||||
oosHookJsCodeFunctions.push('oosHookJsCodeMailAlert');
|
||||
|
||||
function clearText() {
|
||||
if ($('#oos_customer_email').val() == 'your@email.com')
|
||||
$('#oos_customer_email').val('');
|
||||
}
|
||||
|
||||
function oosHookJsCodeMailAlert() {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '{/literal}{$base_dir}{literal}modules/mailalerts/mailalerts-ajax_check.php',
|
||||
data: 'id_product={/literal}{$id_product}{literal}&id_product_attribute='+$('#idCombination').val(),
|
||||
success: function (msg) {
|
||||
if (msg == '0') {
|
||||
$('#mailalert_link').show();
|
||||
$('#oos_customer_email').show();
|
||||
}
|
||||
else {
|
||||
$('#mailalert_link').hide();
|
||||
$('#oos_customer_email').hide();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function addNotification() {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '{/literal}{$base_dir}{literal}modules/mailalerts/mailalerts-ajax_add.php',
|
||||
data: 'id_product={/literal}{$id_product}{literal}&id_product_attribute='+$('#idCombination').val()+'&customer_email='+$('#oos_customer_email').val()+'',
|
||||
success: function (msg) {
|
||||
if (msg == '1') {
|
||||
$('#mailalert_link').hide();
|
||||
$('#oos_customer_email').hide();
|
||||
$('#oos_customer_email_result').html("{/literal}{l s='Request notification registered' mod='mailalerts'}{literal}");
|
||||
$('#oos_customer_email_result').css('color', 'green').show();
|
||||
}
|
||||
else {
|
||||
$('#oos_customer_email_result').html("{/literal}{l s='Your e-mail address is invalid' mod='mailalerts'}{literal}");
|
||||
$('#oos_customer_email_result').css('color', 'red').show();
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#oos_customer_email').bind('keypress', function(e) {
|
||||
if(e.keyCode == 13)
|
||||
{
|
||||
addNotification();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<!-- MODULE MailAlerts -->
|
||||
{if isset($email) AND $email}
|
||||
<input type="text" id="oos_customer_email" name="customer_email" size="20" value="your@email.com" class="mailalerts_oos_email" onclick="clearText();" /><br />
|
||||
{/if}
|
||||
<a href="#" onclick="return addNotification();" id="mailalert_link">{l s='Notify me when available' mod='mailalerts'}</a>
|
||||
<span id="oos_customer_email_result" style="display:none;"></span>
|
||||
<!-- END : MODULE MailAlerts -->
|
||||
Reference in New Issue
Block a user