Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 2.14 KB

README.md

File metadata and controls

59 lines (38 loc) · 2.14 KB

Channable integration for Spree Commerce

Build Status Gem Version

Channable offers many ways to transform a product feed to many marketplace formats. On top channable offers an order connection to accept incoming orders from connected marketplaces. This gem connects your spree store to the channable platform. The feeds are configurable and can be directly loaded into channable. The order connection can be enabled by channable on request and can be easily configured through the spree admin panel.

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_channable'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_channable:install
  1. Schedule order imports

Schedule the SpreeChannable::OrderImportJob.perform_later to run every SpreeChannable.configuration.polling_interval minutes. This script will pull all orders placed SpreeChannable.configuration.polling_interval minutes ago. Please configure the integration through the channable settings under spree configurations before running the script.

  1. Restart your server

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_channable/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 Fabian Oudhaarlem, released under the New BSD License