[Skip to main content](#vessel-content)

#   Mail / commande

##

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 9 months ago [\#88467](#88467) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88467 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")* was created by *[emohk](/forum/user/7512-emohk "View emohk's Profile")*

Bonjour,

Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée.
Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")**
- [![Pi&#95;R's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12684-pi-r "View Pi&#95;R's Profile")
- [ Offline](/forum/user/12684-pi-r)

Less More

- Posts: 328
- Thank you received: 18
-
-

13 years 9 months ago [\#88505](#88505) by [Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")  Replied by *[Pi\_R](/forum/user/12684-pi-r "View Pi&#95;R's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88505 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonjour,

dans Système -&gt; Emails, j'imagine qu'il faut activer "Annulation de commande" (?)

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#88536](#88536) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88536 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonsoir,

Oui, il s'agit bien de l'email "Annulation de commande".

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 9 months ago [\#88582](#88582) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88582 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonjour,

Exact, le mail d'annulation est en effet envoyé si on précise que l'on souhaite envoyé un mail suite au changement de statut de la commande (commande -&gt; changement du statut -&gt; notifier au client dans le popup).

Mon propos est de rendre automatique cet envoi, en particulier, lorsque le client après le passage en caisse abondonne son paiement par carte bancaire (dans ce cas, il y a un retour sur le site marchand avec "transaction declined") ou lorsque la banque a refuse sa carte bancaire (même retour). Dans tout les cas, la commande du client prend le statut "annulée" mais le client ne reçoit pas de mail lui précisant que cette commande a été annulée.

Cdt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#88634](#88634) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88634 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonjour,

Lors d'une annulation ou d'un refus de paiement, c'est le plugin de paiement qui s'occupe de l'envoie de l'email.
Il s'agit d'un point que nous souhaitons modifier afin d'avoir plus d’homogénéité dans nos plugins.
Pour l'instant, il est nécessaire de faire une modification dans votre plugin de paiement pour ajouter cet email.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 9 months ago [\#88639](#88639) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88639 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Re bonjour,

De quelle nature serait la modification, sachant qu'il faut que je puisse reproduire l'envoi d'un email en cas d'annulation comme l'envoi en cas de confirmation (donc suite à paiement)?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#88793](#88793) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88793 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonjour,

Il faudrait rajouter un "if" pour vérifier le status de la commande, si le status est "annulé" alors préparer en envoyer un email.
Comme cela si la commande n'est pas annulée, cela ne change rien pour l'envoi du mail de confirmation.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emohk](/forum/user/7512-emohk "View emohk's Profile")**
- [![emohk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7512-emohk "View emohk's Profile") Topic Author
- [ Offline](/forum/user/7512-emohk)

Less More

- Posts: 332
- Thank you received: 4
-
-

13 years 9 months ago [\#88809](#88809) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88809 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonjour,

Il faut que j'examine le fichier php du plugin de paiement. Ainsi pour ce qui me concerne, dans le cas de paiement par CB avec CMCIC, il s'agit du fichier /hikashoppayment/cmcic/cmcic.php? et je dois chercher la fonction d'envoi de mail???

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#88921](#88921) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Mail / commande](/forum/5-support-en-francais-french-support-/78028-mail-commande#88921 "Bonjour,  Lorsqu'un client a créée et confirmé sa commande, il reçoit un mail pour chaque statut de la commande. Comment fait-on pour qu'il reçoive un mail automatique lorsque sa commande est annulée. Merci")*

Bonjour,

Oui en effet c'est ce fichier qu'il faut modifier.
La fonction d'envoi d'email est: Code:

$mailer = JFactory::getMailer(); $config =&amp; hikashop_config(); $sender = array( $config-&gt;get('from_email'), $config-&gt;get('from_name') ); $mailer-&gt;setSender($sender); $mailer-&gt;addRecipient("recipient@n1.com","recipient@n2.com"); $mailer-&gt;setSubject("Your subject"); $body = "Your email Body"; $mailer-&gt;setBody($body); $mailer-&gt;Send();

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzgwMjgtbWFpbC1jb21tYW5kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
