Skip to content

spreehood/spree_products_qa

 
 

Repository files navigation

SpreeProductsQA

Build Status Coverage Status Code Climate

This extension adds Q&A Sections for products. Logged in users can ask a question, and then admins are able to answer it. All answered (and accepted) questions are displayed on a product page.

This project is a fork of spree_product_qa by Netguru. This is being actively maintained by Truemark Technology to support spree 4.0 and later versions.

How does it work?

Install this extension and edit any product. While editing product, there's now a new section in the submenu - Questions and Answers. In this panel you can add or answer any question. Simple enough? :)

TODO:

  • [] Setup Ability so that user can see the product questions before admin approved

Installation

Add spree_products_qa to your Gemfile:

gem 'spree_products_qa', git: 'https://github.com/TruemarkDev/spree_products_qa.git', branch: 'master'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_products_qa:install

Additional info

Currently supported Spree version: 4.x.x+

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_products_qa/factories'

Copyright (c) 2014 Netguru, released under the New BSD License.

About

Easily add Q&A Sections for products to your Spree-based store.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 73.2%
  • HTML 26.4%
  • SCSS 0.4%