How to import/export products from ZenCart to Magento with a csv file?
Firstly, in ZenCart, export your catalogue using Easy Populate to a CSV file.
Download Complete tab-delimited .txt file to edit (Attributes Not Included)
In magento I have created a sample product just to see which headings are needed in the CSV file.
Create a category, product and export it to a CSV file in Magento.
System>Import/Export>Profiles>Export all Products>Run Profile
The file will be located in /var/export/. Now open the csv files from Magento and ZenCart to compare the fields. It’s just a case of copy and pasting in Excel the required columns from the zencart file to the magento file.
Some of these are obvious and can be easily copied and pasted from ZenCart file. For example v_products_model is the same as sku so i simply copy and paste the entire column into the magento file and rename it sku. The same goes for v_products_name_1 and name
NB: for some reason name in the magento file appears twice so needs to be pasted over twice. Mine was at column M name and again at column BM product_name (I’m sure it will be obvious why at some stage).
Some columns need to be copied and some do not – lets worry about that later in part 2. For now just get as much copied and pasted as you can, remembering to change the Magento column names if you paste over them.
Some of the obvious ones:
v_products_price – price
v_products_weight – weight
v_products_description_1 – description
v_products_quantity – qty
There is a strip of rows from AN (min_qty) to BG (enable_qty_increments) with 1 and 0 values in. For now I am going to copy these values in this row across and then paste it downwards to fill these values in for every product.
Lets leave it there for now. Some columns need to be filled in but we can do it later.
Important Values you must have:
For now the most important column is SKU. Every item needs a unique stock code so ensure there is an sku value for every product.
In the first column store – all values are admin
In the third column attribute all values are Default
In the fourth column type all values are simple
You can change some of these values later if needed but they have to be copied and pasted down to all products otherwise errors will occur and the products will not import.
Save the file in CSV format.
Upload it to Magento using the admin menu: System>Import Export> Profiles>Import all Products>
Upload the file. by browsing and then selecting Save and continue. Mine is called magentoproducts.csv .This uploads it to the server.
Now select the Run Profile menu on the right and in the file pull down menu should be your CSV file. Run the profile and wait – it is quite slow.
How did you do? I hope you got few errors. Mine worked pretty well and only rejected a few SKUs. I was pretty impressed at how straightforward this was.
In part 2 I will look at exporting, editing and re-importing the products file.