No commit activity in last 3 years
No release in over 3 years
This extension works with classic Ordergroove server. There latest upgrade which needs Oath is not included
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 3.0.0
 Project Readme

SpreeOrderGroove

Order Groove provide the retain engine for ecommerce web sites, all customer sign up for auto delivery. This spree extension integrate it into spree.

Installation

This extension integrate the classical OrderGroove server. It tags products page, checkout pages, create credit, and provide the drop order API to orderGroove.

you need one orderGroove account to test it.

This extension assume you are using multi-domain extension or the spree 3.0 which support multi-domain. The API call you give to OrderGroove will be: yourdomain.com/api/orders/ogcreateorder

one example call in linux is: curl -X POST -H "Content-Type: text/xml" -d "@the_order_from_ordergroove.xml" --header "X-Spree-Token: the_token_you_authorize_ordergroove" yourdomain.com/api/orders/ogcreateorder

Setup in Spree

Create new production, add the rule of Order Groove Auto delivery discount you can add other rules to limit it Add action for Percent Per Item, and set the percent you want.

gem 'spree_order_groove'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_order_groove:install

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

register the promotion using this code inside config/initializers/spree.rb: Rails.application.config.spree.promotions.rules << Spree::Promotion::Rules::Autodelivery

Contact me at albertliu at naturalwellbeing dot com.

Copyright (c) 2015 Naturalwellbeing.com, released under the New BSD License