mobentec / spree_add_to_cart_ajax

Provide ajax for Spree Commerce add to cart button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spree add_to_cart_ajax

Provide ajax for the add to cart button and display a succesful message below the add to cart form. Currently only support spree 2-4-stable

Build Status

Add spree_add_to_cart_ajax to your Gemfile:

gem 'spree_add_to_cart_ajax', github: 'nathandao/spree_add_to_cart_ajax', branch: '2-4-stable'

Bundle your dependencies and run the installation generator:

bundle

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_add_to_cart_ajax/factories'

Copyright (c) 2014 Guy Nathan, released under the New BSD License

About

Provide ajax for Spree Commerce add to cart button

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 87.9%Language:HTML 5.3%Language:CSS 3.4%Language:JavaScript 3.3%