Import file details: product_relation.csv
Edit on GitHubThis document describes the product_relation.csv
file to configure Product Relation information in your Spryker Demo Shop.
To import the file, run:
data:import:product-relation
Import file parameters
The file should have the following parameters:
PARAMETER | REQUIRED | TYPE | REQUIREMENTS OR COMMENTS | DESCRIPTION |
---|---|---|---|---|
product | ✓ | String | SKU of the abstract product. | |
relation_type | String | Type of relation. | ||
rule | String | Query which defines the relation between the product and the other products. | ||
product_relation_key | ✓ | String | Key that is used to assign store relations. | |
is_active | Integer | Defines if the product relation is active. | ||
is_rebuild_scheduled | Integer | Defines if the list of related products should be regularly updated by running a cronjob. |
Import file dependencies
This file has the following dependency: product_abstract.csv.
Import template file and content example
Find the template and an example of the file below:
FILE | DESCRIPTION |
---|---|
product_relation.csv template | Exemplary import file with headers only. |
product_relation.csv | Exemplary import file with headers only. |
Thank you!
For submitting the form