Single Page Checkout for Boombotix Spree store.
- Extension of the JavaScript
Spree
object to make API calls to step through the states of the checkout process - Geolocation via Google Maps
- Front-end Validation via jQuery.payment & jQuery.h5validate plugins
- Spree (v.2.2.2)
- Bootstrap (
bootstrap-sass
) - Fontawesome (
font-awesome-rails
)
jquery-ui jquery.payment jquery.h5validate jquery.select-to-autocomplete
Add spree_single_page_checkout to your Gemfile:
gem 'spree_single_page_checkout'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_single_page_checkout:install
Capybara testing via poltergeist -- you'll need PhantomJS installed on your machine.
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_single_page_checkout/factories'
Copyright (c) 2014 [name of extension creator], released under the New BSD License