Product Reviews & Ratings for Spree Commerce
Easy Reviews & Ratings integration for Latest Spree Commerce 5.2
Installation
-
Add this your Gemfile with this line:
bundle add spree_product_reviews
-
Copy & Run Migrations:
bundle exec rails g spree_product_reviews:install
-
Copy _json_ld.html.erb from 'app/views/spree/products/' to 'app/views/themes/default/spree/products/' directory:
With this Product Reviews can generate Schema Validiation in Google Schema Like
Note: This can make product reviews visible and notable to Google search engine, Also if you are using a separate theme then replace _json_ld.html.erb file in the exact directory mentioned for example "app/views/themes/mytheme/spree/products/" to make schema work, always recommend to check product link in Rich Results Test. or Schema Markup Validiator. to ensure if script is updated in your store.
-
Compile Assests for Proper Images & JS loading:
RAILS_ENV=development bin/rails assets:precompile
-
Start Server:
foreman start -f Procfile.dev
or
docker compose up -d
Admin & Storefront Previews
- Admin Page Sections (Storefront Theme Editor):

- Product Review Form (Storefront Theme Editor):

- Edit Review from Product (Admin View):

- Approve/Disapprove Reviews (Admin View):

Published Review:
Live Google Search Result Preview:
Features & Roadmap
- Easy integration through Storefront theme editor
- Customisable from storefront
- Approve & Disapprove reviews
- Delete & Unapprove review
- Ratings visible for non-logged-in users
- Images support (Admin side control)
Troubleshooting
For common issues such as:
-
Missing PageBlocks
-
ActiveStorage upload errors
-
Turbo aborted requests
-
Docker / NGINX configuration issues
Refer to the dedicated troubleshooting guide:
