Visual Facets

Overview

It's often helpful though to provide a facet navigation before getting to all of the products, especially if there are many products or facet options. It's also helpful to provide an image along with the facets for visibility. This visual facet approach can reside within the facet structure on the left:

These visual facets can also be presented on the top of the page even before the rest of the products are presented:

Configuration

There is a facet type called "swatch" which turns on the support for a visual option:

You'll see that you can add images at the bottom of this page:

The images are listed within the facet:


Config OptionDescription
ValueThis is critical - it is the value that will be passed in the search request. For example if the image is a Jacket to represent a facet value for Jacket, the value would be "Jacket." Note that by default, Rapid UI expects that each value in your indexed data has a visual representation, otherwise it will not know what to use visually for the facet value.
Is defaultOne of visual facets must be set to "Is default" - it does not impact the initial results.
Input typeThis is either an image or a hexadecimal value which can be entered or picked from a color picker
Image sourceIf the input type is Image upload then you can either upload it and and HawkSearch will host the image or you can enter the URL to the image.
ImageThis is the option to upload the image if you can not host it and provide a URL.