SpreeCommerce Development: Adding Reviews to your eCommerce Store
Why reviews are needed in any eCommerce platform?
- It increases total sales.
- It establishes customer engagement.
- It improves site ranking.
- Develop customer’s trust and loyalty.
Spree is a complete open-source E-commerce platform built with ruby on rails. Spree platform provides “spree_reviews” gem. Spree_review gem provides a simple and straightforward review/rating functionality for a spree E-commerce platform.
How to install?
1. Add “spree_reviews” gem in your gem file.
- Spree >= 3.1
gem 'spree_reviews', github: 'spree-contrib/spree_reviews'
- Spree < 3.1
gem 'spree_reviews', github: 'spree-contrib/spree_reviews',
branch option is important: it must match the version of Spree you’re using. For example, use
‘3-0-stable’ if you’re using Spree ‘3-0-stable’ or any
2. Install the gem using bundler:
3. Run the following rake task that copies the necessary migrations and assets to your site:
bundle exec rails g spree_reviews:install
4. Run the migration:
bundle exec rake db:migrate
How to use it?
Users can see review blocks on any product page in a spree.
‘No reviews have been written for this product’ text will be shown if the user has not written any reviews. Users can click on the “Write your own review” button to write any review.
When the user clicks on the “Write your own review” button then the review form appears on the screen.
Click on the ‘Submit your review’ button to submit a review.
Users can see his/her review on the product page after the review has been approved by an admin.
Note: User’s reviews do not appear in reviews block on the product page until an admin can approve those reviews.
Admin can edit, approve or delete the reviews.
Admin can edit any reviews.
Note: Users must be logged into the site for submitting a review.
BoTree Technologies is a leading eCommerce app development company in Ahmedabad that builds top-notch software and solutions to increase business revenue and maximize productivity.
At BoTree Technologies, we build enterprise applications with our Ecommerce team of 10+ engineers.
We also specialize in AI, ML, Ruby on Rails, Python, Django, Spree commerce, NodeJs and ReactJS.
Consulting is free – let us help you grow!
Choose Your Language
- Digital Marketing
- IT Consulting
- Project Management
- Salesforce Development