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

#   afficher un champs personnalisé panier mail email

##

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

Less More

- Posts: 24
- Thank you received: 0
-
-

12 years 3 months ago [\#165502](#165502) by [Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")  *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#165502 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")* was created by *[Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")*

-- url of the page with the problem -- : [ www.ccuc.fr](http://www.ccuc.fr)
-- HikaShop version -- : 2.1.2
-- Joomla version -- : 2.5.9

Bonjour,

j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.

Merci d'avance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

12 years 3 months ago [\#165523](#165523) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#165523 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Bonjour,

Quel type de champs ? Pourriez vous faire une capture des options du champs ? Quel genre d'affichage ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 24
- Thank you received: 0
-
-

12 years 3 months ago [\#165786](#165786) by [Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")  Replied by *[Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")* on topic *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#165786 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Bonjour, enfaite j'ai rajouté des champ personnalisé à mes produits (cours de cuisiner) tel que :
- la date
- la formule
- la durée...

J'aimerai les faire afficher lors du récapitulatif de commande et du coup aussi dans les mail envoyer (création, confirmation...)

Je n'arrive pas à ajouter un "echo" avec la bonne variable, car le nam_ produit passe en oreder_name_produit.
Du coup je ne sais pas comment appeler ma variable.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

12 years 3 months ago [\#165789](#165789) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#165789 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Bonjour,

Une capture d'écran de vos produits et le nom de l'email que vous cherchez à éditer pourrait nous être utile.
Sinon ce que vous pouvez faire c'est un var_dump($order), par exemple, pour visualiser l'ensemble des variables.

Cela doit être fait entre des balises php et le nom de la variable peut changer selon les vues ($this-&gt;order par exemple).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 24
- Thank you received: 0
-
-

12 years 3 months ago [\#165867](#165867) by [Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")  Replied by *[Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")* on topic *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#165867 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Voici le imprime écran.

[ ![date-dans-le-mail.png](/forum/attachment/18758) ](/forum/attachment/18758 "...ns-le-mail.png")

[ ![vue-mail.png](/forum/attachment/18759) ](/forum/attachment/18759 "vue-mail.png")

- [ ![date-dans-le-mail.png](/forum/attachment/18758) ](/forum/attachment/18758 "...ns-le-mail.png") [ ](/forum/attachment/18758?download=1 "...ns-le-mail.png")
- [ ![vue-mail.png](/forum/attachment/18759) ](/forum/attachment/18759 "vue-mail.png") [ ](/forum/attachment/18759?download=1 "vue-mail.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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
-
-
-

12 years 2 months ago [\#167152](#167152) 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 *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#167152 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Hello,
If you want to add product custom fields through your email, you'll probably find the solution through that thread : [ www.hikashop.com/forum/orders-management...ry-email.html#134103](http://www.hikashop.com/forum/orders-management/863886-add-custom-fields-to-order-summary-email.html#134103)

> In the email you can add the following tag:
>
> Code:
>
> {LINEVAR:product.CUSTOM_FIELD_NAME}
>
>
>
> after this line: Code:
>
> {LINEVAR:PRODUCT_NAME}&lt;!--{IF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_CODE}&lt;!--{ENDIF:ORDER_PRODUCT_CODE}--&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 24
- Thank you received: 0
-
-

12 years 1 week ago [\#176623](#176623) by [Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")  Replied by *[Mehdi](/forum/user/16522-mehdi "View Mehdi's Profile")* on topic *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#176623 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Je ne comprend comment utiliser var_dump

&lt;?php
echo $item-&gt;order_product_name;
var_dump($order)
echo $product-&gt;numrodujour;

pouvez vous m"expliquer ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
-

12 years 1 week ago [\#176655](#176655) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[afficher un champs personnalisé panier mail email](/forum/27-checkout/869984-afficher-un-champs-personnalise-panier-mail-email#176655 "-- url of the page with the problem -- :   www.ccuc.fr  -- HikaShop version -- : 2.1.2 -- Joomla version -- : 2.5.9  Bonjour,  j’aimerai afficher un champs personnalisé dans le panier final à la commande et dans les mails de création et confirmation.  Merci d'avance.")*

Bonjour,

Voici une explication au sujet du var_dump().
[ fr2.php.net/var\_dump](http://fr2.php.net/var_dump)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2OTk4NC1hZmZpY2hlci11bi1jaGFtcHMtcGVyc29ubmFsaXNlLXBhbmllci1tYWlsLWVtYWlsP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.093 seconds

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

[](#top)
