Generating a large number of vouchers

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 1 month ago #27164

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 or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 1 month ago #27173

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 :/

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 or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum