Skip to content

Instantly share code, notes, and snippets.

@SeanChDavis
Created December 27, 2016 16:42
Show Gist options
  • Select an option

  • Save SeanChDavis/5111f99ebb3ae91a4e35e3c279a32ecf to your computer and use it in GitHub Desktop.

Select an option

Save SeanChDavis/5111f99ebb3ae91a4e35e3c279a32ecf to your computer and use it in GitHub Desktop.
EDD CSV Coupon Importer Sample
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 15 columns, instead of 16 in line 1.
discount_name,code,type,starts,ends,status,uses,max uses,amount,min price,product requirements,product condition,is not global,is single use,
Discount 1,TESTCODE1,percentage,2012-11-01 01:01:01,2014-11-01 01:01:01,active,1,100,20,$10.00,0,0,0,1, ,
Discount 2,TESTCODE2,percentage,2012-11-01 01:01:01,2014-11-01 01:01:01,active,1,100,20%,10,8,0,0, ,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment