The ability to sort search results helps customers find the products that they're seeking. Some popular sorting methods include relevancy, name and price. As an example, your customers may be searching for a particular product name and allowing them to arrange items alphabetically (either ascending or descending in direction) gives them the control they need to find products faster. You can only have up to 15 custom sorting options.
Sorting options can be altered on the Sorting page in the SearchSpring Management Console.
If you are not sure what fields to add as sorting options, SearchSpring provides suggestions based on Core Field settings. These recommendations have lighter gray colored text and in the Sorting Label column, are appended by the words "We suggest:". These can easily be added by clicking the "Add" link on the right side of the page.
Sometimes we offer suggestions for fields that are not yet mapped in the Core Field settings. In this case, you can hover over the question-mark icon to read more about how to set up the suggested Core Field.
Adding New Sort Options
In addition to suggestions, you may also add your own custom options. At the bottom of the Sorting page, click the link that says "Add a sort option".
A window will pop up with a few different options.
- Sort field label - This is the label that displays when a user selects a sort option. For example: Name (A - Z).
- Field name - The values here are populated by your data feed. When viewing this list, if you have set a "Label" on the Field Settings page, that name will show instead of the actual field name in the data feed. For example: If the field "reviewcount" was given a label "Review Count" in Field Settings, look for "Review Count" in the sort drop down instead.
- Sort direction - This selects which way you want items to be sorted, either ascending or descending.
- Ascending - If the values are text, items will be sorted by alphabetically, A to Z. If the values are numeric, items will be sorted lowest to highest.
- Descending - If the values are text, items will be sorted by alphabetically, Z to A. If the values are numeric, items will be sorted highest to lowest.
Once an option has been added, you can make changes to it by clicking on the orange pencil icon to the right. A new window will pop up with the different fields you can edit.
For more information on the fields here, look under the title "Adding New Sort Options" on this same article.
When updating a sort option, you cannot change the "Field name". If you would like to change the selected field, you must delete the option and add a new one. Removing an option can be done by clicking the "Delete" link at the bottom of the "Edit Sort Option" window.
The order in which options are displayed to a user can be updated. On the left of any added option, there is an icon that looks like three vertically aligned dots. With your mouse, click and hold on this icon then drag the row higher or lower in the list. Release your mouse click and the option will snap into its new position. This change is automatically saved.
After a user performs a search, SearchSpring adds a default option to sorting called "Relevancy". The "Relevancy" option cannot be removed or rearranged on the Sorting page. The label can, however, be changed by clicking the pencil icon.
The editing window is similar to other edit windows, except that the only thing you can edit for this option is the label itself.