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

#   Coupon generator help

##

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

Less More

- Posts: 187
- Thank you received: 10
-
-

13 years 9 months ago [\#88443](#88443) by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")  *[Coupon generator help](/forum/17-serial-how-to/78022-coupon-generator-help#88443 "I need a little more help to understand the coupon generation system.  I found the way to use a Hikashop coupon as template and generate a bunch of them in the Hikashop Couponlist.  Now I need to assign a range of 100% discount coupons to one product to give away items.  In this case we don't need a Hikashop coupon as template or is this mandatory? I create with the coupon generator plug in a setting: Lets call it FREE, put in 100% discount, 30 days and length 10 Then create a pack, call it FREE , use the coupongen FREE from the plugin, activate and save. Then generate 10 serials that show up in the serials list. Seems ok so far. But than I go to an article in HShop and assign this create pack to it. This then also shows up in Hserial.  But when I try to use this code in the front end it says 'invalid code'.  Please tell me where it went wrong.")* was created by *[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")*

I need a little more help to understand the coupon generation system.

I found the way to use a Hikashop coupon as template and generate a bunch of them in the Hikashop Couponlist.

Now I need to assign a range of 100% discount coupons to one product to give away items.

In this case we don't need a Hikashop coupon as template or is this mandatory?
I create with the coupon generator plug in a setting: Lets call it FREE, put in 100% discount, 30 days and length 10
Then create a pack, call it FREE , use the coupongen FREE from the plugin, activate and save. Then generate 10 serials that show up in the serials list. Seems ok so far.
But than I go to an article in HShop and assign this create pack to it. This then also shows up in Hserial.

But when I try to use this code in the front end it says 'invalid code'.

Please tell me where it went wrong.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vNzgwMjItY291cG9uLWdlbmVyYXRvci1oZWxwP3RtcGw9bWFya2Rvd24=) 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 9 months ago -  13 years 9 months ago [\#88449](#88449) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Coupon generator help](/forum/17-serial-how-to/78022-coupon-generator-help#88449 "I need a little more help to understand the coupon generation system.  I found the way to use a Hikashop coupon as template and generate a bunch of them in the Hikashop Couponlist.  Now I need to assign a range of 100% discount coupons to one product to give away items.  In this case we don't need a Hikashop coupon as template or is this mandatory? I create with the coupon generator plug in a setting: Lets call it FREE, put in 100% discount, 30 days and length 10 Then create a pack, call it FREE , use the coupongen FREE from the plugin, activate and save. Then generate 10 serials that show up in the serials list. Seems ok so far. But than I go to an article in HShop and assign this create pack to it. This then also shows up in Hserial.  But when I try to use this code in the front end it says 'invalid code'.  Please tell me where it went wrong.")*

Hi,

A template coupon is always required for the coupon generator.
The plugin would copy the template coupon and change some values. For the moment, the plugin could not generate a full coupon itself.

The "variable discount" is a percentage of the linked product price.

> Variable discount - If not empty, it would override the coupon flat amount by the percentage of the linked product price.

So it would not create a 100% discount coupon. This option allow to create a variable discount price ; depending on the linked product.

Regards,

---

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

Last edit: 13 years 9 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 187
- Thank you received: 10
-
-

13 years 9 months ago [\#88453](#88453) by [zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")  Replied by *[zebrafilm](/forum/user/6308-zebrafilm "View zebrafilm's Profile")* on topic *[Coupon generator help](/forum/17-serial-how-to/78022-coupon-generator-help#88453 "I need a little more help to understand the coupon generation system.  I found the way to use a Hikashop coupon as template and generate a bunch of them in the Hikashop Couponlist.  Now I need to assign a range of 100% discount coupons to one product to give away items.  In this case we don't need a Hikashop coupon as template or is this mandatory? I create with the coupon generator plug in a setting: Lets call it FREE, put in 100% discount, 30 days and length 10 Then create a pack, call it FREE , use the coupongen FREE from the plugin, activate and save. Then generate 10 serials that show up in the serials list. Seems ok so far. But than I go to an article in HShop and assign this create pack to it. This then also shows up in Hserial.  But when I try to use this code in the front end it says 'invalid code'.  Please tell me where it went wrong.")*

OK thanks that is mostly clear.

So what is the best way to generate 100% free gift serials for one product? (bit confused with your last sentence about 100% not being 100% ![:-(](/media/kunena/emoticons/22.png ":-(") )

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vNzgwMjItY291cG9uLWdlbmVyYXRvci1oZWxwP3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#88468](#88468) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Coupon generator help](/forum/17-serial-how-to/78022-coupon-generator-help#88468 "I need a little more help to understand the coupon generation system.  I found the way to use a Hikashop coupon as template and generate a bunch of them in the Hikashop Couponlist.  Now I need to assign a range of 100% discount coupons to one product to give away items.  In this case we don't need a Hikashop coupon as template or is this mandatory? I create with the coupon generator plug in a setting: Lets call it FREE, put in 100% discount, 30 days and length 10 Then create a pack, call it FREE , use the coupongen FREE from the plugin, activate and save. Then generate 10 serials that show up in the serials list. Seems ok so far. But than I go to an article in HShop and assign this create pack to it. This then also shows up in Hserial.  But when I try to use this code in the front end it says 'invalid code'.  Please tell me where it went wrong.")*

Hi,

You can create a coupon template for the 100% discount on your selected product.
HikaSerial would simply copy the template.

Just let the variable discount empty and it would not override the coupon price value.

Regards,

---

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

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

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