If this is your first visit, check our documentation. To post, register or login.

Specials Turn Off Automatically

Locked

Started by repairman on 7 Aug 2006, 10:59 PM · Views: 2,709

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Aug 2006, 10:59 PM
#1
repairman avatar

repairman

New Zenner

Join Date:
Jul 2006
Posts:
33
Plugin Contributions:
0

Post #1 by repairman

Hi.

I have written a program that creates an sql file to insert all my products from file into the database. Every product has a special price.

When I import the sql file, the status of all specials is 1 - active, however, as soon as I go into the Admin section, the status of all specials is set to 0 - inactive.

Does anyone know why this could be?

Thanks.

7 Aug 2006, 11:30 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

What are the dates in the specials table for:
specials_date_available
expires_date

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Aug 2006, 11:36 PM
#3
repairman avatar

repairman

New Zenner

Join Date:
Jul 2006
Posts:
33
Plugin Contributions:
0

Post #3 by repairman

Thanks for the reply.

specials_date_available: 0000-00-00
expires_date: 0000-00-00

This is for all records.

7 Aug 2006, 11:39 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

Those are incorrect dates and will cause the specials to reset to 0 the first time the shop or admin are hit ...

When dates are not being utilized for start and ending times, use: 0001-01-01 00:00:00

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Aug 2006, 11:52 PM
#5
repairman avatar

repairman

New Zenner

Join Date:
Jul 2006
Posts:
33
Plugin Contributions:
0

Post #5 by repairman

Thank you very much, that did the trick.

7 Aug 2006, 11:54 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

You are most welcome ... thanks for the update ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!