Execution order of data importers in Demo Shop

Edit on GitHub

When setting up a Spryker Demo Shop, a data content sample is imported while executing a sequence of data importers. The data importer is a PHP class that handles the data import. Each data importer uses a CSV file to load data that will then be imported into the Demo Shop databases. The importing order of the CSV files is dependent on the order in which the data importers are executed.

Info

The order of data importers is defined in the YML configuration file.

This operation has some dependencies because data importers’ execution follows certain precedences. For example, you can not import Concrete products before importing abstract products because concrete products can not exist without abstracts.

The following list illustrates the order followed to run the data importers and import the commerce shop configuration setup data, product catalog data, and other content.