Skip to content

freego/spree_feeds

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
 
 
doc
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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