Spree Commerce extension to display the original price of a product
Last updated on: August 04 at 11:56 PM
source code bug trackerSpree Commerce extension to display the original price of a product. Useful for users to compare it to the sales price.
Add spree_display_original_price to your Gemfile:
gem 'spree_display_original_price'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_display_original_price:install
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
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_display_original_price/factories'
Copyright (c) 2015 Erik Markhauser, released under the New BSD License