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

#   Chèque cadeau

##

- **[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 8 months ago -  13 years 8 months ago [\#92686](#92686) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#92686 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")* was created by *[emohk](/forum/user/7512-emohk "View emohk's Profile")*

Bonjour,

Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????

Merci

NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg4ODMtY2hlcXVlLWNhZGVhdT90bXBsPW1hcmtkb3du) 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 7 months ago [\#96832](#96832) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#96832 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")*

Bonjour,
J'ai paramétré des custom fields pour que le client puisse saisir un message personnalisé lors de sa commande pour son chèque cadeau. Je veux que ce champs soit visible uniquement pour un type de produit, quel est le fichier php du checkout à modifier???
Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg4ODMtY2hlcXVlLWNhZGVhdT90bXBsPW1hcmtkb3du) 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 7 months ago -  13 years 7 months ago [\#96876](#96876) 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 *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#96876 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")*

Bonjour,

Il vous suffira simplement d'utiliser l'option "Catégories" de la page de configuration de votre custom field, et de sélectionner la catégorie qui contient les produits voulus.

PS: Votre custom fiel doit appartenir à la table item.

En espérant que cela vous sera utile.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg4ODMtY2hlcXVlLWNhZGVhdT90bXBsPW1hcmtkb3du) 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 7 months ago [\#96915](#96915) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#96915 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")*

Bonjour,

Mes custom fields doivent être implémentés sur la commande, donc portés sur le table commande pour être visible uniquement lors de l'appel du panier et non sur item.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg4ODMtY2hlcXVlLWNhZGVhdT90bXBsPW1hcmtkb3du) 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 7 months ago [\#96940](#96940) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#96940 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")*

Bonsoir,

A ce moment là, le mieux est de modifier la vue "Checkout &#124; custom_fields".
Dans la boucle vous aurez accès à l'identifiant du custom field ($fieldName) vous permettant de savoir de quel custom field il s'agit précisement.
Il vous faudra à ce moment là analyser le panier de l'utilisateur pour savoir si oui ou non vous souhaitez l'afficher.

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg4ODMtY2hlcXVlLWNhZGVhdT90bXBsPW1hcmtkb3du) 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 7 months ago [\#96982](#96982) by [emohk](/forum/user/7512-emohk "View emohk's Profile")  Replied by *[emohk](/forum/user/7512-emohk "View emohk's Profile")* on topic *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#96982 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")*

Bonjour,

Oui en effet, mais j'ai un soucis, je ne vois pas comment obtenir la catégorie ou le produit des paniers dans la vue "Checkout &#124; custom_fields".
Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzg4ODMtY2hlcXVlLWNhZGVhdT90bXBsPW1hcmtkb3du) 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 7 months ago [\#97275](#97275) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Chèque cadeau](/forum/5-support-en-francais-french-support-/78883-cheque-cadeau#97275 "Bonjour,  Je cherche un système / plugin qui permette à un internaute d'acheter un chèque cadeau, comme un produit vendu sur hikashop (paramétrable sur le texte à insérer) sur le site (le plus serait qu'il choisisse le montant offert) avec un code cadeau qui puisse être pris en compte comme un coupon dans la gestion du panier d'achat. ?????  Merci  NE PAS TENIR COMPTE DE CE MESSAGE : A priori : j'ai trouvé un élément de réponse dans hikaserial, à suivre.")*

Bonjour,

Toutes les informations des produits du panier sont dans l'objet "$this-&gt;rows".
Mais attention, les custom fields de la table commande, sont pour la commande globale, et pas associées à chaque produits.

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

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