Exporting product data¶
Product data is exported using reusable export templates — a named,
ordered set of fields in a chosen format — which you then run against the
catalogue (or from the
calendar for a supplier/day).
Export controls require the pimexport (or rebates) role.
Building an export template¶
In the export setup dialog you can:
- Choose at the top between New export, which starts from the site's standard columns, and Edit a saved export. The list beside the second shows each saved template under its group with its name and visibility (public or private); choosing one selects Edit a saved export and loads its columns and settings below. Delete removes it.
- Build a new template by choosing its columns (see below).
- Name it (Export Name and Group) and choose a format — Excel, CSV, XML, or JSON.
- Set visibility: Private (only you) or Public (the whole site).
Making a template public, and deleting templates, is
admin-only.
Templates you can see are your own private templates plus the site's public ones.
Choosing the columns¶
From 3.8.3 the dialog has two lists:
- Columns in the export (left) — the columns the file will have, in order. Drag a column to move it, click its heading to change what it is called in the file (the field's own name stays underneath), and use the cross to take it out. An export needs at least one column to be saved.
- Available fields (right) — every field not yet in the export, in groups: Product, Prices, Files, then one group for each section of the site's product template, including Imported fields (the extra columns kept from imports). Type in Find a field to narrow the list, click a field to add it, or Add all for a group.
Reset mappings forgets the saved columns of the export you have open and goes back to the site's standard columns.
Before 3.8.3 the dialog was one long list of every field with a tick box each.
Product template attributes¶
From 3.8.3, where the site has a product template of its own, the template's attributes that are not ordinary product fields are in the field list too, grouped by template section, under the names the template gives them. They are added to an export template like any other field. A product's values reach the export once the product has been indexed since the value was set; saving a value on the product, or importing it, indexes the product.
On a product data pool, a merchant or buying group's export leaves out the attributes of any template section the supplier has hidden from them.
Running an export¶
Run an export from the catalogue with your current filters applied — the export uses the same result set as the on-screen list, so supplier scoping and filters carry through. The export runs in the background against the full filtered set and produces the file in your chosen template's format. You get a notification with a download link when it is ready.
What each format contains:
- Excel — one sheet, a bold heading row, numbers and dates formatted.
- CSV — a heading row, then one line per row, every value in quotes. Saved as UTF-8 so it opens correctly in Excel.
- JSON — one list of objects, each keyed by your column headings. Every value is text, so leading zeros in codes are kept.
- XML — a
productselement holding oneproductper row, each with afieldelement per column whosenameis your column heading.
Before 3.8.2 the format was not saved with the template and every export came out as Excel. Templates saved before then export as Excel until you open them, choose a format and save again. From the PIM calendar, a supplier badge's export control runs a template for just that supplier and date.
Scoping and permissions¶
- Supplier users are scoped to their own products on export exactly as on the catalogue — the scoping is enforced server-side, so an export cannot widen what a supplier can see.
- A superusers option controls whether zones with expired prices are included in the export.