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

#   Mettre référence dans mail de confirmation

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 2 months ago [\#117452](#117452) by [mela](/forum/user/25484-mela "View mela's Profile")  *[Mettre référence dans mail de confirmation](/forum/5-support-en-francais-french-support-/860728-mettre-reference-dans-mail-de-confirmation#117452 "Bonjour,  J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.  Comment je peux faire?  Merci d'avance")* was created by *[mela](/forum/user/25484-mela "View mela's Profile")*

Bonjour,

J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.

Comment je peux faire?

Merci d'avance

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 2 months ago -  13 years 2 months ago [\#117464](#117464) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Mettre référence dans mail de confirmation](/forum/5-support-en-francais-french-support-/860728-mettre-reference-dans-mail-de-confirmation#117464 "Bonjour,  J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.  Comment je peux faire?  Merci d'avance")*

Bonjour,

Il vous faudra pour cela éditer le code des emails "Order creation notification" pour l'email de confirmation et "Order administrator notification" pour l'email d'administration via "*Hikashop-&gt;Système-&gt;Emails*. Par exemple pour l'email d'administration, il vous faudra modifier cette ligne : Code:

&lt;p&gt;&lt;?php echo $item-&gt;order_product_name;

par : Code:

&lt;p&gt; &lt;a class="hikashop_order_product_link" href="&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$item-&gt;product_id); ?&gt;"&gt; &lt;?php echo $item-&gt;order_product_name; ?&gt; &lt;/a&gt; &lt;?php

PS: Cette fonctionnalité n'est disponible que sur la version business d'Hikashop.

Last edit: 13 years 2 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 2 months ago [\#117494](#117494) by [mela](/forum/user/25484-mela "View mela's Profile")  Replied by *[mela](/forum/user/25484-mela "View mela's Profile")* on topic *[Mettre référence dans mail de confirmation](/forum/5-support-en-francais-french-support-/860728-mettre-reference-dans-mail-de-confirmation#117494 "Bonjour,  J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.  Comment je peux faire?  Merci d'avance")*

Merci pour le code. J'ai réussi, je suis allée directement dans les fichiers php.

- order_admin_notification.html pour le mail de l'administrateur
- order_creation_notification.html pour le mail client

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

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

Less More

- Posts: 102
- Thank you received: 10
-
-

12 years 7 months ago [\#150034](#150034) by [walkyrie](/forum/user/7240-walkyrie "View walkyrie's Profile")  Replied by *[walkyrie](/forum/user/7240-walkyrie "View walkyrie's Profile")* on topic *[Mettre référence dans mail de confirmation](/forum/5-support-en-francais-french-support-/860728-mettre-reference-dans-mail-de-confirmation#150034 "Bonjour,  J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.  Comment je peux faire?  Merci d'avance")*

BOnjour

Je me permets de revenir sur ce topic, car j'ai le même besoin, et je n'ai à aucun endroit

"&lt;p&gt;&lt;?php echo $item-&gt;order_product_name;".

J'utilise bien hikashop business, en version 2.2.3

Par contre, dans "Version HTML" de order creation notification subject, en ligne 108, j'ai :

&lt;!--{IF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_CODE}&lt;!--{ENDIF:ORDER_PRODUCT_CODE}--&gt;

J'en déduis qu'il y a une option de paramétrage pour afficher la ref, non?

Si oui, je n'ai pas trouvé où...

Dans l'attente de votre réponse,

Merci!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Online](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

12 years 7 months ago [\#150056](#150056) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Mettre référence dans mail de confirmation](/forum/5-support-en-francais-french-support-/860728-mettre-reference-dans-mail-de-confirmation#150056 "Bonjour,  J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.  Comment je peux faire?  Merci d'avance")*

Nous avons refait le système d'email depuis ce message.
Maintenant il suffit d'enlever la condition:
&lt;!--{IF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_CODE}&lt;!--{ENDIF:ORDER_PRODUCT_CODE}--&gt;

pour avoir juste:
{LINEVAR:PRODUCT_CODE}

The following user(s) said Thank You: [walkyrie](/forum/user/7240-walkyrie "View walkyrie's Profile")

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

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

Less More

- Posts: 102
- Thank you received: 10
-
-

12 years 7 months ago [\#150156](#150156) by [walkyrie](/forum/user/7240-walkyrie "View walkyrie's Profile")  Replied by *[walkyrie](/forum/user/7240-walkyrie "View walkyrie's Profile")* on topic *[Mettre référence dans mail de confirmation](/forum/5-support-en-francais-french-support-/860728-mettre-reference-dans-mail-de-confirmation#150156 "Bonjour,  J'aimerai que dans le mail de confirmation de la commande à la fois pour l'administrateur et pour le client, il y est la référence du produit.  Comment je peux faire?  Merci d'avance")*

Parfait, tout simplement! ![:cheer:](/media/kunena/emoticons/10.png ":cheer:")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODYwNzI4LW1ldHRyZS1yZWZlcmVuY2UtZGFucy1tYWlsLWRlLWNvbmZpcm1hdGlvbj90bXBsPW1hcmtkb3du) 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.133 seconds

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

[](#top)
