Zen Cart Logo

Coupons...mass upload

Locked

Views: 2,291

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
6 Sep 2006, 9:32 PM
#1
stevehare avatar

stevehare

Zen Follower

Join Date:
Dec 2005
Posts:
108
Plugin Contributions:
0

Coupons...mass upload

I have 8,000+ coupon codes to upload for a client.

I'm hoping there is a way to upload those codes from a spreadsheet directly into the mysql database/table.

Can anyone offer some suggestions?

7 Sep 2006, 3:00 PM
#2
stevehare avatar

stevehare

Zen Follower

Join Date:
Dec 2005
Posts:
108
Plugin Contributions:
0

Re: Coupons...mass upload

I was able to import my data...but I still have a problem.

The start and expire dates are incorrect.

Is there a way through PHPMYADMIN to change each record to reflect the correct dates (I know I can change each one individually, but I need to make mass changes).

7 Sep 2006, 5:00 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Coupons...mass upload

stevehare:

Is there a way through PHPMYADMIN to change each record to reflect the correct dateswhat exactly do you mean by "correct dates"? What logic is used to determine what is correct or not?

What format were the dates in before you uploaded them?

The database wants date-time values as: 2006-09-07 09:00:00

7 Sep 2006, 5:46 PM
#4
stevehare avatar

stevehare

Zen Follower

Join Date:
Dec 2005
Posts:
108
Plugin Contributions:
0

Re: Coupons...mass upload

The dates were showing up in the admin as 2037-11-30.

In the db they were 0000-00-00.

I have fixed the issue...it was a format problem on my spreadsheet.

Thanks!