Skip to content

Adds amazon products to your spree store for affiliate sales.

License

Notifications You must be signed in to change notification settings

ecielam/spree_amazon_affiliate

Repository files navigation

SpreeAmazonAffiliate Build Status Dependency Status Click here to lend your support to: SpreeAmazonAffiliate and make a donation at www.pledgie.com !

The purpose of this Spree extension is to allow store admins to easily add products from Amazon to their store through the admin interface. When viewing the Amazon product page rather than adding the product to the cart the user will be sent to Amazon's product page using an Amazon Affiliate link.

When running an import of products the work will be offloaded to Delayed::Job if your uses it.

Installation

Add to Gemfile:

gem 'spree_amazon_affiliate', :git => 'git://github.com/jdutil/spree_amazon_affiliate'

Run:

$ bundle
$ rails g spree_amazon_affiliate:install

Modify config/amazon_affiliate.yml to set your AWS credentials.

Issues

Please report any bugs or feature requests to the Github issues page @ https://github.com/jdutil/spree_amazon_affiliate/issues

Contributing

In the spirit of free software, everyone is encouraged to help improve this project.

Here are some ways you can contribute:

  • by using prerelease versions
  • by reporting bugs
  • by suggesting new features
  • by translating to a new language
  • by writing or editing documentation
  • by writing specifications
  • by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
  • by refactoring code
  • by resolving issues
  • by reviewing patches

Testing

$ bundle exec rake test_app
$ bundle exec rspec spec

TODO

  • saving a product from amazon should properly handle variants
  • import validation / wrap into a single transaction
  • ability to set amazon settings in admin
  • better test coverage / remove defunct code
  • use official aws-sdk gem rather than amazon-ecs
  • translate to new languages

Copyright (c) 2011 Jeff Dutil, released under the New BSD License

About

Adds amazon products to your spree store for affiliate sales.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published