SpreeCommerce Development: Adding Reviews to your eCommerce Store

SpreeCommerce Development

Why reviews are needed in any eCommerce platform?

  1. It increases total sales.
  2. It establishes customer engagement.
  3. It improves site ranking.
  4. 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.

gem 'spree_reviews', github: 'spree-contrib/spree_reviews'

gem 'spree_reviews', github: 'spree-contrib/spree_reviews',

branch: 'X-X-stable'

Note: The branch option is important: it must match the version of Spree you’re using. For example, use branch: ‘3-0-stable’ if you’re using Spree ‘3-0-stable’ or any ‘3.0.x’ version.

2. Install the gem using bundler:

bundle install

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.

Further Reading:

Top 5 Reasons to Choose Spree Commerce for Your Store

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.

Click here for more blogs

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!

Related posts

Django User Groups and Permission

byShardul Bhatt
5 years ago

Would you Advice Java for Developing the Best FinTech App?

byShardul Bhatt
2 years ago

Top 12 Website Examples Built with Ruby on Rails

byShardul Bhatt
3 years ago
Exit mobile version