Categories

Featured templates

PrestaShop 1.6.x. How to export/import data in CSV files

Vincent White February 2, 2015
Rating: 5.0/5. From 3 votes.
Please wait...

The following tutorial is going to show how to import/export data in CSV files in PrestaShop 1.6

PrestaShop 1.6.x. How to export/import data in CSV files

NOTE: In PrestaShop you can export and import categories, products, customers, addresses, manufacturers, suppliers, combinations and aliases. This is useful if you want, for example, to export categories and products from one store and import them into another. The export and import process is done with the help of CSV (comma-separated values) files.

Export Information from PrestaShop

  1. Log into your Prestashop dashboard.

  2. You can export information from the page in the admin panel where you can manage that particular information. For example, to export the products, go to Catalog->Products in the admin panel and click on the Export button in the top right corner:

    prestashop_how_to_importexport_data_in_csv_file_1

  3. A small window will pop out where you can save the products into a CSV file on your local computer.

  4. If you want to export your categories, go to Catalog->Categories and use the Export button. In the same way if you want to export the customers, go to Customers->Customers and use the Export button; for the addresses this will be Customers->Addresses->Export button, etc.

  5. Once you have the CSV file(s) with the exported information on your local computer, you can import it into another PrestaShop instance or in the same one. If necessary, you can edit the file before importing it.

Import Information into PrestaShop

  1. Before you import anything into your PrestaShop, we recommend that you make a BACKUP of that shop, unless it’s empty and you have nothing to lose.

  2. To import a CSV file, regardless of whether it’s for categories, products, customers, etc., log into the admin panel and go to Advanced Parameters ->CSV Import:

    prestashop_how_to_importexport_data_in_csv_file_2

    An alternative is to go to the page for managing whatever you want to import and click on the Import button there. For example, if you want to import categories, you can go to Catalog ->Categories and click on the Import button. This will automatically redirect you to the same CSV Import page in the admin panel.

  3. On the CSV Import page there are the following options:

    • What kind of entity would you like to import? – from this drop-down menu you can select whether the CSV file that you’re about to import contains categories, products, customers, address, etc. When you select an entity you’ll see the fields for that entity in the area on the right.

    • Select your CSV file – from this option you can upload the CSV file that’s about to be imported. Click Upload as file button and use the window that pops out to locate the CSV file that you have previously exported on your local computer. Choose from history/FTP button allows to upload CSV file directly from FTP (adminXXX/import directory of the Prestashop installation).

    • Language of the file – from this drop-down menu you can select the language of the CSV file.

    • ISO-8859-1 encoded file? – If the file is in that encoding, you should enable this option.

    • Field separator – usually the field separator in CSV files is a semicolon.

    • Multiple value separator – by default, this is a comma.

    • Delete all … before import – if you enable the option, the existing data will be deleted.

    • Use product reference as key – this option is available only when you’re importing products. It’s disabled by default which means that the product key that will be used is automatically selected by PrestaShop. If you want to force PrestaShop to use the product reference option as the product key, enable this option.

    • Force all ID numbers – by default, this setting is disabled which means that PrestaShop will assign its own IDs to the imported data. If you want to keep the original IDs, enable this option:

      prestashop_how_to_importexport_data_in_csv_file_3

  4. When you’re done with the settings, click the Next step button below.

  5. On the page that opens you’ll see a table with the data that’s about to be imported. You can use it to make sure that the headers of the CSV file that you’re going to import match the headers required by PrestaShop. At the top of the table there are drop-down menus showing which header PrestaShop expects at each particular position of the table, and under them you’ll see the headers of the columns as they exist in the CSV file:

    prestashop_how_to_importexport_data_in_csv_file_4

  6. When you’re ready, click Import CSV data button.

  7. When the data from the file is imported, you’ll be brought back to the CSV Import page. If there was some problem with the import, there will be a message(s) on the red background. There might be some other non-critical warning messages which doesn’t mean the import wasn’t successful. Such messages are shown on the brown background:

    prestashop_how_to_importexport_data_in_csv_file_5

That is the end of the tutorial. Now you know how to import/export data in CSV files in PrestaShop 1.6.

Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to export/import data in CSV files

Premium Prestashop Themes
This entry was posted in PrestaShop Tutorials and tagged CSV, data, export, import, Prestashop. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket