Import predefined coupon codes into WooCommerce and use them for branded PDF gift cards, service vouchers, discounts, or event-related products. The Coupon Codes Import add-on for Flexible PDF Coupons PRO replaces repetitive manual setup with reusable code lists, making larger and partner-led campaigns easier to manage.
This guide explains how the WooCommerce coupon importer works, which file formats it supports, and how to assign imported codes to coupon products in Flexible PDF Coupons PRO.
What is the coupon importer for Flexible PDF Coupons PRO?
Coupon Codes Import is an add-on for Flexible PDF Coupons PRO for WooCommerce. It allows store owners to upload lists of predefined codes and use them when generating PDF coupons.
The importer supports the following file formats:
- CSV
- XLS
- XLSX
- ODS

Instead of relying only on automatically generated codes, you can connect an imported list to a selected coupon product. When the PDF coupon is generated, our plugin takes an available code from that list and creates the corresponding WooCommerce coupon associated with the voucher.
This workflow is useful when codes have already been prepared by a marketplace, campaign partner, venue, supplier, or another department in your business. It also helps when codes need to follow an established naming structure.
Why import coupon code lists into WooCommerce?
Creating coupons in WooCommerce one by one becomes inefficient when a campaign requires dozens or hundreds of unique codes. The importer lets you prepare or receive the list outside WordPress and upload it in one operation.
This provides several practical benefits:
- Less manual work: you do not need to enter every code separately.
- Consistent code structure: imported codes can follow internal or partner requirements.
- Fewer data-entry mistakes: bulk import reduces repetitive copying and editing.
- Separate campaign pools: different lists can be assigned to different coupon products.
- Visible code usage: the interface shows how many codes from each list have been used for coupon generation.
Flexible PDF Coupons can also generate codes according to the configured coupon code structure. The Coupon Codes Import add-on is an alternative for campaigns where the codes must be supplied in advance.
How to import coupon codes into Flexible PDF Coupons PRO
Before starting, prepare a supported file containing the predefined codes. Review it for duplicate values, unwanted spaces, and empty rows so that the resulting list is easier to manage.
- In WordPress, go to PDF Coupons > Settings > Coupon > Predefined coupon codes.
- Select the CSV, XLS, XLSX, or ODS file containing your codes.
- Configure the available import settings.
- Run the import and review the resulting code list.
- Edit the relevant WooCommerce PDF coupon product.
- Assign the imported code list to the product.
- Save the settings and place a test order.
You can create more than one imported list. This allows you to keep codes for separate products, partners, locations, venues, or promotions apart instead of managing every campaign in one shared pool.
Assigning an imported list to a coupon product
Importing a file creates the code pool, but the list must still be connected to the correct coupon product. Open the product settings and select the predefined list that should supply its codes.

This product-level configuration is particularly useful when your store sells several types of gift cards or vouchers. For example, a retail gift card can use one list while a service voucher or venue campaign uses another.
Managing imported WooCommerce coupon codes
The importer provides a central view of predefined code lists and indicates how many codes have already been used for coupon generation. Store managers can monitor the available pool and prepare another file before the current list is exhausted.

