File details - warehouse_store.csv

Edit on GitHub

This document describes the warehouse_store.csv file to configure the relation between Warehouse and Store in your Spryker Demo Shop.

To import the file, run

data:import:stock-store

Import file parameters

The file should have the following parameters:

PARAMETER REQUIRED TYPE REQUIREMENTS OR COMMENTS DESCRIPTION
warehouse_name String Must be a valid warehouse name imported from warehouse.csv. Name of the warehouse.
store_name String Must be a valid store name imported from the existing stores.php configuration file of demo shop PHP project. Name of the store.

Import file dependencies

This file has the following dependencies:

  • warehouse.csv
  • stores.php configuration file of demo shop PHP project, where stores are defined initially

Additional information

Check the HowTo - Import Warehouse Data.
The console command data:import:stock-store uses …/vendor/spryker/stock-data-import/data/import/warehouse_store.csv.

You can also create warehouse_store.csv in …/data/import.

Import template file and content example

Find the template and an example of the file below:

FILE DESCRIPTION
warehouse_store.csv template Import file template with headers only.
warehouse_store.csv Exemplary import file with Demo Shop data.