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.
If you want to see how it works, visit our demo shop.
You can login:
- as a customer
- as an admin
Add spree_user_product_photos to your Gemfile:
Bundle your dependencies and run the installation generator:
bundle bundle exec rails g spree_user_product_photos:install
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:
Copyright (c) 2014 Netguru, released under the New BSD License