Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Versionfile
Octocat-spinner-32 spree_product_status.gemspec
README.md

SpreeProductStatus

This Spree Commerce extension adds a Status menu item to your product admin. Usage:

  • Product statuses can have attributes that effect the display of the product. In the default statuses included the pre-sale item causes Spree::Product.purchasable? to be false. Attributes associated with these statuses can easily be modified via Spree::ProductStatus::STATUSES
  • Display status notifications associated with a product via product_statuses_display helper
  • bundle exec rails g spree_product_status:install to install database migration

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

Copyright (c) 2012 Michael Bianco, released under the New BSD License

Something went wrong with that request. Please try again.