File details- product_option.csv

Edit on GitHub

This article contains content of the product_option.csv file to configure product option information on your Spryker Demo Shop.

To import the file, run

data:import:product-option

Import file parameters

The file should have the following parameters:

PARAMETER REQUIRED TYPE REQUIREMENTS OR COMMENTS DESCRIPTION
abstract_product_skus No String List of Abstract Product SKUs separated by comma.
option_group_id String If doesn’t exist then it will be automatically created. Identifier of the Product Option Group.
tax_set_name String Name of the tax set.
group_name_translation_key String Translation key of the name of the group in different locales.
group_name.{ANY_LOCALE_NAME}
Example value: group_name.en_US
No String Locale data is dynamic in data importers. It means that ANY_LOCALE_NAME postifx can be changed, removed, and any number of columns with different locales can be added to the .csv files. Name of the group in the specified locale (US for our example).
option_name_translation_key String Translation key of the name of the option in different locales.
option_name.{ANY_LOCALE_NAME}
Example value: *option_name.en_US
String Name of the option in the specified locale (US for our example).
sku String SKU identifier of the product ption.
avalara_tax_code String Avalara tax code for automated tax calculation.

Dependencies

This file has the following dependencies:

  • [product_abstract.csv](/docs/scos/dev/data-import/202108.0/data-import-categories/catalog-setup/products/file-details-product-abstract.csv.html)
    

Import template file and content example

Find the template and an example of the file below:

FILE DESCRIPTION
template_product_option.csv Import file template with headers only.
product_option.csv Exemplary import file with the Demo Shop data.