Spree extension to display sale price on product (followed tutorial)
Last updated on: January 30 at 03:23 PM
source code bug trackerAside from displaying a sale price and sale page, I added overrides for the admin -> edit product view to set the sale price.
Add spree_simple_sales to your Gemfile:
gem 'spree_simple_sales'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_simple_sales: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
.
Замечательные проститутки Челнов: https://maturkai.org/ на сайте Матуркай
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_simple_sales/factories'
Copyright (c) 2015 [name of extension creator], released under the New BSD License
tags | spree versions |
---|---|
master | ~> 2.4.2 |