Jump to content

Importing 40 000 rows of product data


hypnootik

Recommended Posts

Hi

I have a minor issue importing 40 000 products using custom import script.
Because it does take a lot of time to process and insert all the data, the script just dies half way.

Now I could use cron, but its no use because I can not get my script working without calling "init.php" witch then calls http headers witch results the script to die before it has been executed.
 

As far as I understand the problem is that init.php file calls store frontend.
Is there any other way to include prestashop core functions without calling init.php file?

require($this->store_base_dir . 'config/config.inc.php');
include($this->store_base_dir . 'init.php');
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...