jd440 Posted April 7, 2014 Share Posted April 7, 2014 Bonjour à tous, Sauf erreur le module Followup est bugger puisqu'il peux envoyer un message de relance à un client sur un vieux panier alors qu'entre temps il a commander. private function cancelledCart($count = false) { $email_logs = $this->getLogsEmail(1); $sql = ' SELECT c.id_cart, c.id_lang, cu.id_customer, c.id_shop, cu.firstname, cu.lastname, cu.email FROM '._DB_PREFIX_.'cart c LEFT JOIN '._DB_PREFIX_.'orders o ON (o.id_cart = c.id_cart) RIGHT JOIN '._DB_PREFIX_.'customer cu ON (cu.id_customer = c.id_customer) RIGHT JOIN '._DB_PREFIX_.'cart_product cp ON (cp.id_cart = c.id_cart) WHERE DATE_SUB(CURDATE(),INTERVAL 7 DAY) <= c.date_add AND o.id_order IS NULL'; Si on regarde dans le code on se rend compte que la requete recupère les panier non finalisé par le client, mais à aucun moment si il y a pour le client des panier plus récents? Avez vous constaté ce souci? Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted April 11, 2014 Share Posted April 11, 2014 Hello, Advertising and Marketing Customer follow-up v1.6 - by PrestaShop Follow-up with your customers with daily customized e-mails. Celui-la ? Si oui, tu n'es pas dans le bon sujet. Les modules natifs font partie de la solution, je déplace ton sujet. Si le bug est avéré après en avoir parlé avec la communauté, n'hésite pas à poster sur la Forge ! 1 Link to comment Share on other sites More sharing options...
jd440 Posted April 11, 2014 Author Share Posted April 11, 2014 Oui c'est bien de cela dont je parle. 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