Brickspace Lab
Contact usContact ShopifyTry a theme
General
General
  • Theme support
  • General
    • Contact support
    • Theme comparisons
  • Theme basics
    • Edit default content
    • Use custom templates
    • Use and install apps
    • Improve page speed
    • Update your theme
    • SEO for Shopify
  • Accessibility for Shopify
  • Developer guides
    • Advanced customizations
  • Use a custom font
  • Install a review app
  • Design with Figma
  • Support
    • Support policy
    • Theme license
    • Store access request
    • Hire a Shopify developer
  • Partners
    • Theme affiliate program
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub

Install a review app

Last updated 19 days ago

Was this helpful?

We do not provide support for code customizations

If you are not comfortable making code changes, we highly recommend .

Most apps support app-block install for reviews widgets.

To display ratings and reviews properly in our Shopify themes, a standard metafield is used. If your review app doesn't use this metafield, you'll need to edit the code to integrate review widgets throughout

Changing review and rating metafields

1

Find correct metafields

  • Identify the metafields used by your review app - you may have to look through app documentation or contact support.

2

Edit code

  • Open up component__rating.liquid

  • If you can't find a metafield from your app that points to the max value then you can manually set this. E.g. if your rating system goes from 0-5 you would set max to 5.

  • Update lines 29-31 to point to your app metafields. After making changes it should look something like this. The below example uses metafields from Loox.

component__rating.liquid
{% assign rating = product.metafields.loox.avg_rating | times: 1 %}
{% assign rating_count = product.metafields.loox.num_reviews  %}
{% assign max = 5 %}
hiring an expert developer