Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2010, 09:24:26 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
121688 Posts in 17370 Topics by 9217 Members
Latest Member: darkforceheals
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Module: Amazon.Com Affiliate shop
Pages: [1] Go Down Print
Author Topic: Module: Amazon.Com Affiliate shop  (Read 13923 times)
snipe

Offline Offline

Posts: 62


WWW
« on: January 21, 2006, 12:27:04 PM »

Amazon.Com Module Help
The Amazon.Com module was written to allow WebsiteBaker users to add Amazon.Com affiliate listings to their websites. This module supports groups and ordering, and includes a feature that allows administrators with an Amazon.Com subscriber ID to fetch product information directly from the Amazon.Com XML feed, to avoid having to enter all of the product details manually.

This feature WILL not work unless you have an Amazon.Com subscriber ID. If you do not have a subscriber ID, you must sign up for one at the Amazon.Com Web Services website.

Be sure to update the settings to reflect your own Amazon.Com associate (affiliate) ID, if you want your account to get credit for the purchase!

Using the Fetch feature
To grab the current Amazon.Com information from the Amazon.Com XML, simply add or edit a product so that you are on the Modify Product Details page, and then enter the ISBN/ASIN number of the product you'd like to add, then click FETCH. If there is a matching ISBN/ASIN number, the Edit Product form will be pre-populated with your product's details. This can be used to add a new product, or to update your current listings.

Settings
The settings page is GLOBAL, meaning the settings controlled there will affect any and every istance of the bookstore on your site. The reason for this is that it could get annoying to to have to enter your subscriber and affiliate IDs for each page. Below are the fields handled by the Settings page:

Subscriber ID: mentioned above - this is needed to generate the XML feed used in the Fetch process. It is not needed if you just want to manually enter items into your store, but that can get tedious, so signing up for a subscriber ID is recommended if you plan on adding a lot of products.

Affiliate ID: this is the Amazon associate ID that you use in your associate links to track the referrer. If you don't change this in your settings, Amazon.Com won't know who to credit the purchase to.

