Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Show promotion when viewing categories
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config/locales
db/migrate
public
README.textile
promotion_categories_extension.rb

README.textile

spree-promotion-categories

Installation

script/extension install git://github.com/kpitn/spree-promotion-categories.git

Use

In “/taxons/show.html”


<%= render :partial => “/my_promotions/preview”, :locals=>{:taxon => @taxon }%>

In “/products/index.html”


<%= render :partial => “/my_promotions/preview”, :locals=>{:taxon => @taxon }%>

See extension in action :

Admin


Something went wrong with that request. Please try again.