Adding priority for items in search result

We can prioritize specific products, like Starburst Electrodes, in search results by adding a special field such as a “Priority” in the item record. This way, products with the priority setting will appear first when we are searching for anything. 

For this, we need to add a field in the item record. we can do it with the input field also. So, we can sort based on that field values. Also, we need to update the code based on the new field.

Assumption

We assume that we want to give priority to a few items. 

The item will sort and displayed in top order if that item is in the search result. 

Also, we will be using the default SCA search results. 

Leave a comment

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