Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 664 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 664 Bytes

SpreeBanner

Add banner for Spree Commerce Shop [compatible with Amazon S3]

Basic Installation

  1. Add the following to your Gemfile
  gem 'spree_banner', '~> 1.3.0'
  1. Run bundle install
  2. To copy and apply migrations run:
	rails g spree_banner:install

Example

  1. 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