File details - product_alternative.csv

Edit on GitHub

This document describes the product_alternative.csv file to configure Alternative Product information in your Spryker Demo Shop.

To import the file, run:

data:import:product-alternative

Import file parameters

The file should have the following parameters:

PARAMETER REQUIRED TYPE REQUIREMENTS OR COMMENTS DESCRIPTION
concrete_sku String N/A* SKU of the concrete product to which this alternative is applied.
alternative_product_concrete_sku ✓ (if the alternative_product_abstract_sku is empty) String SKU of the alternative concrete product.
alternative_product_abstract_sku ✓ (if alternative_product_concrete_sku is empty) String SKU of the alternative abstract product.

Import file dependencies

This file has the following dependencies:

Additional information

It does not exist on by default on the project level. It can be created in order to override the CSV file from module:

  • vendor/spryker/product-alternative-data-import/data/import/product_alternative.csv

Import template file and content example

Find the template and an example of the file below:

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