Skip to content

spree-edge/spree_yotpo_reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree Yotpo Reviews

About

A Spree extension that provides ability to add reviews to the products

Prerequisites

  • Create a new account with Yotpo
  • Go to On-Site Widgets >> Review Tab & SEO Page and copy the script from The Reviews Tab

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_yotpo_reviews'
  2. Install the gem using Bundler

    bundle install
  3. Copy & run migrations

    bundle exec rails g spree_yotpo_reviews:install
  4. Restart your server!

If your server was running, restart it so that it can find the assets properly.

  1. Go to Admin Panel Integrations >> Yotpo Reviews and add the copied script and check the enable checkbox after installing gem

    • NOTE: Yotpo Reviews will not work if the checkbox is not marked as enable.
  2. Render this partial <%= render "spree/shared/yotpo_widget", locals: {product: @product }%> where you want to add reviews for the specific product

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published