Skip to content

freego/spree_feeds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreeFeeds

Export products feeds from Spree to:

  • Google (with taxon mapping)
  • Facebook
  • Trovaprezzi
  • Le Guide (aka pagineprezzi)
  • ShopAlike
  • Twenga
  • Eprice (with taxon mapping)
  • Kelkoo
  • Cvetta (search engine)

Installation

Add spree_feeds to your Gemfile:

gem 'spree_feeds', github: 'freego/spree_feeds', branch: 'X-X-stable'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_feeds:install

Usage

SpreeFeeds::Google.new.perform

A sidekiq worker is also included:

FeedsWorker.perform_async('SpreeFeeds::Google', 24)

See SpreeFeeds::Configuration for available configurations:

SpreeFeeds::Config.base_url = 'https://mysite.com/'
SpreeFeeds::Config.mappings = ['google', 'eprice']

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

Copyright (c) 2015 freego, released under the New BSD License

About

Export products feeds from Spree to various services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages