spree_user_product_photos

This Spree extensions Gives a logged in user a possibility to upload picture of a product. It is later reviewed by an admin.

Last updated on: February 25 at 09:52 AM

source code bug tracker
Opensource
6 6 1
owner:  netguru

SpreeUserProductPhotos

Build Status Coverage Status Code Climate

This extensions Gives a logged in user a possibility to upload picture of a product. It is later reviewed by an admin.

How it works?

As a logged in user:

  • i can go to product page and upload a new photo of a product
  • see if any of my photos are pending to review
  • see uploaded photos of other users

As a logged in admin i can:

  • see a list of products photos awaiting for review
  • accept or reject a photo.

Demo

If you want to see how it works, visit our demo shop.

You can login:

  • as a customer customer@example.com / customer
  • as an admin salesman@example.com / salesman

Installation

Add spree_user_product_photos to your Gemfile:

gem 'spree_user_product_photos'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_user_product_photos:install

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_user_product_photos/factories'

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

comments

Thanks for short guide :) I want to recommend you inspiring blog (https://blog.zaven.co/) created by polish developers :) Let me know what you think!

compatible spree versions
tags spree versions
master ~> 2.1.4
authors
Netguru