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

#   Generating a large number of vouchers

##

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

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 3 weeks ago [\#27164](#27164) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  *[Generating a large number of vouchers](/forum/2-general-talk-about-hikashop/27164-generating-a-large-number-of-vouchers#27164 "How about an admin screen for automatically generating a large number of vouchers in bulk?  Admin screen would work like this:  Button to export all the vouchers generated by above (including date used) as a CSV file.  A separate backend process would be used for printing vouchers from the CSV file. The printed vouchers could then the handed out / attached to other products at physical point of sale checkout.")* was created by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")*

How about an admin screen for automatically generating a large number of vouchers in bulk?

Admin screen would work like this:

> Enter voucher code prefix.
> Enter length of voucher code (prefix + random alphanumeric value).
> Number of vouchers to be generated.
> Other voucher options (default to use once only).

Button to export all the vouchers generated by above (including date used) as a CSV file.

A separate backend process would be used for printing vouchers from the CSV file. The printed vouchers could then the handed out / attached to other products at physical point of sale checkout.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI3MTY0LWdlbmVyYXRpbmctYS1sYXJnZS1udW1iZXItb2Ytdm91Y2hlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

15 years 3 weeks ago [\#27173](#27173) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Generating a large number of vouchers](/forum/2-general-talk-about-hikashop/27164-generating-a-large-number-of-vouchers#27173 "How about an admin screen for automatically generating a large number of vouchers in bulk?  Admin screen would work like this:  Button to export all the vouchers generated by above (including date used) as a CSV file.  A separate backend process would be used for printing vouchers from the CSV file. The printed vouchers could then the handed out / attached to other products at physical point of sale checkout.")*

That's indeed a great idea and something we have in the todo list. It's however a low priority for now as you can already do it using the integration with AcyMailing by sending a fake newsletter with a coupon tag which will generate the coupons when the newsletter is sent (you need to comment the send function in order to not really send the emails in the code of AcyMailing). It's not pretty but it does the job for now ![:/](/irritated.gif ":/")

Exporting the coupons can be done in phpmyadmin by exporting the column discount_code of the table hikashop_discount as a CSV. Then, you can print the CSV with excel.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI3MTY0LWdlbmVyYXRpbmctYS1sYXJnZS1udW1iZXItb2Ytdm91Y2hlcnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.085 seconds

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