Home Forums Plugins Product Importer Deluxe [Resolved] import post_date and post_modified Reply To: [Resolved] import post_date and post_modified

#46628
Dima
Participant

Ok I found the problem:
You got a typo in the function woo_pd_is_valid_post_date,
line #841 ‘if( !empty( $post_data ) ) {‘ , should be $post_date

Another concern is the format you expect the date to be. As you know different places use different date format styles, you might consider adding it as an option into settings. As there is an option in WP settings->general “Date Format”.

Now as for post_modified field: it still puts current date there and not the import. It might be due to the fact that the product actually is being updated(modified), anyhow if its not imported from csv there is no reason to use it at all.