Jump to content

occasionally, date_add is 0000 when calling $product->save


Destiny84

Recommended Posts

I have built my own import script which fetches product data from a feed and imports them into my prestashop 1.5.4.1

 

When the import is done, about 5% of the products have the following attributes:

date_add : 0000-00-00 00:00:00

minimal_quantity : 0

available_for_order : 0

show_price : 0

 

I don't touch any of these attributes during import so they should have their default values (actual date of import, and 1 for the others). 

 

Does anyone have an idea what might cause this behaviour? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...