Import file details: product_price.csv
Edit on GitHubThis document contains content of the product_price.csv file to configure prices of the products/services in your Spryker Demo Shop.
Dependencies
- product_abstract.csv
- product_concrete.csv
stores.phpconfiguration file of the Demo Shop PHP project
Import file parameters
| FIELD NAME | MANDATORY | TYPE | OTHER REQUIREMENTS/COMMENTS | DESCRIPTION |
|---|---|---|---|---|
| abstract_sku | Yes (if concrete_skuis empty) |
String | Either this field or concrete_sku needs to be filled. |
SKU of the abstract product to which the price should apply. |
| concrete_sku | Yes (if abstract_skuis empty) |
String | Either this field or abstract_sku needs to be filled. |
SKU of the concrete product to which the price should apply. |
| price_type | No | String | N/A* | Defines the price type. |
| store | Yes | String | N/A | Store to which this price should apply. |
| currency | No | String | N/A | Defines in which currency the price is. |
| value_net | No | Integer | N/A | Sets the net price. |
| value_gross | No | Integer | N/A | Sets the gross price. |
| price_data.volume_prices | No | String | N/A | Price data which can be used to define alternative prices, that is, volume prices, overwriting the given net or gross price values. |
*N/A: Not applicable.
Import template file and content example
| FILE | DESCRIPTION |
|---|---|
| product_price.csv template | Product Price CSV template file (empty content, contains headers only). |
| product_price.csv | Product Price CSV file containing a Demo Shop data sample. |
Import command
data:import product-price
Thank you!
For submitting the form