Sorting Rules

You can use sorting rules to control the order in which search results appear to help your customers quickly find the products they are interested in.

There are several ways you can use sorting rules on a site, as follows:

You can use sorting rules alone, in a campaign, or in an A/B Test. You can set a default sorting rule for a category in a site catalog, outside the context of a campaign or A/B test. You can use sorting rules in a campaign to ensure that product search results appear in the order you specify as part of the campaign. You can configure an A/B test segment that defines sorting rules that apply to only a segment of visitors.

Before you begin, it's important to understand how sorting rules work. Concepts include the order in which rules are applied, how ties are broken, sort order direction, inheritance, and how variation products and product sets are handled.

You create all sorting rules by selecting site > Merchant Tools > Search > Sorting Rules. You can use them to sort keyword search results, category-based search results, and customer initiated sort. Both keyword and category sort can be included in campaigns and A/B tests.

See Creating Sorting Rules.

Multi-Site Sorting Rules

Multi-Site Sorting Rules apply a sorting rule globally across all sites. Instead of having to apply the same sorting rule to each site individually, a multi-site rule can be used. You can change the rule context from individual site to global (and vice versa) in Business Manger or you can use the Import / Export functionality.
Note: To allow changing the context from “site” for “global”, users must have the Manage_Global_Sorting_Rules setting (located at Business Manager > Administration > Organization > Roles > User > Functional Permissions > Organization) set to true.

Category Sorting Rules

The sorting rule assigned to a storefront catalog's root category is used for category sorting. Sorting rule inheritance ensures that the root sorting rule is inherited by all subcategories of the catalog, if it's not overwritten on a subcategory level with another sorting rule.

The sorting rule applied to category-based search results is set for the root category of the navigational catalog. See Recommended Keyword Rule Sorting Order.

You can also select the category position standard attribute for a sorting rule if you want to place specific products in a particular order for a specific category.

See Using Category Position.