ObjetsBois Posted June 17, 2011 Share Posted June 17, 2011 Bonjour, J'ai des personnes qui s'inscrivent sans forcément commander, du coup je ne vois même pas que j'ai des inscrits en plus. Il y a un moyen d'être prévenu par mail...même un mail avec juste "1 nouvel inscrit sur objetsbois.com" suffirait. J'ai le module Alertes email v2.2 par PrestaShop d'activé mais je n'ai que recevoir un mail quand il y a : -Nouvelle commande -Hors stock Je suis sous prestashop 1.4.0.17 Merci d'avance, en espérant avoir cette petite option rapidement :-) Link to comment Share on other sites More sharing options...
Yann - Prestaplugins Posted June 17, 2011 Share Posted June 17, 2011 Tu peux l'avoir par SMS si ça te dit, en suivant ma signature ;-) Link to comment Share on other sites More sharing options...
ObjetsBois Posted June 17, 2011 Author Share Posted June 17, 2011 Merci :-) mais je préfère par mail, mon portable ne passe pas chez moi, du coup je ne verrais les inscriptions que en-dehors de chez moi %-P Link to comment Share on other sites More sharing options...
ObjetsBois Posted August 30, 2011 Author Share Posted August 30, 2011 Bon, j'ai tout tenté je n'y arrive pas...si quelqu'un à une piste je suis preneur Je suis obligé de regarder les stats tout le temps en me souvenant du nombre d'inscrits...pour voir s'il a ou non augmenté et comme je ne regarde pas tous les jours, je ne les vois pas. Link to comment Share on other sites More sharing options...
outrun78 Posted August 30, 2011 Share Posted August 30, 2011 va dans l'onglet client, tu trie par numero decroissant et tu visualise en permanence les nouveaus inscrits je fais comme cela mais un mail serait le bienvenu, en effet Link to comment Share on other sites More sharing options...
ObjetsBois Posted August 30, 2011 Author Share Posted August 30, 2011 ouais c'est ce que je fais Mais bon avec tout ce que j'ai en tête je ne sais jamais si le dernier je l'ai déjà vu ou non...bref un bon petit mail serait top Link to comment Share on other sites More sharing options...
Optim'Informatique Posted August 31, 2011 Share Posted August 31, 2011 Je peux développer un module si ça vous tente, si vous êtes 2 à vouloir en profiter ça divisera les couts... Link to comment Share on other sites More sharing options...
ObjetsBois Posted December 8, 2011 Author Share Posted December 8, 2011 C'est bon, j'ai rajouté quelques lignes dans le module MAILALERTS Fichier mailalerts.php : Dans : 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; Rajouter : OR !$this->registerHook('createAccount') ce qui donne : 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') OR !$this->registerHook('createAccount') ) return false; puis rajouter la fonction : public function hookCreateAccount($params) { if (empty($this->_merchant_mails)) return; $customer = $params['newCustomer']; $id_lang = (int)(Configuration::get('PS_LANG_DEFAULT')); $iso = Language::getIsoById((int)($id_lang)); $template = 'new_account'; $subject = $this->l('New account'); $templateVars = array( '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{email}' => $customer->email, '{shop_name}' => Configuration::get('PS_SHOP_NAME'), ); 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/'); } Dans le répertoire MAIL puis FR créer 2 fihiers : new_account.txt et new_account.html Dans new_account.html mettre : <!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=iso-8859-1"> <title>[{shop_name}] Nouveau compte</title> </head> <body> <table style="font-family:Verdana,sans-serif; font-size:11px; color:#374953; width: 550px;"> <tr> <td> <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><span style="color: coral; font-weight: bold;">Un nouveau compte a été créé : {firstname} {lastname} ({email})</td> </tr> </table> </body> </html> Dans new_account.txt mettre : Bonjour, Un nouveau compte a été créé : {firstname} {lastname} ({email}) sur {shop_name}. Ensuite réinitialiser le module Mailalerts et le tour est joué... Link to comment Share on other sites More sharing options...
modelike Posted December 15, 2011 Share Posted December 15, 2011 Un grand merci pour cette astuce ! Link to comment Share on other sites More sharing options...
ObjetsBois Posted December 16, 2011 Author Share Posted December 16, 2011 De rien J'étais franchement heureux quand je l'ai trouvé (sur ce forum je crois bien d'ailleurs). Maintenant j'aimerais bien trouver la même astuce quand quelqu'un poste un commentaire sur un produit...faut toujours aller zieuter dans le module commentaire (pas très pratique) 1 Link to comment Share on other sites More sharing options...
Arnaudf Posted May 23, 2015 Share Posted May 23, 2015 J'ai trouvé un module gratuit pour les alertes email en cas de nouveaux inscrits sur le forum ici: https://www.prestashop.com/forums/topic/294459-free-module-customer-registration-admin-alerts-email-when-new-registration/page-2?do=findComment&comment=2058667 Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now