The add-on also skips duplicate coupon codes rather than overwriting existing ones. This matters when you import an updated file or work with lists received from an external campaign partner.
Remember that the used-code counter relates to codes allocated during coupon generation. It is not the same as a report showing how many coupons customers have redeemed at checkout.
Can imported WooCommerce coupons be customized?
Yes. Importing determines where the coupon code comes from, while the coupon product and PDF template control how the voucher works and appears.
You can prepare a branded PDF design containing the information needed by the recipient. Depending on your Flexible PDF Coupons configuration, the template can include customized text, colors, images, layouts, recipient details, and a personal message. Coupon settings can also define the relevant value, validity, and redemption conditions.
The result can be adapted to several product types, including:
- PDF gift cards for retail and online stores.
- Printable service vouchers for salons, spas, gyms, and other service businesses.
- Promotional coupons linked to predefined partner campaigns.
- Service credits that customers can redeem under configured conditions.
- PDF event-related products for organizers and venues.
The code source and visual design remain separate parts of the workflow. This gives you control over the campaign code pool while allowing the customer-facing PDF to match your brand and clearly explain the voucher’s purpose.
WooCommerce coupon importer use cases
A coupon importer for WooCommerce is especially useful when an existing promotion or external process already determines which codes must be used.
- Retail promotions: upload an approved set of codes for a seasonal or product-specific campaign.
- Partner campaigns: import codes supplied by a marketplace, supplier, or promotional partner.
- Salons and spas: issue service vouchers based on an existing code pool.
- Gyms and fitness businesses: distribute predefined codes for classes, services, or promotional credits.
- Events and venues: connect supplied codes with PDF vouchers or event-related products.
- Offline promotions: coordinate structured codes used across printed and online campaign materials.
- Customer retention campaigns: maintain separate lists for selected customer groups or promotions.
For example, if a partner sends a spreadsheet containing 500 campaign codes, you can import the file, assign the resulting list to the appropriate product, and let Flexible PDF Coupons use available codes as vouchers are generated. There is no need to create all 500 WooCommerce coupons manually in advance.
Preparing a reliable coupon import file
A clean source file makes the import easier to review and reduces avoidable issues during campaign setup. Before uploading it, check the following:
- Use one of the supported file formats: CSV, XLS, XLSX, or ODS.
- Remove blank rows and unnecessary spaces.
- Check for repeated codes within the source file.
- Confirm that the list belongs to the intended product or campaign.
- Keep an original copy of the file for internal reference.
- Start with a small test list when setting up a new workflow.
If several teams or partners supply codes, use clear internal file names and separate imported lists. This makes it easier to identify the correct pool when configuring the coupon product.
Frequently asked questions about importing coupon codes
Can I import codes that already exist in WooCommerce?
The importer skips duplicate coupon codes instead of overwriting existing ones. Even so, reviewing the source file and testing a small import first is a sensible precaution.
Do imported codes work in the standard WooCommerce coupon field?
Yes. Coupons generated with the imported codes are WooCommerce coupons. Recipients can enter the code in the standard coupon field during checkout, subject to the configured validity and restrictions.
Does importing a file immediately create every WooCommerce coupon?
No. The imported file supplies a pool of predefined codes. Codes from that pool are used by the configured Flexible PDF Coupons product when coupons are generated. This avoids creating every coupon before it is needed.
Can different products use different code lists?
Yes. You can create multiple predefined lists and select the appropriate one in the settings of a specific coupon product. This helps prevent codes from separate campaigns from being mixed.
Can I still use automatically generated coupon codes?
Yes. The importer is intended for workflows that require predefined codes. Flexible PDF Coupons can also use its configured code generation structure when a supplied code list is not required.
Is Coupon Codes Import included in the free plugin?
No. Coupon Codes Import requires Flexible PDF Coupons PRO and is provided as a separate add-on.
Flexible PDF Coupons PRO – Coupon Codes Import
Import predefined coupon codes from CSV, XLS, XLSX, and ODS files, then assign a selected list to a Flexible PDF Coupons PRO product.
Flexible Coupons
Key takeaways
- Use the importer when you already have predefined WooCommerce coupon codes in a supported file.
- Choose it for larger campaigns that would be inefficient to configure code by code.
- Create separate lists for different products, partners, venues, or promotions.
- Assign each imported list to the correct Flexible PDF Coupons product.
- Monitor how many codes have been used for coupon generation.
- Do not confuse generated-code usage with completed checkout redemptions.
- Test the PDF, delivery, restrictions, validity, and redemption process before launch.
- Remember that the add-on requires Flexible PDF Coupons PRO and is not included in the free plugin.
Summary: when to use the Flexible PDF Coupons PRO importer
The coupon importer for Flexible PDF Coupons PRO WooCommerce provides a practical way to combine externally prepared codes with branded PDF gift cards, service vouchers, promotional coupons, and event-related products. It reduces repetitive setup while preserving control over separate code pools and product assignments.
Use it when your campaign depends on predefined codes supplied in CSV, XLS, XLSX, or ODS format. If your workflow needs other capabilities, you can also review our Flexible Coupons add-ons for additional delivery, template, ticket, and multi-PDF options.
