/spree_nice_checkout

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Spree Nice Checkout

This Spree extension adds a Shopify style checkout to your Spree 3.7 store. Why?

  • If you have recently moved from Shopify your existing customers won't notice a huge change.
  • Shopify is so wieldy used, so much so that a large percentage of people know the Shopify checkout flow and feel reassured.
  • Bypass the default spree registration step that interrupts the checkout flow from cart to checkout.

ToDo

  1. Discounts need ajax updating when applied. Currently the discounts updates via a page reload if successful, also could do with ability to remove discount code if user wishes to.

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_nice_checkout', github: 'matthewkennedy/spree_nice_checkout'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_nice_checkout:install
  1. Delete checkout and address folder from your spree views folder so the extension views will override.

If your server was running, restart it so that it can find the assets properly.

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_nice_checkout/factories'

Contributing

If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.

Copyright (c) 2019 [name of extension creator], released under the New BSD License