Skip to content
PrestaShop · User manual

Import & Export Pro for PrestaShop

Version 0.9.2 Product page
Chapter 6

Column mapping

How to map source columns to product fields in step 2, clean values on the way, handle related data, and the format of every product field.

The mapping table

Each row of Column mapping connects one column to one field:

  • In an import, Source is a column of your file and Destination is a product field.
  • In an export, Source is a product field and Destination is the column name in the output file.

Unmapped product data is preserved: an import only changes the fields you map.

ControlWhat it does
SourceThe source column (import) or product field (export). After Obtain columns, the box suggests the columns found.
DestinationThe product field (import) or output column (export). The box suggests the product fields.
DefaultA fallback value used when the cell is empty. It can refer to another column in brackets, for example [supplier_price].
First checkboxUse an empty fallback when the source column is missing: an optional column that is absent from a file does not stop the import.
Second checkboxEnable this mapping. Untick it to keep the row but ignore it.
↑ / ↓Move the row. In an export this is the column order of the file.
×Remove the row.

Press Add column to add a row. Each destination can appear only once. A profile can have up to 256 mappings.

Language-specific fields

Translatable fields take the default language of the shop. To fill another language, add : and the language code to the field name, for example name:es, description:en or features:fr. This works for name, description, description_short, link_rewrite, meta_title, meta_description, categories, features, combination_attributes and tags, in every language installed in your shop. Translated lists must keep the same order and number of items as the default language.

Normalize / empty cells

Each row has a Normalize / empty cells section to clean the value before it is used:

SettingWhat it does
Preserve field when source is emptyAn empty cell leaves the current value of the product unchanged, instead of emptying the field.
Trim spacesRemoves spaces at the start and end.
Numeric formatHow numbers are written in the source: Unchanged, 1,234.56, 1.234,56, 1 234,56, 1 234.56, the same two with a nonbreaking space, 1234,56 or 1234.56. A value that does not fit the chosen format is reported as an error, never turned into zero.
True values (separate with |) / False values (|)The words your supplier uses for yes and no, for example yes|in stock and no|sold out. They are converted to 1 and 0.
Split delimiter / Split index (starts at 0)Cuts the value at a character and keeps one part. With / and index 1, Blue/Red gives Red.
Allowed HTML tags (all removes HTML)all removes all HTML. A list such as p,br,strong keeps only those tags.
Maximum characters (empty: unchanged)Shortens longer values.

Related data & feature columns

Categories, features, images, combinations, prices and tags are related data that can hold several items per product. For each one choose a policy:

PolicyWhat happens
PreserveMapped changes to this relation are ignored. The product keeps what it has.
MergeSupplied items are added or updated; existing items not in the file are kept.
Replace after successSupplied items are added or updated, and items no longer supplied are removed, but only after the complete source has been processed without errors or warnings.

Defaults: Replace after success for Categories, Features and Tags; Merge for Images, Combinations and Prices. PrestaShop shares features, attribute definitions and some product data between shops, so a change can be visible in other shops of the same installation.

Add feature from column

When your file has one column per feature, for example Material and Origin, press Add feature from column for each one:

SettingWhat it does
Feature nameThe PrestaShop feature to fill, for example Material. It is created if it does not exist.
Source columnThe column with the value.
Language (empty: default)The language of the value.
FallbackThe value when the cell is empty.
Include this feature whenOptional conditions, for example to skip placeholder values such as -.

Product fields

Identification and texts

FieldFormat
id_productPrestaShop product ID. Only for matching existing products.
reference, ean13, upc, isbn, mpnProduct reference and barcodes. Leading zeros are kept.
nameProduct name. Required in the default language for new products.
description, description_shortDescriptions, HTML allowed.
link_rewrite, meta_title, meta_descriptionFriendly URL and SEO texts.
tagsTags separated by |, each up to 32 characters.

Prices and stock

FieldFormat
priceBase price without tax, a positive decimal.
wholesale_priceCost price.
id_tax_rules_groupID of a tax rules group of your shop.
quantityStock. On a combination row it is the stock of that combination; combination_quantity takes priority.
minimal_quantityMinimum quantity per order, 1 or more.
out_of_stockOrders when out of stock: 0 deny, 1 allow, 2 use the shop default.
on_sale1 shows the "on sale" flag.
additional_shipping_costExtra shipping cost for the product.

Product settings

FieldFormat
active1 active, 0 inactive. New products are inactive unless you map it.
available_for_order, online_only1 or 0.
available_dateYYYY-MM-DD or YYYY-MM-DD HH:MM:SS.
conditionnew, used or refurbished.
visibilityboth, catalog, search or none.
weight, width, height, depthPositive decimals.
manufacturerBrand name. Created if it does not exist.
supplier, supplier_referenceSupplier name, created if it does not exist, and the supplier's reference.
categoriesCategory paths from the root, levels separated by > and categories by |, for example Home > Clothing | Home > Sale. Missing categories are created. The first is the default category. To map supplier categories to existing ones instead, see Category mapping.
featuresName=Value pairs separated by |, for example Material=Cotton|Origin=Spain. If a value itself contains |, use a JSON list of pairs: [["Printers","HP|CANON"]].

Images

FieldFormat
imagesImage URLs separated by |.
image_coverThe URL of the cover image.
image_orderA JSON list with the order of the images, for example ["https://supplier.example/front.jpg","https://supplier.example/back.jpg"]. id:123 refers to an image the product already has.

Each image can be up to 8 MiB and 40 megapixels. The module generates PrestaShop's thumbnails. An image URL that already belongs to the product is reused without downloading it again.

Combinations

Each combination is one row of the file with the product's identifier and the combination fields.

FieldFormat
combination_referenceUnique reference of the combination. Required for combination rows.
combination_attributesGroup=Value pairs, one value per attribute group, for example Size=M|Color=Blue. Missing groups and values are created. Required for new combinations.
combination_pricePrice impact added to or subtracted from the base price, for example 5 or -2.50.
combination_weightWeight impact.
combination_quantityStock of the combination.
combination_ean13, combination_upc, combination_isbn, combination_mpn, combination_supplier_referenceCombination codes.
combination_wholesale_price, combination_minimal_quantity, combination_available_dateAs for the product.
combination_default1 makes it the default combination.
combination_imagesImage URLs of the combination, separated by |.

Specific prices and promotions

For one simple discount use the promotion_* fields:

FieldFormat
promotion_priceFixed price, or -1 to keep the base price.
promotion_reductionReduction amount, or a fraction between 0 and 1 for a percentage: 0.15 is 15 %.
promotion_reduction_typeamount or percentage.
promotion_from_quantityMinimum quantity, 1 or more.
promotion_groupCustomer group ID, 0 for all.
promotion_from, promotion_toStart and end, YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.

For several rules, specific_prices takes a JSON list:

[{"price":"-1","reduction":"0.15","reduction_type":"percentage","from_quantity":3,"group":1,"from":"2026-11-01","to":"2026-12-31","applies_to":"product"},{"price":"9.50","from_quantity":10,"applies_to":"combination"}]

Each rule can also carry currency, country and customer IDs. A rule with "applies_to":"combination" must be on a combination row. Up to 256 rules per product or combination.

Still need help?

Open a support ticket from your account and our team will look at your store with you.