Socket
Book a DemoInstallSign in
Socket

spree_size_chart

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spree_size_chart

1.1.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

SpreeSizeChart Build Status

SpreeSizeChart feature extracted from http://www.hallyustyle.com.

SpreeSizeChart is a spree extension helping your store to provide pertinent product information.

Example

Spree SizeChart Admin

Spree SizeChart Store

Installation

To install SpreeSizeChart, just add the following to your Gemfile:

# for spree 1.0.X
gem 'spree_size_chart', '~> 1.0.0'

# for spree 1.1.X
gem 'spree_size_chart', '~> 1.1.0'

Now, bundle up and run the generator:

bundle
rails g spree_size_chart:install

Customization

The SizeChart markup should let you customize the way you want your SizeChart by using Deface or overriding views/spree/shared/_size_chart.html.erb in your spree app.

If you want to display yourself the size chart, just disable the deface :

# disable size_chart, explicitly put in the view
Deface::Override.new( :virtual_path => "spree/products/show",
                      :name => "add_size_chart_to_show_product",
                      :replace => '',
                      :disabled => true)

See Spree Guide for more information.

Todo

  • Better html markup and HTML test for customization
  • Add translation to size type.

Compatibility

Tested under Spree 1.0.4 Need feedback on Spree 1.1.X

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

$ bundle
$ bundle exec rake test_app
$ bundle exec rspec spec

Contribute

Pull requests for features and bug fix with tests are welcome.

Copyright (c) 2012 [Stephane BOUNMY], released under the New BSD License

FAQs

Package last updated on 21 Jun 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.