Execution order of data importers in Demo Shop

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202212.0.

When 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.

Info

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.

  1. Commerce Setup data import

  2. store

  3. currency

  4. customer

  5. glossary

  6. tax

  7. shipment

  8. shipment-price

  9. shipment-method-store

  10. sales-order-threshold

  11. stock-store

  12. payment-method

  13. payment-method-store

  14. Catalog Setup data import - Catalog Setup category includes sub-categories: Categories, Products, Pricing, Stocks

  15. category-template

  16. category

  17. product-attribute-key

  18. product-management-attribute

  19. product-abstract

  20. product-abstract-store

  21. product-concrete

  22. product-image

  23. product-price

  24. product-price-schedule

  25. product-stock

  26. Merchandising Setup data import

  27. discount

  28. discount-store

  29. discount-voucher

  30. product-group

  31. product-relation

  32. product-review

  33. product-label

  34. product-set

  35. product-search-attribute-map

  36. product-search-attribute

  37. discount-amount

  38. product-discontinued

  39. product-alternative

  40. product-quantity

  41. product-list

  42. product-list-category

  43. product-list-product-concrete

  44. Navigation Setup data import

  45. navigation

  46. navigation-node

  47. Content Management Setup data import

  48. cms-template

  49. cms-block

  50. cms-block-store

  51. cms-block-category-position

  52. cms-block-category

  53. content-banner

  54. content-product-abstract-list

  55. content-product-set

  56. cms-page

  57. cms-page-store

  58. cms-slot-template

  59. cms-slot

  60. cms-slot-block

6. B2B data import

  • B2B Company
  1. company
  2. company-business-unit
  3. company-unit-address
  4. company-unit-address-label
  5. company-unit-address-label-relation
  6. company-user
  7. company-role
  8. company-role-permission
  9. company-user-role
  10. company-business-unit-user
  11. company-business-unit-address
  12. company-user-on-behalf
  • B2B Merchant
  1. merchant
  2. merchant-profile
  3. merchant-profile-address
  4. merchant-product-offer
  5. merchant-product-offer-store
  6. merchant-opening-hours-weekday-schedule
  7. merchant-opening-hours-date-schedule
  8. product-offer-validity
  9. price-product-offer
  10. product-offer-stock
  11. merchant-stock
  12. merchant-relationship
  13. merchant-relationship-sales-order-threshold
  14. merchant-relationship-product-list
  15. product-price-merchant-relationship
  • B2B Shopping List

    1. shopping-list
    2. shopping-list-item
    3. shopping-list-company-user
    4. shopping-list-company-business-unit
  • B2B Miscellaneous

    1. multi-cart
    2. shared-cart
    3. quote-request
    4. quote-request-version