Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 481 Bytes

Spree Product Features

Spree Product Features is an extension for the Spree E-Commerce Platform (http://spreecommerce.com/) that allows you to associate products with features. In this extension, features are just objects with names and images.

Usage

@feature = Feature.create(:name => '10 year warranty', :image => File.open('images/10_year_warranty.png', 'rb'))

@product.features << @feature @product.features.delete(@feature)

Something went wrong with that request. Please try again.