Execution order of data importers
Edit on GitHubWhen 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.
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.
-
Commerce:
- store: it’s not a data importer; it’s hardcoded.
- currency
- customer
- glossary
- tax
- shipment
- shipment-price
- shipment-method-store
- sales-order-threshold
- stock-store
- payment-method
- payment-method-store
-
Special Products:
- product-option
- product-option-price
- Gift cards
- gift-card-abstract-configuration
- gift-card-concrete-configuration
- product-packaging-unit-type:
- B2B shop: product_packaging_unit_type.csv
- B2B Marketplace: product_packaging_unit_type.csv
- product-packaging-unit:
- B2B shop: product_packaging_unit.csv
- B2B Marketplace: product_packaging_unit.csv
- product-measurement-unit:
- B2B shop: product_measurement_unit.csv
- B2B Marketplace: product_measurement_unit.csv
- product-measurement-base-unit
- product-measurement-sales-unit
- product-measurement-sales-unit-store
- configurable-bundle-template:
- B2C shop: configurable_bundle_template.csv
- B2B shop: configurable_bundle_template.csv
- B2C Marketplace: configurable_bundle_template.csv
- B2B Marketplace: configurable_bundle_template.csv
- configurable-bundle-template-slot:
- B2C shop: configurable_bundle_template_slot.csv
- B2B shop: configurable_bundle_template_slot.csv
- B2C Marketplace: configurable_bundle_template_slot.csv
- B2B Marketplace: configurable_bundle_template_slot.csv
- configurable-bundle-template-image:
- B2C shop: configurable_bundle_template_image.csv
- B2B shop: configurable_bundle_template_image.csv
- B2C Marketplace: configurable_bundle_template_image.csv
- B2B Marketplace: configurable_bundle_template_image.csv
-
Merchandising:
- discount
- discount-store
- discount-voucher
- product-group
- product-relation
- product-review
- product-label
- product-set
- product-search-attribute-map
- product-search-attribute
- discount-amount
- product-discontinued
- product-alternative
- product-quantity
- product-list:
- B2C shop: prodict_list.csv
- B2B shop: prodict_list.csv
- B2C Marketplace: prodict_list.csv
- B2B Marketplace: product_list_to_concrete_product.csv
- product-list-category:
- B2C shop: product_list_to_category.csv
- B2B shop: product_list_to_category.csv
- B2C Marketplace: product_list_to_category.csv
- B2B Marketplace: product_list_to_category.csv
- product-list-product-concrete:
- B2C shop: product_list_to_concrete_product.csv
- B2B shop: product_list_to_concrete_product.csv
- B2C Marketplace: product_list_to_concrete_product.csv
- B2B Marketplace: product_list_to_concrete_product.csv
-
Navigation:
-
Content Management:
-
B2B Company:
- company:
- B2B shop: company.csv
- B2B Marketplace: company.csv
- company-business-unit
- company-unit-address
- company-unit-address-label
- company-unit-address-label-relation
- company-user
- company-role
- company-role-permission
- company-user-role
- company-business-unit-user
- company-business-unit-address
- company-user-on-behalf
- company:
-
B2B Merchant
- merchant
- merchant-profile
- merchant-profile-address
- merchant-product-offer
- merchant-product-offer-store
- merchant-open-hours-weekday-schedule
- merchant-open-hours-date-schedule
- product-offer-validity
- price-product-offer
- product-offer-stock
- merchant-stock
- merchant-relationship
- merchant-relationship-sales-order-threshold
- merchant-relationship-product-list
- product-price-merchant-relationship
-
B2B Shopping List:
- shopping-list:
- B2B shop: shopping_list.csv
- B2B Marketplace: shopping_list.csv
- shopping-list-item
- B2C shop: shopping_list_item.csv
- B2B Marketplace: shopping_list_item.csv
- shopping-list-company-user
- B2C shop: shopping_list_company_user.csv
- B2B Marketplace: shopping_list_company_user.csv
- shopping-list-company-business-unit
- B2C shop: shopping_list_company_business_unit.csv
- B2B Marketplace: shopping_list_company_business_unit.csv
- shopping-list:
-
B2B Miscellaneous
- multi-cart
- shared-cart
- quote-request:
- B2B shop: quote_request.csv
- B2B Marketplace: quote_request.csv
- quote-request-version:
- B2B shop: quote_request_version.csv
- B2B Marketplace: quote_request_version.csv
Thank you!
For submitting the form