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.
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
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
Currently supported Spree version: 4.x.x+
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.