You can customize the refinement bar to change the order in which results appear, the look and feel of the search refinement bar, or how many refinements a customer can select simultaneously.
When creating refinements, you set the order in which the entries within the refinements appear by selecting one of the following sorts:
You can define search result refinements within a specific category in the storefront, such as category refinements, price refinements or attribute refinements.
The following example shows the results of the three sorting modes. Assume that the Site Catalog, with sorted subcategories is as follows:
Women's Clothing |
Women's Accessories |
Women's Jewelry |
The customer searches for "silver".
If the category refinement is... | Then the sorted order is... | The hit count is... |
---|---|---|
Sorted by Value Name (alphabetical) | Women's Accessories | (56) |
Women's Clothing | (235) | |
Women's Jewelry | (12) | |
Sorted by Value Count | Women's Clothing | (235) |
Women's Accessories | (56) | |
Women's Jewelry | (12) | |
Sorted by Category Position | Women's Clothing | (235) |
Women's Jewelry | (12) | |
Women's Accessories | (56) |
Developers can change the appearance of the refinement bar using the
productsearchrefinebar.isml
template. Developers can change the placement of
the refinement bar by editing any of the pagetype templates that wrap the search results:
pt_contentsearchresult.isml
or
pt_productsearchresult.isml.
The standard search refinements are available for all categories. In addition, you can add up to five search refinements per category and inherit refinements from parent categories. The most significant restriction on the number of search refinements you choose to have is the amount of page space you want to devote to the refinement bar.