
Originally Posted by
snowkrash
Each person buys a Groupon on Groupon's site, pays something like $20 for $40 worth of goods/services and is given a unique coupon code by Groupon. Groupon gives us the csv file with a column of hundreds of codes they have given the purchasers already, and a column of the full names of the purchaser of each code. It also has a column for whether or not the coupon has been redeemed. These people are not necessarily customers of ours yet, and will not have an account with us, so I am guessing I am not importing their names, only the coupon codes.
So, how does this sound - do I have to make columns in the csv file that correspond to the table columns adding all the correct values in the csv file, then import the whole file?
There is a table column in there about whether or not it is restricted for use with a category (we DO want this, the Groupon is only available for Classes we offer, not for products, and we have Classes set up as one category with an id of 15) - I have tried putting the number "15" into that database field for the manual test I created using the interface, but that did not work. I tried typing the name of the category in all caps, then I tried all lowercase, then I tried exactly as it appears, capitalized, none of these worked - it seems I can only import all this stuff and MANUALLY add the category restriction on each one using the coupon admin area in Zen Cart once the import happens?! That can't be right, but once I did manually add the category restriction in the admin, the database table reflected a blank entry - not null, nothing is in that DB field even though the restriction does work in practice. So, it would seem that nothing I could import into those fields of the DB would work - does that sound right?
If I get 10000 groupon sales, it is not acceptable that I would have to manually go through each one after importing the rest of the info into the database, and manually add the category restriction - does anyone know of a solution for this?
ANY help is appreciated - the Groupon goes live on Friday - TWO DAYS from now and I need to be able to quickly import the info on Saturday so people can use it on SUNDAY.
Thank you!
I'm on Zen Cart 1.3.7
Bookmarks