We're using latest CB and CB Subs and wondering how is it possible to batch create coupon codes.
We do want to create 5000 coupon codes which each one of them can only be used once. From the CB Subs backend it seems only possible to create one coupon code which can be used 5000 times.
Is it somehow possible to batch create coupon codes which can only be used once?
Are the 5000 coupons different in any way beyond coupon code? If not there's no real reason to create 5000 unique coupons. Instead it'd be best to use a single coupon that can be used 5000 times. I recommend the below to ensure it's only used once per user as well.
Maximum uses in total (0=unlimited): 5000
Maximum uses per customer (0=unlimited): 1
If you are still needing to create 5000 coupons I recommend first creating 1 then creating them directly in the database. Specifically see the _cbsubs_promotions table. Easiest approach is probably a CSV export using phpmyadmin then you can use any CSV editor to add new rows, etc..
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.