Requirements#
How It Works#

This add-on lets you upload a file containing a list of coupon codes. These codes will be used automatically when generating PDF coupons through Flexible Coupons PRO.
Go to PDF Coupons → Settings → Coupon tab, where you can:
- Upload multiple files, each containing a different list of coupon codes.
- Each file shows:
- The original filename
- The upload date
- The number of codes available and used (e.g.
0/127)
- Uploaded files can be:
- Overwritten — if you want to refresh or replace used codes
- Deleted — if no longer needed
Assigning Coupon Code Lists to Products#

In the product edit screen (WooCommerce → Products → Edit), under the Product data → PDF Coupon tab, you will find a new setting:
Select Import: This dropdown allows you to choose a file from your uploaded coupon code lists. This list will be used when generating PDF coupons for this product.
This way, different products can use different sets of codes — making the solution flexible and suitable for many business cases.
File Format#
Files must be saved in CSV, TSV, or similar text-based spreadsheet formats. Make sure:
- The first column contains the coupon codes
- Each code is placed in a separate row
- There are no empty rows or malformed data
Only the first column will be used — all other columns will be ignored.
Tips#
- Use clear filenames to distinguish between different code sets.
- Overwrite files regularly if you run out of available codes.
- Track the number of used codes to manage your stock effectively.
Troubleshooting#
- No codes are used? Make sure the file is selected in the product settings and contains valid codes in the first column.
- File won’t upload? Check the format. Use CSV, XLS, XLSX, ODS files only.
- Codes not applied correctly? Ensure the product is connected to the correct import file and that the file contains unused codes.
Need Help?#
If you encounter any issues, please contact our support team via flexiblecoupons.net/support