How an import works
The source is usually a CSV or XLSX file, or an XML feed from a supplier. Each row is a product and each column one attribute: name, price, description, images, category, stock. During the import, the columns are mapped to fields in the online shop and the system creates or updates the products.
Using a unique code, most often the SKU or EAN, the import recognises whether a product already exists. If it does, only selected data is changed, such as price and availability. If not, a new product is created.
One-off and scheduled imports
- A one-off import is done when launching a shop or moving from another platform. The main thing is that nothing is missing and the images and variants match.
- A scheduled import is an automatic update, for example every night. It is used for dropshipping or by wholesalers that change prices and stock daily.
Example
A garden furniture retailer received different XML files from three suppliers. He updated prices and availability by hand once a week, and sometimes sold goods that were no longer in stock. Now a nightly import runs, stock updates itself, and each supplier's own margin is added automatically.
What to watch out for
- Make a backup before the first import. A faulty file can overwrite hundreds of products at once.
- Try a few rows first, and only then the whole file.
- Watch the character encoding: a badly saved CSV will break accented characters.
- Decide which data the import is allowed to overwrite. If you have improved descriptions by hand, you do not want to lose them every night.
- Download images from other servers to your own and resize them, otherwise they slow the site down.
For more complex integrations, a bespoke solution pays off; see online shop development. I often handle imports from supplier feeds with a separate custom plugin.