Result Sorting Subtab

These settings specify the sorting options available in the Sort By drop down menu, grouped by browser type (desktop, phone, or tablet). Sort fields must first be defined in the Web Site Setup record. For details on defining sort fields, see Select and Configure Sort Fields.

Each sort property contains the following (note the different property IDs for each browser type):

  • ID (string) – specifies the ID of the search option.
  • Name (string) – specifies the label used to identify the sort option.
  • Is Default (Boolean) – specifies the default active search option.

Desktop

This array specifies the sorting options available in the Sort By drop down menu on desktop browsers.

IDssortOptionssortOptions.idsortOptions.namesortOptions.isDefault
UI locationSearch > Result Sorting
JSON fileSearchSort.json
Configuration file (pre-Vinson)SC.Shopping.Configuration.js

Phone

This array specifies the sorting options available in the Sort By drop down menu on phone browsers.

IDssortOptionsPhonesortOptionsPhone.idsortOptionsPhone.namesortOptionsPhone.isDefault
UI locationSearch > Result Sorting
JSON fileSearchSort.json

Tablet

This array specifies the sorting options available in the Sort By drop down menu on tablet browsers.

IDssortOptionsTabletsortOptionsTablet.idsortOptionsTablet.namesortOptionsTablet.isDefault
UI locationSearch > Result Sorting
JSON fileSearchSort.json

Leave a comment

Your email address will not be published. Required fields are marked *