Excel Import
You can import your data to Backoffice using the Excel import feature. The import action triggers opening a wizard where you can browse for, or drag and drop your Excel file to import.
- Importing an Excel sheet with products that had been exported previously and modified
- Importing an Excel sheet with new products that were prepared using the Backoffice Excel template sheet
If there are issues with the Excel file you want to import, for example: Incorrect cell format, you get a validation report after clicking on the IMPORT button. In this case, you can only download the report as a text file, and click the BACK button to select a corrected Excel file.
During the importing process, an appropriate cronJob is created and the Excel file is translated into impex. If the generated impex has an incorrect structure, or there are some database constraints violations, then the impex service reports a problem. In this case, the broken records aren't applied. The items containing errors aren't changed. You can check the progress of importing your excel file in the Processes widget.
You can upload both an Excel sheet with a list of items, and a zip file containing media. To relate the zipped media with the Excel file, you must fill in the image and thumbnail columns in the Excel sheet.
- filePath:code:catalog:version:folder
- filePath::catalog:version:folder
- :code:catalog:version:folder
Where:
- filePath - defines the file in the uploaded zip (sub directories can be specified).
- code - is the code of media. If empty and filePath is defined, then it's generated. Providing existing media code, in pair with the catalog, results in updating media content.
- catalog - the catalog for media.
- version - the version of catalog for media.
- folder - if provided, it defines where the media are stored inside the root folder.
Excel Classification Import
-
An item already exists in the system:
- Supercategories column is selected in the Excel file and it contains the classification class: import finishes with success and the classification values are set
- Supercategories column is selected in the Excel file, but it doesn't contain the classification class: import finishes with success, but the classification values are skipped
- Supercategories column isn't selected in the Excel file, but the item is already assigned to the classification class: import finishes with success and the classification values are set
- Supercategories column isn't selected in the Excel file and the item isn't assigned to the classification class: import finishes with success, but the classification values are skipped
- An item doesn't exist, it's created during an import of the Excel file:
- Supercategories column is selected in the Excel file and it contains the classification class: import finishes with success and classification values are set
- Supercategories column is selected in the Excel file but it doesn't contain the classification class: import finishes with success but the classification values are skipped
- Supercategories column isn't selected in the Excel file: import finishes with success but the classification values are skipped
To retain original API and provide backwards compatibility, the Excel classification import is supported by the ExcelImportWorkbookPostProcessor abstraction. The process is invoked after the conversion to an Impex object, but before its execution. The default implementation of ExcelImportWorkbookPostProcessor delegates the logic to the ExcelImportWorkbookDecorator collection. The post processor and decorators accept the ExcelImportResult object, which contains a workbook and the ImpEx object.

Validation in Excel Import
During the Excel file import, the data validation process takes place. If there are no errors in your Excel file, the import is started. If there are any errors preventing the application to import the data, you get a notification about validation errors. You can view the errors in the pop-up window that is displayed, or download a validation report. There are three types of validation notifications: error, warning, and info. If you have an error notification, you're not able to import your Excel file at all. However, if there are only warning or info messages, you can still import the file using the IGNORE & IMPORT button.To narrow the number of validation results visible in the pop-up window, the backoffice.excel.import.validation.result.renderer.max.results.to.render property was introduced. The default value for the visible results is 20 issues. If your validation results exceed the number, you get a notification that not all of the issues could be displayed. You should download the validation report to see them all.
For details about Excel Validators, see Excel Validators in Backoffice.