Jump to content

[SOLVED] Split large CSV product import file and import automatically (cronjob supported)


Recommended Posts

We had the problem of timeout when we tried to import a product CSV-file with 500+ Articles including image links.

 

My son (student in first year) wrote a script for us that eliminates this problem:

-- splits the import file to small files

-- imports the small files automatically

-- allows parameters for shop-website, user, password, Import-file and all settings from the prestashop import page (language, delete existing products, strict id, ...)

-- these parameters can be commanded by command-line parameters or in a configuration file

-- provides the errors and warnings from all imports in a log-file

-- allows product import by cronjob so that the import can be organized by a schedule

 

What your system needs to provide for the script

-- Linux shell on server to run the script (ssh, telnet)

-- CSV-file with products organized in the sequence as defined for prestashop

-- ftp-access to your server (to upload script and import-file)

-- access to the servers crontab if you wish scheduled import

-- good will to support the student :) (e.g. with a micro amazon gift voucher)

 

Selfstandingly, he is willed to support in case problems occur.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...
  • 8 months later...
×
×
  • Create New...