You define classification synonyms on separate lines in the .csv file. By default, the first value on a line is a source property, and subsequent values are classification synonyms. For example:
Cerulean, blue Navy, blue Jay, blue Oak Leaf, brown Khaki, brown Russet, brown
Thus, the lines immediately above specify that "blue" is a classification synonym for "Cerulean", "Navy", and "Jay", and that "brown" is a classification synonym for "Oak Leaf", "Khaki" and "Russet". These lines define many-to-one mappings of source property values to classification synonyms.
Note
You can change the default ordering of source property values and classification synonyms on a line using the #inverted operator; see Simplify navigation and record searches using classification synonyms.
You can also define one-to-many mappings between a source property value and two or more classification synonyms. For example, suppose that a product is available in the color "tawny", which is a mixture of red, yellow, and brown. For the sake of shoppers who will not think of the word "tawny" as a product color, you can define a one-to-many mapping between the source property value "tawny" and three classification synonyms, "red", "yellow", and "brown":
tawny, red, yellow, brown
To specify the source properties whose values are assigned synonyms by
this .csv file, use the
sourceProperty
operator; for example:
#sourceProperty, sku-blouse-Color.color #sourceProperty, sku-pants-Color.color Cerulean, blue Navy, blue Jay, blue Oak Leaf, brown Khaki, brown Russet, brown
The value of each
sourceProperty
operator can be any property name
defined under the
/attributes
folder.
To see which property names are currently configured under the
/attributes
folder, you can export all of them in a
.zip file. For information about how to do this, see
Configuring index attributes .
Other special operators define other aspects of how the information in the .csv file is interpreted. For information about all available operators, see Simplify navigation and record searches using classification synonyms.