# CSV Coupon Importer

Easy Digital Downloads has a very nice interface for creating Discount Codes, but entering many of them at once can be time consuming. The [CSV Coupon Importer](https://easydigitaldownloads.com/downloads/csv-coupon-importer/) allows you to import many of them at once from a CSV file.


### Configuration Instructions for CSV Coupon Importer

1. 1. Once [installed](https://easydigitaldownloads.com/docs/how-do-i-install-an-extension/), locate the settings for this extension via ***WordPress admin → Downloads → Settings → Extensions** **→ Coupon Importer***
    2. The first step is to map your CSV columns to Discount Code values.

![](https://easydigitaldownloads.com/wp-content/uploads/2022/07/6184cca2c7499.png)1. Find the section titled ***CSV Coupon Import Mapping*** and for each Discount Code value choose the column that matches.

Here&#039;s an example of a CSV file in a spreadsheet application: ![](https://easydigitaldownloads.com/wp-content/uploads/2022/07/6184cca3453fe.png)Here&#039;s the mapping interface to match that CSV data: ![](https://easydigitaldownloads.com/wp-content/uploads/2022/07/6184cca3713ff.png)Each field will tell you what kind of data needs to be there, whether it&#039;s a specific word like &quot;flat&quot; or a boolean value like 0 or 1. When you&#039;ve finished mapping the values, click ***Save Changes*** at the bottom of the page. ### Usage

Once your columns are mapped properly go to ***Downloads →** **Import Coupons***. There you may choose your input file that you wish to import. #### Validation

Before committing to the import you may choose ***Validate File Only***. This will check your file for problems, so that you can fix them before actually importing. ![](https://easydigitaldownloads.com/wp-content/uploads/2022/07/6184cca3b670b.png)#### Import File

Once your file has validated you can choose Import File with the validator checkbox unchecked and your coupons will import. ### Potential Issues

It&#039;s possible to try to import so many items at once that your server will time out. Each server has a different timeout setting; you&#039;ll need to experiment with yours. When it times out, it will have successfully imported a number of discount codes, so you should check to see how many worked.