Amazon.Com Country: this is the .tld for the localized version of the Amazon.Com domain you are using. For example, American users would enter com, German users would enter de, etc. (As of this first release, I don't know if this works properly or not, since I am not an affiliate in a non-US country.)

Image Size: Using the Fetch feature, you have a choice of small, medium or large images. Pick whichever best suits your site layout. Note that if you change this halfway through building your product collection, you will have to go back and update the products you have already added. This setting is only used by the Fetch feature, so if you are manually entering an image url, it won't matter what you select.

Show List Price: Do you want to display the list price for each product? (List price is usually lower than actual price, so it gives the appearance that the customer is getting a good deal.) If the list price field is left blank, it will not be displayed, regardless of what you choose here.

Show Used Price: If there are used versions of your products available, do you want to display the used price?

Index page displays ONLY groups? If this is set to Yes, no product images will be displayed on the store index page. If set to No, items without a group associated to them will appear on the inddex page.

Show group links on every page? If this is set to Yes, the list of available groups will be displayed at the top of every page.

Customizing Output
The HTML layout of products listing is set in the results.layout.php file in your /modules/amazon/ directory. Template variables are set, and you can completely customize the way the product loop is displayed by editing the HTML in this file.

Working user demo is here: http://www.snipe.net/content/php_stuff/books.php
Alternate download here: http://www.snipe.net/content/php_stuff/downloads.php
« Last Edit: January 22, 2006, 08:31:03 AM by snipe » Logged

needasitefast

Offline Offline

Posts: 31


« Reply #1 on: January 24, 2006, 12:32:46 PM »

Ok, so I installed the module, signed up for an affiliate account, signed up for a webservices account.

There is no subscriber ID listed. Apparently there are two keys.
I did some checking and I also see a webservices account #.

What do I put in Subscriber ID field?

Info I looked up:

    * Account Number: All Amazon Web Services accounts have an Account Number. This is a unique value that is associated with your account and that will never change. Your Account Number is displayed at the top of the Account Activity page. Should you ever need to contact Amazon about your account, it will be useful to have your Account Number handy.

    * Access Key ID and Secret Access Key: All Amazon Web Services accounts have a combination of an Access Key ID and a Secret Access Key. Include your Access Key ID in web service requests to identify yourself as the party responsible for the request. Use your Secret Access Key to sign requests to web services that require a request signature. To learn more about request signatures, including why and when you use them and how you calculate them, read our article on Amazon Web Services Request Authentication.

    * Subscription ID: If you created your account prior to October 11, 2005, you have a Subscription ID. If you have already built an Amazon Web Services application using your Subscription ID, you may continue using your Subscription ID. If you are building a new application, we encourage you to use your Secret Access Key and Access Key ID instead.
   
* Developer Token: If you signed up to use Amazon Web Services prior to August 2004, you have a Developer Token. As Developer Tokens are no longer supported and will not work with newer services, we encourage anyone who has a Developer Token to create a new account.

Thanks for your help.
Logged
snipe

Offline Offline

Posts: 62


WWW
« Reply #2 on: January 24, 2006, 05:35:48 PM »

subscriber ID = Subscription ID
Logged

bupaje

Offline Offline

Posts: 482


WWW
« Reply #3 on: January 25, 2006, 02:56:56 AM »

If you have signed up just go to http://www.amazon.com/gp/browse.html/?node=3435361 login, then in the upper right corner find the "Your Web Services Account" then select "View Access Key Identifiers" the Access Key ID is your Subscription ID. The secret key is not for use in the module. You can go to http://associates.amazon.com/ and sign in and you will see your associates ID in the upper right hand corner.
Logged

needasitefast

Offline Offline

Posts: 31


« Reply #4 on: January 27, 2006, 10:00:53 AM »

I dont know about anyone else, but fetch just kinda sits there for me.

My access key is: 17KS40BSTK3ZTBGVTW0 2
My affiliate id is: americanwomen-20
Book to fetch is: 1931930244

Happy testing!
Logged
snipe

Offline Offline

Posts: 62


WWW
« Reply #5 on: January 27, 2006, 10:08:54 AM »

It's just you.  That access key and affiliate ID worked FINE for me.  You should make sure your php.ini is set to display_errors and turn your error reporting on to see if php throws any errors, and check your php and apache site logs to see if they logged any problems.

And you should work on being more courteous to people who give you things for free.
Logged

needasitefast

Offline Offline

Posts: 31


« Reply #6 on: January 27, 2006, 11:32:47 AM »

And you should work on being more courteous to people

Anyone can see that your sarcasm doesn`t exactly inspire friendliness..
aka  your sarcastic "kreskin" comment.
Logged
snipe

Offline Offline

Posts: 62


WWW
« Reply #7 on: January 27, 2006, 05:45:34 PM »

That wasn't sarcasm - that was a friendly way of saying "Uhm, yeah - if you want help with this, you should really give us a little more to go on."  I'm sorry if you took it to be a nasty remark, but it wasn't.  I guess I hadn't realized what an emotionally sensitive crowd we have here.  That said, when you need help from someone, you *should* be posting basic information so that they can help you.  "It doesn't work" is hardly sufficient.  Errors you are getting, what parts work, what parts don't work, how you are able to reproduce the errors, the version of PHP you're using, whether or not you have error reporting on, what your errors logs have to say about what's happening, and so on.  Learning to ask for help with the right information will help you for years to come, not just here.
Logged

Stefek

Offline Offline

Posts: 3535



WWW
« Reply #8 on: November 13, 2008, 10:40:59 PM »

Hello
@ all coders.

I need this Module for one of my Projects but it do not work correctly with 2.7 (with 2.6.5 it did).
It works correctly but I get a lot of arrors.

Is there anyone willing to take a look at this.
I would really appreciate any help on this.

Best Regards,
Stefek
Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
bdking

Offline Offline

Posts: 1


« Reply #9 on: August 20, 2010, 06:39:46 PM »

I really liked this module, but it looks like it has been abandoned.  I started a project on sourceforge for this module, and fixed some of the issues it has connecting to Amazon Web Services.   Also, I updated the codebase to work wiht WB 2.8/2.7.  Here is the link. 
https://sourceforge.net/projects/amazonbookstore
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
-->