Import file details: product_stock.csv
Edit on GitHubThis document describes the product_stock.csv
file to configure Product Stock information in your Spryker Demo Shop.
Import file dependencies
Import file parameters
PARAMETER | REQUIRED | TYPE | REQUIREMENTS OR COMMENTS | DESCRIPTION |
---|---|---|---|---|
concrete_sku | ✓ | String | SKU reference that identifies the concrete product. | |
name | ✓ | String | The name value is imported from the warehouse.csv file. |
|
quantity | ✓ | Integer | Number of product items remaining in stock. The number of articles available in the warehouse. | |
is_never_out_of_stock | Boolean | True = 1 False = 0 |
Used for non-tangible products that never run out-of-stock (for example, a software license, a service, etc.). The value must be 1 (true) if it is a non-tangible product. | |
is_bundle | Boolean | True = 1 False = 0 |
Indicates if the product is a a bundle or not. The value will be equal to 1 (true) if the product is a bundle. |
Import template file and content example
FILE | DESCRIPTION |
---|---|
product_stock.csv template | Exemplary import file with headers only. |
product_stock.csv | Exemplary import file with Demo Shop data. |
Import file command
data:import:product-stock
Additional information
- The
product_stock.csv
file contains information about the amount of product articles stored in the warehouses. - The product is identified by
concrete_sku
field (imported fromproduct_concrete.csv
), field name is a valid name of a warehouse (imported fromwarehouse.csv
), field quantity is a number of product items/articles remaining in stock. - When you update stock via the data import and some products do not have the records in the
product_stock.csv
file, then stock of these products are not updated.
Thank you!
For submitting the form