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

#   Gift certificate and attach serial plugin: some questions

##

- **[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")**
- [![oloccina's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23273.jpg)](/forum/user/23273-oloccina "View oloccina's Profile") Topic Author
- [ Offline](/forum/user/23273-oloccina)

Less More

- Posts: 224
- Thank you received: 8
-
-

8 years 1 month ago -  8 years 1 month ago [\#299540](#299540) by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile")  *[Gift certificate and attach serial plugin: some questions](/forum/58-hikasubscription/896041-gift-certificate-and-attach-serial-plugin-some-questions#299540 "Hello, I am reading your documentation trying to understand how to create gift certificates. But before moving on I'd like to undertand this:  -how to connect a gift certificate to a certain product? I am not sure to understand where to put these variables: Dynamic text   www.hikashop.com/product/{order&#95;product....t.order&#95;product&#95;code }   www.hikashop.com/product/{order&#95;product.product&#95;id } described here   www.hikashop.com/support/documentation/1...ns-attachserial.html  - is it possible to add in the coupon also some custom text for thespecific product the coupon si attached to?  - is it possible for the user to directly send the gift certificate to someone else during the order? (guess not, but I have to ask)  Thank you")* was created by *[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")*

Hello,
I am reading your documentation trying to understand how to create gift certificates.
But before moving on I'd like to undertand this:

**-how to connect a gift certificate to a certain product?**
I am not sure to understand where to put these variables:
Dynamic text
[ www.hikashop.com/product/{order\_product....t.order\_product\_code](http://www.hikashop.com/product/{order_product.product_id}-{order_product.order_product_code)}
[ www.hikashop.com/product/{order\_product.product\_id](http://www.hikashop.com/product/{order_product.product_id)}
described here [ www.hikashop.com/support/documentation/1...ns-attachserial.html](https://www.hikashop.com/support/documentation/152-hikaserial-plugins-attachserial.html)

**- is it possible to add in the coupon also some custom text for thespecific product the coupon si attached to?**

**- is it possible for the user to directly send the gift certificate to someone else during the order?** (guess not, but I have to ask)

Thank you

Last edit: 8 years 1 month ago by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile").

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

8 years 1 month ago [\#299554](#299554) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Gift certificate and attach serial plugin: some questions](/forum/58-hikasubscription/896041-gift-certificate-and-attach-serial-plugin-some-questions#299554 "Hello, I am reading your documentation trying to understand how to create gift certificates. But before moving on I'd like to undertand this:  -how to connect a gift certificate to a certain product? I am not sure to understand where to put these variables: Dynamic text   www.hikashop.com/product/{order&#95;product....t.order&#95;product&#95;code }   www.hikashop.com/product/{order&#95;product.product&#95;id } described here   www.hikashop.com/support/documentation/1...ns-attachserial.html  - is it possible to add in the coupon also some custom text for thespecific product the coupon si attached to?  - is it possible for the user to directly send the gift certificate to someone else during the order? (guess not, but I have to ask)  Thank you")*

Hello,

1 - It is not really "gift certificate" but more the "coupon generator" that you want to look at :
[ www.hikashop.com/support/documentation/1...ugins-coupongen.html](https://www.hikashop.com/support/documentation/139-hikaserial-plugins-coupongen.html)

Via the "coupon template" you can define what would be restrictions of the generated coupons.
But you cannot access to that information within the attach serial plugin. You can only know what is the product the customer bought.

2 - Yes, you can display "product...." field for the product that the customer bought (and is the product which is link to the HikaSerial pack).

3 - Yes, you have to use the plugin "mail to custom field" and use an HikaShop "order/item custom field" to let the customer enter the email address.
[ www.hikashop.com/support/documentation/3...iltocustomfield.html](https://www.hikashop.com/support/documentation/345-hikaserial-plugins-mailtocustomfield.html)

Regards,

---

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

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

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

- **[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")**
- [![oloccina's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23273.jpg)](/forum/user/23273-oloccina "View oloccina's Profile") Topic Author
- [ Offline](/forum/user/23273-oloccina)

Less More

- Posts: 224
- Thank you received: 8
-
-

8 years 1 month ago -  8 years 1 month ago [\#299595](#299595) by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile")  Replied by *[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")* on topic *[Gift certificate and attach serial plugin: some questions](/forum/58-hikasubscription/896041-gift-certificate-and-attach-serial-plugin-some-questions#299595 "Hello, I am reading your documentation trying to understand how to create gift certificates. But before moving on I'd like to undertand this:  -how to connect a gift certificate to a certain product? I am not sure to understand where to put these variables: Dynamic text   www.hikashop.com/product/{order&#95;product....t.order&#95;product&#95;code }   www.hikashop.com/product/{order&#95;product.product&#95;id } described here   www.hikashop.com/support/documentation/1...ns-attachserial.html  - is it possible to add in the coupon also some custom text for thespecific product the coupon si attached to?  - is it possible for the user to directly send the gift certificate to someone else during the order? (guess not, but I have to ask)  Thank you")*

> 3 - Yes, you have to use the plugin "mail to custom field" and use an HikaShop "order/item custom field" to let the customer enter the email address.
> [ www.hikashop.com/support/documentation/3...iltocustomfield.html](http://www.hikashop.com/support/documentation/3...iltocustomfield.html)

Looking into this right now.
What I don't understand is how I create this custom field and attach it to a certain product (gift card).
In the single product config interface under "custom fields" I just see a setting "user group after".
I don't think I have to operate in the main "custom fields" interface (/index.php?option=com_hikashop&amp;ctrl=field) as that would make the field visible for all orders, isn't it?

Thanks

Last edit: 8 years 1 month ago by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile").

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

8 years 1 month ago [\#299601](#299601) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Gift certificate and attach serial plugin: some questions](/forum/58-hikasubscription/896041-gift-certificate-and-attach-serial-plugin-some-questions#299601 "Hello, I am reading your documentation trying to understand how to create gift certificates. But before moving on I'd like to undertand this:  -how to connect a gift certificate to a certain product? I am not sure to understand where to put these variables: Dynamic text   www.hikashop.com/product/{order&#95;product....t.order&#95;product&#95;code }   www.hikashop.com/product/{order&#95;product.product&#95;id } described here   www.hikashop.com/support/documentation/1...ns-attachserial.html  - is it possible to add in the coupon also some custom text for thespecific product the coupon si attached to?  - is it possible for the user to directly send the gift certificate to someone else during the order? (guess not, but I have to ask)  Thank you")*

Hello,

[ www.hikashop.com/support/documentation/1...shop-field-form.html](https://www.hikashop.com/support/documentation/10-documentation/hikashop/42-hikashop-field-form.html)

You have settings in HikaShop to restrict item/order custom field to specific product categories.
You just have to create a "text" field for the address.

Regards,

---

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

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

- **[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")**
- [![oloccina's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar23273.jpg)](/forum/user/23273-oloccina "View oloccina's Profile") Topic Author
- [ Offline](/forum/user/23273-oloccina)

Less More

- Posts: 224
- Thank you received: 8
-
-

8 years 1 month ago [\#299667](#299667) by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile")  Replied by *[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")* on topic *[Gift certificate and attach serial plugin: some questions](/forum/58-hikasubscription/896041-gift-certificate-and-attach-serial-plugin-some-questions#299667 "Hello, I am reading your documentation trying to understand how to create gift certificates. But before moving on I'd like to undertand this:  -how to connect a gift certificate to a certain product? I am not sure to understand where to put these variables: Dynamic text   www.hikashop.com/product/{order&#95;product....t.order&#95;product&#95;code }   www.hikashop.com/product/{order&#95;product.product&#95;id } described here   www.hikashop.com/support/documentation/1...ns-attachserial.html  - is it possible to add in the coupon also some custom text for thespecific product the coupon si attached to?  - is it possible for the user to directly send the gift certificate to someone else during the order? (guess not, but I have to ask)  Thank you")*

Thank you,
I didn't realize you had to choose "entry" and then save the field before those restirctions options wold become available.

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

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