Execution order of data importers in Demo Shop
Edit on GitHubWhen setting up a Spryker’s Demo Shop, a data content sample is imported while executing a sequence of data importers. A data importer is a PHP class that handles the data import. Each data importer uses a CSV file to load data that is then imported into the Demo Shop databases. The importing order of the CSV files depends on the order data importers are executed.
The order of data importers is defined in the YML configuration file.
This operation has some dependencies, as data the importer execution follows certain precedences. For example, you can not import concrete products before importing abstract products, because concrete products can not exist without abstract ones.
The following list illustrates the order followed to run the data importers, and import the commerce shop’s configuration setup data, product catalog data, and other content.
-
Commerce Setup data import
-
store
-
currency
-
customer
-
glossary
-
tax
-
shipment
-
shipment-price
-
shipment-method-store
-
sales-order-threshold
-
stock-store
-
payment-method
-
payment-method-store
-
Catalog Setup data import - Catalog Setup category includes sub-categories: Categories, Products, Pricing, Stocks
-
category-template
-
category
-
product-attribute-key
-
product-management-attribute
-
product-abstract
-
product-abstract-store
-
product-concrete
-
product-image
-
product-price
-
product-price-schedule
-
product-stock
-
Merchandising Setup data import
-
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
-
product-list-category
-
product-list-product-concrete
-
Navigation Setup data import
-
navigation
-
navigation-node
-
Content Management Setup data import
-
cms-template
-
cms-block
-
cms-block-store
-
cms-block-category-position
-
cms-block-category
-
content-banner
-
content-product-abstract-list
-
content-product-set
-
cms-page
-
cms-page-store
-
cms-slot-template
-
cms-slot
-
cms-slot-block
6. B2B data import
- B2B Company
- company
- 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
- B2B Merchant
- merchant
- merchant-profile
- merchant-profile-address
- merchant-product-offer
- merchant-product-offer-store
- merchant-opening-hours-weekday-schedule
- merchant-opening-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
- shopping-list-item
- shopping-list-company-user
- shopping-list-company-business-unit
-
B2B Miscellaneous
- multi-cart
- shared-cart
- quote-request
- quote-request-version
Thank you!
For submitting the form