Tchupa 8 Posted June 20, 2011 Bonjour tout le monde,pour une question d'organisation concernant la gestion de notre e-commerce et des commandes clients je voudrais afficher le poid total du colis concernant la commande concerné dans l'email de confirmation de commande.Mais je ne sais pas comment m' y prendre en effet je ne connais pas la variable correspondante au poid total.Quelqu'un pourrait -il me venir en aide svp ?En vous remerciant.Cordialement Tchupa. Share this post Link to post Share on other sites
Tchupa 8 Posted June 23, 2011 Personne ne peux m'aider?Merci. Share this post Link to post Share on other sites
Tchupa 8 Posted July 9, 2011 Un petit up je n'ai toujours pas trouvé la solution Share this post Link to post Share on other sites
Tchupa 8 Posted July 18, 2011 Bonjour, personne n'a d'idée ou une piste a me donner ?Merci. Share this post Link to post Share on other sites
Tchupa 8 Posted August 11, 2011 Bonjour, Me voilà de retour de vacance et toujours pas de solution a mon problème, tout le forum est a la plage? Share this post Link to post Share on other sites
Tchupa 8 Posted September 28, 2011 Toujours pas d'idée? Merci. Share this post Link to post Share on other sites
olea 75 Posted February 9, 2012 Il faut modifier le code du module mailalerts. fichier mailalerts.php, dans la fonction hookNewOrder(), rajouter la ligne concernant le poids (j'ai pas testé) : $templateVars = array( '{poids_total}' => $order->getTotalWeight(), '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, Editer le fichier mails/fr/new_order.html sous les lignes : <tr> <td align="left"> Transporteur : <strong>{carrier}</strong> </td> </tr> <tr><td> </td></tr> rajouter les lignes <tr> <td align="left"> Poids total: <strong>{poids_total}</strong> </td> </tr> <tr><td> </td></tr> Share this post Link to post Share on other sites
Tchupa 8 Posted February 10, 2012 Merci Olea sa fonctionne nikel ! Share this post Link to post Share on other sites