App Overview:

1. App Information

2. Integration Benefits

  • Display reviews/ratings in the product item.
  • Display filter option by ratings/reviews.

Instruction:

Attention: The current document only works with the new front-end lib from Boost Commerce. Please read this document first to know if you are using the latest version.

Build Rating for the product items:

  1. Go to your Shopify store admin > Online Store > Themes
  2. In Live theme > Actions > Edit code.
  3. Copy the following code snippet to your clipboard: 
// For boost-pfs-filter.js 

'<ryviu-widget-total' +
' reviews_data="{}"' +
' product_id="{{itemId}}" handle="{{itemHandle}}">' +
'</ryviu-widget-total>' +

// For boost-pfs-filter-html.liquid

<ryviu-widget-total reviews_data="{}" product_id="[[itemId]]" handle="[[itemHandle]]"></ryviu-widget-total>

Go to the boost-pfs-filter.js file, then find productGridItemHtml which is the template of the product item after filtering, and paste the snippet to where you want the Ratings to appear, for example, under the product price:

If productGridItemHtml variable does not exist, please check the file boost-pfs-filter-html.liquid

Build a filter option by ratings/reviews

If you would like to create a filter option by reviews, please contact us at [email protected].

Did this answer your question?