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

#   Comment faire apparaitre un champ customtext

##

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

Less More

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

13 years 8 months ago -  13 years 8 months ago [\#92212](#92212) by [Michel75](/forum/user/12681-michel75 "View Michel75's Profile")  *[Comment faire apparaitre un champ customtext](/forum/5-support-en-francais-french-support-/78792-comment-faire-apparaitre-un-champ-customtext#92212 "Comment faire apparaitre un champ personnalisé (commande) de type customtext dans la facture( plugin pdf acheté)  Merci")* was created by *[Michel75](/forum/user/12681-michel75 "View Michel75's Profile")*

Comment faire apparaitre un champ personnalisé (commande) de type customtext dans la facture( plugin pdf acheté)

Merci

Last edit: 13 years 8 months ago by [Michel75](/forum/user/12681-michel75 "View Michel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg3OTItY29tbWVudC1mYWlyZS1hcHBhcmFpdHJlLXVuLWNoYW1wLWN1c3RvbXRleHQ/dG1wbD1tYXJrZG93bg==) 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)
-

13 years 8 months ago [\#92308](#92308) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Comment faire apparaitre un champ customtext](/forum/5-support-en-francais-french-support-/78792-comment-faire-apparaitre-un-champ-customtext#92308 "Comment faire apparaitre un champ personnalisé (commande) de type customtext dans la facture( plugin pdf acheté)  Merci")*

Bonjour,

Il faut éditer la vue "order / invoice" dans le template backend a partir du menu Display &gt; Views.
Puis dans la vue ajouter la variable correspondante au champ personnalisé.

Pouvez vous nous passer un screenshot des paramètres de votre champ personnalisé.

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

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

Less More

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

13 years 8 months ago -  13 years 8 months ago [\#92321](#92321) by [Michel75](/forum/user/12681-michel75 "View Michel75's Profile")  Replied by *[Michel75](/forum/user/12681-michel75 "View Michel75's Profile")* on topic *[Comment faire apparaitre un champ customtext](/forum/5-support-en-francais-french-support-/78792-comment-faire-apparaitre-un-champ-customtext#92321 "Comment faire apparaitre un champ personnalisé (commande) de type customtext dans la facture( plugin pdf acheté)  Merci")*

Le texte doit s'afficher en fonction d'un choix fait par le client.

[ ![Capture&#95;dcran&#95;2013.png](/forum/attachment/8817) ](/forum/attachment/8817 "...dcran&#95;2013.png")

[ ![Capture&#95;dcran&#95;2013-02-28&#95;&#95;09&#95;26&#95;54.png](/forum/attachment/8819) ](/forum/attachment/8819 "...&#95;&#95;09&#95;26&#95;54.png")

- [ ![Capture&#95;dcran&#95;2013.png](/forum/attachment/8817) ](/forum/attachment/8817 "...dcran&#95;2013.png") [ ](/forum/attachment/8817?download=1 "...dcran&#95;2013.png")
- [ ![Capture&#95;dcran&#95;2013-02-28&#95;&#95;09&#95;26&#95;54.png](/forum/attachment/8819) ](/forum/attachment/8819 "...&#95;&#95;09&#95;26&#95;54.png") [ ](/forum/attachment/8819?download=1 "...&#95;&#95;09&#95;26&#95;54.png")

Last edit: 13 years 8 months ago by [Michel75](/forum/user/12681-michel75 "View Michel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg3OTItY29tbWVudC1mYWlyZS1hcHBhcmFpdHJlLXVuLWNoYW1wLWN1c3RvbXRleHQ/dG1wbD1tYXJrZG93bg==) 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: 86323
- Thank you received: 14282
-
-

13 years 8 months ago [\#92508](#92508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Comment faire apparaitre un champ customtext](/forum/5-support-en-francais-french-support-/78792-comment-faire-apparaitre-un-champ-customtext#92508 "Comment faire apparaitre un champ personnalisé (commande) de type customtext dans la facture( plugin pdf acheté)  Merci")*

Les champs de typecustomtext sont des champs qui permettent d'afficher des informations explicatives sur les formulaires de champs personnalisés.
Ils ne sont pas destinés à être affichés ailleurs.

Dans votre cas, il va falloir editer le fichier plugins/hikashop/attachinvoice/attachinvoice/invoice.php et ajouter ce genre de code: Code:

&lt;?php if($order-&gt;type_achat =='unite'){ echo 'Ici texte 1'; } ?&gt;

où type_achat est le nom du champs personnalisé sélectionné par l'utilsateur et unite la valeur sélectionnée dans ce champs.

The following user(s) said Thank You: [Michel75](/forum/user/12681-michel75 "View Michel75's Profile")

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

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