Jump to content

CSV import by script php


Totti

Recommended Posts

  • 2 weeks later...

Than create a csv, load this to your server and import it with native function on Tab: "advanced parameters -> import csv -> load csv -> map the fields -> import".

 

If you want to make changes on the class, than you should override the native script /classes/CSV.php

 

Automatic import you can only do with a cronjob added to your server, or with own coded webservice script.

Link to comment
Share on other sites

Than create a csv, load this to your server and import it with native function on Tab: "advanced parameters -> import csv -> load csv -> map the fields -> import".

 

If you want to make changes on the class, than you should override the native script /classes/CSV.php

 

Automatic import you can only do with a cronjob added to your server, or with own coded webservice script.

"Automatic import you can only do with a cronjob added to your server, or with own coded webservice script."

 

how do you?

I would like to draw a link where I pass the name of the csv upload and mapping.

Link to comment
Share on other sites

Oh sorry, yes in this case not possible, cause you have to map the field before, which is a case for a webservice.

 

Another possibility for automatic import is to use Presta Store Manager + Automatic Import module. Whit this you can automatize your import for each csv added for download on the net.

  • Like 1
Link to comment
Share on other sites

No, Presta Store Manager has a direct connector to the database and automatic import module (is an extra module) is a service you map once and than automatically your csv is imported one/or more times per day/week, etc.

Is like to have your data base update more than one time automatically with data from your supplier for ex. You can update all possible fields, not only the one Prestashop is calling.

  • Like 1
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...