vinsol-spree-contrib / spree_product_subscriptions

SpreeCommerce product subscription extension lets customers subscribe for a product and get it delivered at the same time every week, month or year over a predefined period of time.
http://vinsol.com/spreecommerce-subscription
MIT License
10 stars 57 forks source link

Spree Product Subscriptions

Spree Product Subscriptions is an extension to let users have time interval based subscription of products in a spree application.

Demo

Try Spree Product Subscriptions for Spree master with direct deployment on Heroku:

Deploy

Try Spree Product Subscriptions for Spree 4 with direct deployment on Heroku:

Deploy

Try Spree Product Subscriptions for Spree 3-4 with direct deployment on Heroku:

Deploy

Installation

Add spree_product_subscriptions to your Gemfile:

gem 'spree_product_subscriptions', github: 'vinsol-spree-contrib/spree_product_subscriptions'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_product_subscriptions:install

You can also seed the default data with:

bundle exec rails g spree_product_subscriptions:seed

Working

Here is a detailed article with screenshot http://vinsol.com/spreecommerce-subscription 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_product_subscriptions/factories'

See It In Action

<img src="http://img.youtube.com/vi/bXJfJSWHspo/0.jpg" alt="Youtube Video Tutorial" />

Credits

vinsol.com: Ruby on Rails, iOS and Android developers

Copyright (c) 2016 vinsol.com, released under the New MIT License