AMAZON LINK

[amazon_auto_links id="123"]



<?php AmazonAutoLinks( array( 'id' => 123 ) ); ?>

label – the label associated with the units

[amazon_auto_links label="WordPress"]



<?php AmazonAutoLinks( array( 'label' => 'WordPress' ) ); ?>

asin – ASINs (product IDs) separated by commas (`,`).

[amazon_auto_links asin="B016ZNRC0Q, B00ZV9PXP2"]



<?php AmazonAutoLinks( array( 'asin' => 'B016ZNRC0Q, B00ZV9PXP2' ) ); ?>

search – Search keywords separated by commas (`,`).

[amazon_auto_links search="WordPress"]



<?php AmazonAutoLinks( array( 'search' => 'WordPress' ) ); ?>

The idasin and search arguments cannot be used together.

Optionally, the following arguments may be set.

These values can be pre-defined from the setting page via Dashboard -> Amazon Auto Links -> Settings -> Default.
If these arguments are omitted, the values set in the setting page will be used.

HOW TO CREATE OWN TEMPLATE

Step 1

Copy an existing template that is located in ...wp-content/plugins/amazon-auto-links/template and rename the copied folder.

Step 2

Remove the files besides style.css and template.php as other files are optional.

Step 3

Edit style.css and template.php to customize the layout.

Step 4

Create a folder named amazon-auto-links in your theme’s folder. If you are using Twenty Thirteen, the location would be ...wp-content\themes\twentythirteen\amazon-auto-links.

Step 5

Move the working folder(the copied one) to it (the amazon-auto-linksfolder you just created).

Step 6

The plugin will automatically detect your template and add it in the template listing table. So activate it.

UPGRADING V1 TO V2

When upgrading v1 to v2, a few options will be lost. That includes:

  • Sidebar widget
  • The positions of the inserting area

These options need to be reconfigured.

HOW TO OBTAIN ACCESS KEY AND SECRET KEY

For the search unit type, an access key and its secret key are required to perform API requests.

We need to deal with additional two separate Amazon services apart from the Amazon Associates.

Step 1 – Create a Product Advertising API Account

Before you create an access key, you have to make sure you have singed up with Amazon Product Advertising API.

Step 2 – Sign up with Amazon Web Service

Next, create an account with Amazon Web Service(http://aws.amazon.com/). At the top right pull-down menu, you can navigate to My Account/Console -> Security Credential.

Step 3 – Create an Access Key

In the Security Credentials page, find the section named Access Keys (Access Key ID and Secret Access Key) and click on that.

Then press the Create New Access Key button to create a key. Don’t forget to keep the secret access key as well. Amazon has changed the policy not to let the user to obtain the secret key later on.

Also note that at the point that an access key is issued, if you have not created an account with Product Advertising API, the key will be invalid. If that happens, delete the created access key and go back to the previous step.

You can check if your access key is valid or not with Scratchpad.

Screenshots

Contributors & Developers

“Amazon Auto Links – Amazon Associates Affiliate Plugin” is open source software. The following people have contributed to this plugin.

Contributors

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s