Amazon.Com Module HelpThe 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 featureTo 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.
SettingsThe 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 OutputThe 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.phpAlternate download here:
http://www.snipe.net/content/php_stuff/downloads.php