Configure amazon module for drupal
Amazon associate used to be an popular program for monetizing the website content, But google adsense is getting more popular right now. But Amazon is still popular for specific kind of website content. And drupal also come with an Amazon module to insert amazon product into the website .The Amazon module have the following functionality of inserting amazon content into the website
- Amazon field: provide a CCK field for Amazon products
- Amazon Filter: let writer use the amazon tag to embed Amazon product information in text
- Amazon media: store additional product information for Amazon product
- Amazon Search: provide an API for seaching Amazon products
Amazon field is the most common used component that we will talk about in our implementation, because It is integrated with the powerful CCK machanism for easy use and customization.
Install the Amazon module
- Download the Amazon module and extract it into drupal directory 'sites/all/modules'
- Go to 'Site building->modules' to enable the module.
- Go to 'Site configuration->Amazon API' to configure

By default, the module use drupal association ID, where you might want to change to your own Amazon associate ID, and this is the only neccessary setting in order to use the module
- Now we could go to the 'test tab' to check if our setting is correct by entering th 'ASIN' number of a Amazon product. The 'ASIN' number could be find in the 'Products Detail' section (ISBN number for books) .

Confiure Amazon field for content type
Now we could proceed to add Amazon field to the content type as any other CCK field to insert Amazon product into the content, we will use the 'story' content type as an example.
- Go to 'Content management->Content types->Edit story->Manage fields' to add Amazon field to the content type story.

- Now when we create a story content, there will be Amazon field we could fill in the product 'ASIN'(or ISBN for books) and the Amazon product will appear in the bottom of our story both in the teaser and full node view, we could always change this behaviour in CCK settings.

That is really simple and another example for showing the power of drupal!
