Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccashwell/spree_add_to_cart_ajax
Provide ajax for Spree Commerce add to cart button
https://github.com/ccashwell/spree_add_to_cart_ajax
Last synced: 3 months ago
JSON representation
Provide ajax for Spree Commerce add to cart button
- Host: GitHub
- URL: https://github.com/ccashwell/spree_add_to_cart_ajax
- Owner: ccashwell
- License: bsd-3-clause
- Fork: true (mobentec/spree_add_to_cart_ajax)
- Created: 2015-05-25T04:24:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-25T04:25:30.000Z (over 9 years ago)
- Last Synced: 2024-04-14T19:58:06.669Z (7 months ago)
- Language: Ruby
- Size: 113 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://travis-ci.org/nathandao/spree_add_to_cart_ajax.svg?branch=master)](https://travis-ci.org/nathandao/spree_add_to_cart_ajax)
Add spree_add_to_cart_ajax to your Gemfile:
```ruby
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:
```shell
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`.
```shell
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:```ruby
require 'spree_add_to_cart_ajax/factories'
```Copyright (c) 2014 Guy Nathan, released under the New BSD License