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

#   Chèque cadeau pour hikashop avec hikaserial

##

- **[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")
- [ Offline](/forum/user/7512-emohk)

Less More

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

13 years 7 months ago [\#97510](#97510) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#97510 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour
Ok, donc dans le cas d'une limitation de texte, ne serait-il pas plus simple de détecter si un retour chariot a été inséré dans le texte et si tel est le cas le supprimer pour éviter une mise en page disgracieuse??

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#97539](#97539) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#97539 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

Oui, c'est une idée intéressante ![:)](/media/kunena/emoticons/3.png ":)")

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#97550](#97550) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#97550 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Re-bonjour,

Je viens de faire une mise à jour du package HikaSerial 1.7.2 afin d'inclure la gestion des retours à la ligne.
Mes petits tests n'ont pas montré de soucis particulier donc je le met en ligne (mais toujours pas en notification).

Vous pouvez re-télécharger HikaSerial afin de profiter de cette mise à jour du plugin AttachSerial.

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/7512-emohk)

Less More

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

13 years 7 months ago [\#97559](#97559) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#97559 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

re-bonjour,

L'installation du fichier attachserial.php suffit?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#97594](#97594) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#97594 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonsoir,

Oui, vous pouvez simplement mettre à jour le fichier "attachserial" si vous aviez déjà la version 1.7.2 d'installée.

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/7512-emohk)

Less More

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

13 years 7 months ago [\#97912](#97912) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#97912 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

La nouvelle version prend bien en compte les retours chariots SUPER.

Merci

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 2 weeks ago [\#130321](#130321) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#130321 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour à tous,

une question plus simple (à mon avis) concernant les chèque cadeau :

Je souhaiterais un article chèque cadeau, avec une image de chèque en téléchargement, avec dessus, simplement le numéro de la facture (ou commande).

Comme cela, le client peut offrir ce chèque imprimé, et venir en boutique pour consommer son chèque cadeau.

Est-ce faisable facilement ?

Merci de votre réponse....

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 2 weeks ago [\#130325](#130325) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#130325 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonsoir,

Avec le plugin "attach serial" il est tout à fait possible de générer dynamiquement cette image.
Le plugin permet d'attacher l'image à l'email mais il est tout à fait possible que l'image soit un fichier virtuel à télécharger. Code:

\#hikaserial:attachserial:1

utilisé comme "url" de fichier à télécharger permet de télécharger l'image pour la configuration "1" du plugin attachserial.

La configuration du plugin peut très bien afficher le serial en dehors de l'image (afin de ne pas l'afficher) et il est tout à fait possible d'afficher le numéro de facture.

En boutique, il faudra ouvrir la facture en backend et modifier le serial afin de bien savoir qu'il a été consommé.

Donc oui, c'est faisable facilement !

Cordialement,

---

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

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 1 week ago [\#130880](#130880) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#130880 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Merci Jérôme,

je vais essayer cela !

Bon début de semaine ![;)](/media/kunena/emoticons/24.png ";)")

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 1 week ago [\#131035](#131035) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131035 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour Jérôme,

à priori tout est ok sauf l'affichage du numéro de commande !

J'ai le sérial, mais pas l'info de commande ... qui s'affiche sur mon image de chèque qui est bien jointe au mail !

Même si je prend commande... lors de la liste déroulante dans le plugin attach serial

une idée ?

Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 1 week ago [\#131043](#131043) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131043 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

J'ai un peu de mal à saisir ce que vous souhaitez afficher comme information de commande.

Cordialement,

---

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

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 1 week ago [\#131122](#131122) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131122 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Désolé, c'est vrai que c'est pas clair !

En fait j'arrive à afficher le serial (sur mon image de chèque cades, que je met en pièce jointe du mail de confirmation de commande)

Mais je n'arrive pas à afficher le numéro de commande.

Je pense que cela se passe dans la plugin attach serial...

Comment faire ?

Merci !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 1 week ago [\#131132](#131132) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131132 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonsoir,

Avec la capture de votre configuration "attach serial" je pourrais déjà vous en dire plus sur le soucis.

Cordialement,

---

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

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 1 week ago [\#131149](#131149) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131149 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Excellente idée, voici la capture :

MERCI !!!!!

- [ ![ha3ce957.png](/forum/attachment/13473) ](/forum/attachment/13473 "ha3ce957.png") [ ](/forum/attachment/13473?download=1 "ha3ce957.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 1 week ago [\#131206](#131206) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131206 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

L'élément "Commande..." possède des points de suspension, cela veut dire que l'information est incomplète et qu'il faut la compléter dans le champ texte qui apparaît dynamiquement lorsque l'on choisit un élément avec des "..."
Cela permet d'afficher une donnée de la table "order" (commande en français). Il faut donc entrer le nom de la colonne de la base de donnée à afficher.
Comme expliqué dans la documentation en somme: [ www.hikashop.com/support.html?id=152:hik...ns-attachserial-form](http://www.hikashop.com/support.html?id=152:hikaserial-plugins-attachserial-form)

Merci d'utiliser "order_number" or "order_id" dans le champs texte juste en dessous de "Commande..."

Cordialement,

---

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

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

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 1 week ago [\#131247](#131247) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131247 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Merci beaucoup pour cette réponse très très claire !!!!

MERCIIIII

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

13 years 1 week ago [\#131248](#131248) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131248 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Tout fonctionne parfaitement !!!!!

Une remarque cependant : Si on a dans sa commande 2 chèques cadeaux, il n'y a en a qu'un seul en pièce jointe du mail de commande...

Est-ce normal ?

Merci encore pour tout !!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 1 week ago [\#131265](#131265) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#131265 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

Non, cela n'est pas normal.
Il doit y avoir autant de pièce jointe que de serials attachés à la commande.
Du moins, si les serials sont bien dans des packs qui génèrent des images.

Cordialement,

---

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

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

- **[wantoo](/forum/user/6934-wantoo "View wantoo's Profile")**
- [![wantoo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6934.jpg)](/forum/user/6934-wantoo "View wantoo's Profile")
- [ Offline](/forum/user/6934-wantoo)

Less More

- Posts: 16
- Thank you received: 0
-
-
- [](http://network.wantoo.com)
-

12 years 11 months ago [\#133256](#133256) by [wantoo](/forum/user/6934-wantoo "View wantoo's Profile")  Replied by *[wantoo](/forum/user/6934-wantoo "View wantoo's Profile")* on topic *[Chèque cadeau pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#133256 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

Je me permet de rebondir sur le sujet car ils'agit du même besoin mais avec une problématique différente.

J'ai réglé Hikashop et Hikaserial pour qu'une commande multiple (un produit principal et ses options éventuelles) ne crée qu'un seul "attachserial". Un code = le montant total de la commande.
(Pour info je syncronise les tables hikaserial_serial et jse_event_coupons de façon à ce qu'un chèque cadeau puisse payer tout ou partie d'une réservation d'événement dans JSE Event)

Je souhaitais afficher le montant total (TTC) de la commande sur le chèque cadeau et j'ai essayé 2 ou 3 réglages possibles... sans succès ![:(](/media/kunena/emoticons/22.png ":(")

1) en sélectionnant les données du type "Prix Produit (taxe incl.)" au format "brut" on obtient un prix bien formaté mais de la valeur du produit principal seulement (il n'y a pas de boucle prévue sur la somme de tous les produits de la même commande).

2) Il faut donc aller chercher le champ "order_full_price" dans la table "hikashop_order"... donc j'ai essayé le type "Commande..." + {order.order_full_price} et je me retrouve avec un affichage brut à 5 décimale ce qui n'est pas du plus bel effet !

Dans le plugin "attachserial" il manquerait une toute petite chose (entre autre) pour qu'il soit parfait ![;-)](/media/kunena/emoticons/24.png ";-)")
- soit au niveau des formatages disponibles : ajouter un format monétaire à 2 décimales + devise courante
- soit ajouter nouveau un type "total de la commande" comme indiqué en 2) ci-dessus. Pour "order" dans le fichier attachserial.php à la ligne 235 : Code:

case 'order': if(!empty($order-&gt;$field)) return $order-&gt;$field; break;

rien n'est donc prévu et je n'ai pas très envie de bidouiller à cet endroit...

Auriez-vous une astuce pour régler cet apect ou l'avez-vous déjà prévu dans une version à venir ?

Merci ![;-)](/media/kunena/emoticons/24.png ";-)")

Didier

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE4LXN1cHBvcnQtZW4tZnJhbmNhaXMtZGUtaGlrYXNlcmlhbC1mcmVuY2gtc3VwcG9ydC81MjIzMy1jaGVxdWUtY2FkZWF1LXBvdXItaGlrYXNob3AtYXZlYy1oaWthc2VyaWFsP3N0YXJ0PTgwJnRtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

12 years 11 months ago [\#133266](#133266) 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 pour hikashop avec hikaserial](/forum/18-support-en-francais-de-hikaserial-french-support/52233-cheque-cadeau-pour-hikashop-avec-hikaserial?start=80#133266 "Bonjour,  Est-il possible de créer et de vendre avec hikaserial des chèques cadeaux qui peuvent être ensuite utilisés par les clients dans lune boutique hikashop ?")*

Bonjour,

Un format de type "price" me semble le plus intéressant.
Ce format va utiliser la device de la commande pour faire le formattage.
J'ai fait la modification dans le plugin, cela implique différents changement dans les fichiers. Il est plus simple pour moi de vous envoyer le nouveau plugin par email plutôt que de liste les modifications à faire ici.

Cordialement,

---

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

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.120 seconds

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