Add banner for Spree Commerce Shop [compatible with Amazon S3]
- Add the following to your Gemfile
gem 'spree_banner', '~> 1.3.0'
- Run
bundle install
- To copy and apply migrations run:
rails g spree_banner:install
- add banner helper method in your view:
<%= insert_banner_box(:category => "my_category") %>
and add banner in the admin section 2. Additional options:
:class => "my_class" :style => "my_style" :list = true|false
Copyright (c) 2012 [Damiano Giacomello], released under the New BSD License