Sort Items on web store by Product Reviews

User wants to sort items on commerce categories/search results in web store by Product Reviews

Pre-requisite:

  1. Reference Product Review Records bundle must be installed on your account

To sort items by product reviews, do the following:

  1. Navigate to Commerce Web Sites Website List
  2. Select Edit the SCA website
  3. Under Search Index Sort Fields, Add Product Reviews Rating (Custom) in the list
  4. Choose Save
  5. Go to Commerce Web Sites Configuration
  6. Select Web Site and Domain
  7. Choose Configure
  8. Under Search Result Sorting, set the following values in a new row in Desktop, Laptop and Mobile section:

ID = custitem_ns_pr_rating:asc

      Note: will sort items by review rating in ascending order. To sort items in descending order, use “custitem_ns_pr_rating:desc”

    * Name = name of the sort option that will be displayed on web store (such as Ratings, High to Low)

   9. Choose Save

Leave a comment

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