Preparing a cross-category feed file
Sitecore Discover implementations that support product recommendations across categories require a cross-category feed. Your Sitecore integration specialist can help you set up a cross-category feed during on-boarding.
The name of the cross-category feed file must be cross_category_mapping.txt
.
Sitecore recommends the following when preparing and formatting the content in a cross-category feed file:
-
Within the file, each line must represent the category breadcrumb and the cross-category breadcrumb, for example:
RequestResponseClothing>Tops>Blouses::Clothing>Bottoms>Trousers::Footwear>sandals::Jewelry>Necklaces
-
On each line, use a separator such as a semicolon characters
::
(or any other separator) to separate the category breadcrumb from the cross-category breadcrumb. -
A category can have any number of cross-categories.
-
Categories can have different numbers of cross-categories.
The following shows an example of a properly formatted cross-category file:
Clothing>Tops>Blouses::Clothing>Bottoms>Trousers::Footwear>sandals::Jewelry>Necklaces
Clothing>Tops>T-Shirts::Clothing>Jeans::Accessories>Sunglasses
Clothing>Dresses>Midi Dresses::Footwear>Sandals