Add link_to_ajax_cart helper for Spree
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
lib
script
spec
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
Versionfile
spree_ajax_cart.gemspec

README.md

SpreeAjaxCart

Add link_to_ajax_cart helper for Spree

Basic Installation

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

Example

  1. add new link to cart nav menu:
    <%= link_to_ajax_cart("Custom Text") %>
    

Copyright (c) 2012 [Damiano Giacomello], released under the New BSD License