Import file details: product_search_attribute.csv

Edit on GitHub

This document describes the product_search_attribute.csv file to configure Product Search Attribute information in your Spryker Demo Shop.

To import the file, run:

data:import:product-search-attribute

Import file parameters

The file must have the following parameters:

PARAMETER REQUIRED TYPE REQUIREMENTS OR COMMENTS DESCRIPTION
key String N/A* Key identifier string of the product search attribute.
filter_type String N/A Type of search filter, Elasticsearch-specific.
position Number N/A Position of the product search attribute, Elasticsearch specific.
key.{ANY_LOCALE_NAME}*
Example value: key.en_US
String N/A Key identifier string of the product search attribute, translated in the specified locale US for our example).

*ANY_LOCALE_NAME: Locale date is dynamic in data importers. It means that ANY_LOCALE_NAME postfix can be changed or removed, and any number of columns with different locales can be added to the CSV files.

Import file dependencies

This file has the following dependency: product_attribute_key.csv

Additional information

The attribute key is previously loaded from productattributekey.csv, which can be translated into the key.* fields.

Import template file and content example

The following table contains the template and an example of the file:

FILE DESCRIPTION
product_search_attribute.csv template Exemplary import file with headers only.
product_search_attribute.csv Exemplary import file with headers only.