Skip to content
OpenCart · User manual

Import Export PRO

Version 9.14.16 Product page
Chapter 8

Filters and category mapping

How to limit what a profile exports, how to skip, delete or disable elements during an import, and how to map supplier categories to yours.

Quick product filters

Export profiles of products have Quick product filters:

  • Categories: exports the products that belong to any of the selected categories. Nothing selected means all categories.
  • Manufacturers: exports the products of the selected manufacturers. Nothing selected means all manufacturers.

Filters configuration (export)

Every export profile has Filters configuration. Press the add button (Click to add new filter) for each rule.

ColumnWhat it does
FieldAny field of the element, including related data.
ConditionDepends on the kind of field (see below).
ValueThe value to compare with.
Kind of fieldConditions
Number≥, ≤, >, <, =, ≠
TextContain, NOT contain, Is exactly, Is NOT exactly
DateThe number comparisons, Contain, NOT contain, Last X years, months, days, hours or minutes, and More than X years, months, days, hours or minutes ago
Yes/noIs YES, Is NOT

Text filters accept an empty value, to find elements with or without content in a field.

Combining filters

  • Default conditional for new filter sets whether a new rule is joined with AND (all rules must match) or OR (any rule is enough).
  • Click to open filter group and Click to close filter group put brackets around a set of rules, so you can mix AND and OR.
  • Expression View, under the table, shows the complete expression in one line.

Examples:

  • Products changed recently: Date modified with Last X days and value 1.
  • Products of one shop in a multi-store installation: filter by the store field with the ID of the shop.

Pre-Filters configuration (import)

Import profiles have Pre-Filters configuration. A pre-filter runs before the import and acts on the elements that match its rule.

ColumnWhat it does
FieldThe field to check. Some fields show the switch ID instead of Name: to compare by ID.
Condition and ValueAs in export filters. In Contain and NOT contain you can write several values separated by a vertical bar.
ActionsWhat happens to the matching elements.
Apply to:File checks the rows of the file. Shop checks the elements already saved in your shop.
ActionEffect
Skip theseThe matching elements are left out of the import.
Delete theseThe matching elements are deleted.
Disable theseProducts only. The matching products are disabled.
Set quantity 0Products only. The stock of the matching products is set to 0.

Example: to leave out of a supplier file the products of a brand you do not sell, use the field Manufacturer, Is exactly, the action Skip these and apply to File.

The Import logs keep the detail of each action, with the reason for each element.

Categories mapping (import)

Product import profiles have Categories mapping. It translates the category names of a supplier into categories of your shop, without editing the file.

  1. Configure Product related data and Columns mapping first, including the category columns.
  2. In Categories File, upload a sample file if the profile is uploaded manually.
  3. Press Obtain Categories. The extension reads the file and lists every category it finds under Vendor Category.
  4. For each one, choose the OpenCart Category it corresponds to.
  5. Choose a Default Category for supplier categories you leave unmapped.
  6. Save the profile.

While category mapping is in use, the import assigns products to the mapped categories and does not create new categories from the file.

Categories in other XML node

Some XML feeds list the categories in a separate part of the file and products only carry a category ID. Switch on Categories in other XML node and fill in:

SettingWhat it does
Categories Main NodePath to the node that repeats once per category, for example root>categories>category.
ID AttributeWhere the category ID is.
Parent ID Attribute (not required)Where the ID of the parent category is. It is used to rebuild the category tree.
Value AttributeWhere the category name is.

Attributes are written as node@attributeName, where node is the last tag of Categories Main Node: with the path above, category@id. If the name is the text of the tag and not an attribute, write only the tag name in Value Attribute: category.

Still need help?

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