spree_amazon_api

Spree <→ Amazon
Requirements

Spree >= 0.60.0
Installation

Add to Gemfile:

gem “spree_amazon_api”, :git => “git@github.com:pronix/spree_amazon_api.git”

run task:

rake spree_amazon_api:install

run migrate: (add amazon_id to product table)

rake db:migrate

Root taxons define in file: db/amazon_categories.yml
Configure Amazon access:

Setting amazon options in amazon.yml file( Rails.root/config).
Configure example:

development:
:configure: # acces options
:aWS_access_key_id: 0XQXXC6YV2C85DX1BF02
:aWS_secret_key: fwLOn0Y/IUXEM8Hk49o7QJV+ryOscbhXRb6CmA5l
:response_group: ‘Large’
:country: ‘us’ # region
:query: # search options
:q: “%{q}” # %{q} replace on user keywords
:options:
:search_index: ‘Books’
:response_group: ‘Large, Accessories’
:sort: “salesrank” # default sort

production:
:configure:
:aWS_access_key_id: 0XQXXC6YV2C85DX1BF02
:aWS_secret_key: fwLOn0Y/IUXEM8Hk49o7QJV+ryOscbhXRb6CmA5l
:response_group: ‘Large’
:country: ‘us’
:query:
:q: “%{q}”
:options:
:search_index: ‘Books’
:response_group: ‘Large, Accessories’
:sort: “salesrank”

Search options

To customize the search, set search format in param :q(Rails.root/config/amazon.yml)

For instance: if you set :q with “%{q} made in Vermont” then user query “tools” will be replaced with “tools made in Vermont”



Comments

mehatem asheanffi said on July 01, 2011:

I love anything that does with amazon. you did not explain what this extension does. Я люблю все, что делает с Amazon. Вы не объясните, что это расширение делает.

Dima said on August 04, 2011:

this plugin fetch data from amazon for sell from spreebased shop.

mehatem asheanffi said on August 10, 2011:

Do you have a working site with the amazon api

Login to Comment.

This project is maintained by a core team of developers and is freely available for commercial use under the terms of the New BSD License.

Spree, Spree Commerce and the Spree logo are all trademarks of Spree Commerce, Inc.