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

#   How to sell a gift certificate?

##

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

Less More

- Posts: 70
- Thank you received: 3
-
-
- [](http://apestaart.info)
-

14 years 6 months ago [\#50443](#50443) by [niqui](/forum/user/2055-niqui "View niqui's Profile")  *[How to sell a gift certificate?](/forum/17-serial-how-to/50443-how-to-sell-a-gift-certificate#50443 "I just bought HikaSerial to create gift cards for a shop (I assume that is what you mean with gift certificates?) I want to sell a gift card, buyer gets a coupon code (serial?) that he can send to someone to use in the shop.  But I can't figure out how to do this. How to get started? What needs te be configured in HikaSerial and what in Hikashop? I'm totally confused by the serials and packs, and how to use it as a product that can be sold.  Please help me to get started :side:")* was created by *[niqui](/forum/user/2055-niqui "View niqui's Profile")*

I just bought HikaSerial to create gift cards for a shop (I assume that is what you mean with gift certificates?) I want to sell a gift card, buyer gets a coupon code (serial?) that he can send to someone to use in the shop.

But I can't figure out how to do this. How to get started? What needs te be configured in HikaSerial and what in Hikashop? I'm totally confused by the serials and packs, and how to use it as a product that can be sold.

Please help me to get started :side:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vNTA0NDMtaG93LXRvLXNlbGwtYS1naWZ0LWNlcnRpZmljYXRlP3RtcGw9bWFya2Rvd24=) 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: 4080
-
- [](http://obsi.dev)
-

14 years 6 months ago [\#50444](#50444) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: How to sell a gift certificate?](/forum/17-serial-how-to/50443-how-to-sell-a-gift-certificate#50444 "I just bought HikaSerial to create gift cards for a shop (I assume that is what you mean with gift certificates?) I want to sell a gift card, buyer gets a coupon code (serial?) that he can send to someone to use in the shop.  But I can't figure out how to do this. How to get started? What needs te be configured in HikaSerial and what in Hikashop? I'm totally confused by the serials and packs, and how to use it as a product that can be sold.  Please help me to get started :side:")*

Hi,

[ [ www.hikashop.com/fr/hikashop/107-hikaserial-welcome.html](http://www.hikashop.com/fr/hikashop/107-hikaserial-welcome.html) ]

A serial is a unique data which is assigned to a customer (and to his order) when he buy a special product.
A pack is a collection (a group, a list) of serials.

A serial is like a HikaShop product and a pack is like a HikaShop category.

I think that you want to create a pack "Gift certificate" and use the "coupon generator".
First, create the HikaShop discount which would be used as reference.
After that, create a "coupon generator" and fill the parameters:
[ ![coupongenerator&#95;01.png](/forum/attachment/3868) ](/forum/attachment/3868 "...nerator&#95;01.png")

When the generator is configured, you would have the possibility to attached it to a pack.
[ ![coupongenerator&#95;02.png](/forum/attachment/3869) ](/forum/attachment/3869 "...nerator&#95;02.png")

After the pack configuration, you would have to configure the link between a product and the pack.
In the product page, the "Serials" zone would be accessible:
[ ![coupongenerator&#95;03.png](/forum/attachment/3870) ](/forum/attachment/3870 "...nerator&#95;03.png")

The documentation is not yet finished and I will write more examples (and include more pictures).

Regards,

---

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

- [ ![coupongenerator&#95;01.png](/forum/attachment/3868) ](/forum/attachment/3868 "...nerator&#95;01.png") [ ](/forum/attachment/3868?download=1 "...nerator&#95;01.png")
- [ ![coupongenerator&#95;02.png](/forum/attachment/3869) ](/forum/attachment/3869 "...nerator&#95;02.png") [ ](/forum/attachment/3869?download=1 "...nerator&#95;02.png")
- [ ![coupongenerator&#95;03.png](/forum/attachment/3870) ](/forum/attachment/3870 "...nerator&#95;03.png") [ ](/forum/attachment/3870?download=1 "...nerator&#95;03.png")

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

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

Less More

- Posts: 70
- Thank you received: 3
-
-
- [](http://apestaart.info)
-

14 years 5 months ago [\#51033](#51033) by [niqui](/forum/user/2055-niqui "View niqui's Profile")  Replied by *[niqui](/forum/user/2055-niqui "View niqui's Profile")* on topic *[Re: How to sell a gift certificate?](/forum/17-serial-how-to/50443-how-to-sell-a-gift-certificate#51033 "I just bought HikaSerial to create gift cards for a shop (I assume that is what you mean with gift certificates?) I want to sell a gift card, buyer gets a coupon code (serial?) that he can send to someone to use in the shop.  But I can't figure out how to do this. How to get started? What needs te be configured in HikaSerial and what in Hikashop? I'm totally confused by the serials and packs, and how to use it as a product that can be sold.  Please help me to get started :side:")*

Ok, thanks so far. I managed to create a product that generates a coupon code.

Now I'm running into three other problems.

1. The coupon is generated, but not sent by e-mail to the buyer. How can I make that happen?
2. I can use the coupon more than once, obviously that's not how it's supposed to be.
3. The coupon doesn't work on the shipping costs. So I have a coupon worth 25,-. I buy a product that costs 20,- and have to pay 5,- for shipping, I want to be able to use the coupon for the whole amount and not only for the product.

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vNTA0NDMtaG93LXRvLXNlbGwtYS1naWZ0LWNlcnRpZmljYXRlP3RtcGw9bWFya2Rvd24=) 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: 4080
-
- [](http://obsi.dev)
-

14 years 5 months ago [\#51036](#51036) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: How to sell a gift certificate?](/forum/17-serial-how-to/50443-how-to-sell-a-gift-certificate#51036 "I just bought HikaSerial to create gift cards for a shop (I assume that is what you mean with gift certificates?) I want to sell a gift card, buyer gets a coupon code (serial?) that he can send to someone to use in the shop.  But I can't figure out how to do this. How to get started? What needs te be configured in HikaSerial and what in Hikashop? I'm totally confused by the serials and packs, and how to use it as a product that can be sold.  Please help me to get started :side:")*

Hi,

In the "order_creation_notification" email, you would find this block: Code:

&lt;?php JPluginHelper::importPlugin('hikashop'); $dispatcher =&amp; JDispatcher::getInstance(); $dispatcher-&gt;trigger('onAfterOrderProductsListingDisplay', array(&amp;$data-&gt;cart, 'email_notification_html')); ?&gt;

HikaSerial trigger this event and display the serial data if some serials are attached.
When the "creation" email is sent, the order could not be confirmed. So there is no serial attached.
You can use the "order_status_notification" instead but in the current version of HikaShop, the block is not include. You have to add it.

About the coupon, when you create the discount in HikaShop you can set a Quota (and a Quote per user).
Just set the quota to 1 and would be use only once. Each time HikaSerial create a coupon, it will make a copy of your "template" coupon.
Coupons are added to the cart before the shipping so it's not possible for now

---

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

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

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