Frequently Asked Questions

November 16th, 2011 Leave a comment Go to comments
I’ve tried the plugin and it doesn’t do what I want, help?

If you think the plugin doesn’t work, please try contacting me and I will endeavour to help. You can either start a forum topic on the WordPress site or leave a comment on my site on the plugin page Amazon Link Page.

Where do I enter my Amazon Affiliate IDs?

The site owner can enter their Affiliate IDs on the Amazon Link Settings page in the ‘Channels’ section. Enter your IDs for all the locales that you have registered for in the default channel.

Any user of your site (including the owner/administrator) can also add their Affiliate IDs to their User Profile.

It is recommended that the Affiliate IDs in the default channel as set up, as some sections of the site (e.g. shortcodes inserted in sidebar widgets) do not have an ‘author’.

If some of the IDs are not supplied in a User’s profile, or in a particular Channel, then the ones in the default channel will be used instead.

The plugin adds a helper tool to the Post and Page administrative pages of your WordPress site that can be used to generate shortcodes easily and quickly.

If you already know the ASIN then simply enter it into the ASIN input and click on ‘Send To Editor’. If not then there is a facility to search Amazon, by Index, Product Title and or Product Author/Artist. Use this to find the product you wish to link to on your site, then select the appropriate template and other settings and press the ‘Insert’ button. This will insert the shortcode into your post, with all the settings required for the selected template pre-filled.

If you are using ‘live’ data then it will only include keywords that must be provided by the author ‘text’, ‘text1′, etc. If you are using static data then it will also prefill the keywords with the product information retrieved from the Amazon site.

There is also a facility to add cover images from the Amazon items into the local media library as attachments to the post (Press the ‘Upload’ button). The plugin will always use these local images in preference to ones fetched from the Amazon site. These images or the remote ones hosted on Amazon can be used to insert image or thumbnail links into your posts.

Can I create my own templates for product links?

On the plugin settings page there is a section showing all the available templates. Use this to create, delete and copy templates. The template content is based on standard html with additional keywords that are surrounded by ‘%’ characters. These keywords are automatically filled in with the relevant Amazon product information.

See the Template Help on the same page for a description of each of the keywords that can be used.

Most of the keywords are self explanatory: '%TITLE%' will expand to be the product’s title, '%PRICE%' the formatted product’s price, etc.

However links can be created by using the keyword pair '%LINK_START%' and '%LINK_END%' with the subject of the link being placed between them. For example '%LINK_START%Amazon Product%LINK_END%'. The link produced will comply with whatever settings you have used, i.e. localised to the user’s country or produce a multinational popup, it will also use the appropriate Amazon associate IDs.

There are a number of other keywords that are also localised these include: '%LINK_START%' – as described above, '%TLD%' the Top Level Domain to be used ‘.co.uk’, ‘.it’, ‘.com’, etc.; '%MPLACE%' – the Amazon Market place to use ‘GB’, ‘IT’, ‘US’, etc.; '%CC%' – the localised country code ‘uk’, ‘it’, ‘us’; '%TAG%' – The amazon associate tag to use.

By specifying the ‘Live Data’ setting either in the settings page or within the amazon shortcode the data used to fill the template can be generated when the link is displayed. Or if you prefer to use static data or override some of the template content the keywords can be specified in the shortcode.

There are a number of keywords that are only used for static data, these are '%TEXT%', '%TEXT1%', '%TEXT2%', '%TEXT3%', '%TEXT4%'.

The keyword '%ASINS%' can be used to indicate that this template will accept a string of comma separated ASINs to generate its output, for example the Amazon Carousel widget. Normally putting a list of ASINs in the shortcode will cause multiple links to be generated.

Browse the default included templates to see some examples of how the keywords can be used.

Note: the Amazon widgets are currently not supported in some locales (e.g. Canada, Spain & Italy).

What templates are included with the plugin?

The plugin contains a set of basic templates to show how the keywords can be used. The easiest way to create new ones is to copy one of the existing ones and update it to meet your needs.

Most of these templates were created by using the Amazon Affiliate site, generating the widget or link required then copying the generated output into the ‘Template Content’ box. Then quickly replacing any of the static data with template keywords, e.g. the product ASIN, Title, etc.

Currently the plugin has default templates for:

  • Thumbnail link
  • Image link
  • Amazon Iframe based Image link
  • Amazon Carousel Widget
  • Amazon My Favourites Widget
  • Amazon MP3 Clips Widget
  • Wishlist Template

The ‘Wishlist’ template is the default template used for any lists created by shortcodes, as such it must exist. Deleting this template will cause the plugin to recreate any of the default templates that do not exist. This can be used to reset the templates back to their factory settings.

Does the plugin support multiple Amazon Tracking IDs?

The plugin allows the site author to create any number of ‘Amazon Affiliate Channels’ that specify a different set of Affiliate Tracking IDs. This allows the user to monitor how effective particular sections of the site are for generating referrals to Amazon.

The user can generate extra Amazon Tracking IDs by managing their options at Amazon Associates > Your Account > Manage Tracking IDs US, UK.

Then under the Amazon Link Settings page, in the ‘Channels’ section, create a new Channel and enter the tracking IDs created.

Individual WordPress users can also add their own tracking IDs to their User profile. Any page of post that they are the author of will automatically use their Affiliate IDs.

When generating Amazon Link shortcodes, either manually add ‘chan=channel_id’ to the shortcode or use the drop down selector in the Link Tool to choose one of the available channels. Leave blank to adopt the page author’s tracking IDs or use the ones defined in the ‘Default’ channel.

In the future it is intended that the plugin will allow the user to specify Channels by post category/tag/parent, etc.

Associate ID Priority

If the user specifies a Channel in the Amazon Link shortcode then this will always be used (if it exists).

If the post or page is authored by a user who has specified their own affiliate ids then these will be used next.

Otherwise the Affiliate IDs in the ‘default’ channel will be used.

If the Channel selected does not contain affiliate IDs for all locales then ones from the ‘default’ Channel will be automatically inserted.

Why doesn’t the Wishlist function work?

For this to work you must have set up a working Amazon Web Services account and set the AWS Public and Private key settings to those provided in the AWS->Security Credentials->Access Credentials section.

You must also have inserted at least a few links to Amazon products using the tag for it to generate a list of related product suggestions.

Can I change the styling of the wishlist?

If you are using the default Wishlist template that came with the plugin then you can override the default styles. To do this add the file ‘user_styles.css’ to the plugins directory overriding the default stylesheet, the wishlist has the following style elements:

  • amazon_container – Encloses whole wishlist.
  • amazon_prod – Encloses each list item.
  • amazon_img_container – Encloses the item thumbnail (link+img)
  • amazon_pic – Class of the item thumbnail IMG element
  • amazon_text_container – Encloses the item description (Title paragraphs+link + Details paragraphs)
  • amazon_details – Encloses the item details part of the description
  • amazon_price – Spans the item’s formatted price.
Are the links localised to match my visitor’s country of origin?

The links that are generated can optionally be localised to the Amazon store most likely to be used by the visitor to your site, this is achieved by installing the ip2nation database and enabling ‘localise links’ option in the plugin settings.

Link Localisation Limitations

The localisation process is far from perfect and authors should be aware of the following limitations:

  • Incorrect nationality detection -

    The database is updated periodically so it will may be slightly out of date and incorrectly detect an visitor’s locale. Additionally some people browse through proxies or through their company’s firewall which again may confuse the plugin and get the wrong country of origin.

  • Incorrect Amazon site allocation -

    There are only 9 major Amazon sites (UK, France, Germany, Spain, US, Japan, Italy, China and Canada). So the plugin has to guess where a country’s residents are most likely to shop on-line. An alternative is to enable the ‘Multinational Link’ option, this will enable a small popup for each link allowing the site visitor to choose the most appropriate site (based on locale or language).

  • Product Availability -

    A product that is available in the author’s locale may not be available on other Amazon sites. If the live data option is enabled the plugin will display a link to the Amazon site in the author’s own locale if the product is not available at the visitor’s Amazon store.

  • Product Localisation -

    Some products such as books, DVDs and CDs have unique ASINs for each language, country or region. There currently no facility for the plugin to find the correct product for that visitor. If it is not obvious from the product picture, it is recommended that for these items a note should be displayed that recommends the visitor finds the most appropriate version of the item for their locale. They may be disappointed to buy a book in a language they can not understand!

The plugin includes a tool to install and monitor the status of the ip2nation database. However the installation of the ip2nation database is not validated, it simply downloads the latest database file from ip2nation and zaps it into your wordpress mysql database.

If the file is corrupted or maliciously changed then this operation could completely destroy your sites mysql database, if in doubt manually download the database from ip2nation and check its content, currently it consists of 2 tables ip2nation and ip2nationCountries.

Can you provide a few examples of the shortcodes?

[amazon asin=B001L4GBXY&text=Guns n' Roses CD]
Will produce a text link to an Amazon Product page:
Guns n' Roses CD

[amazon asin=B001L4GBXY&title=Guns n' Roses CD&template=Thumbnail&live=1]
Will produce a thumbnail image link to an Amazon Product page.

Guns n' Roses CD

[amazon asin=B001L4GBXY,B003VLDV24&template=Iframe Image]
Will produce 2 classic Amazon product links to the specified products.

[amazon asin=B001L4GBXY,B001L2EZNY,B001LR3576,B001KSJNWC,B001LWZCKY,B001GTPI7O,B001GTAGS0&template=Carousel]
Will produce a single Amazon Carousel widget containing all the specified products.

[amazon asin=B001L4GBXY,B001L2EZNY&template=Wishlist&live=1]
Will produce a list of the 2 products using data from the reader’s local Amazon site.

Chinese Democracy [+digital booklet]

by Guns N' Roses [Polydor Associated Labels]
Rank/Rating: 6569/-
Price: £4.93

One Of The Boys

by Katy Perry [Capitol Records (new release)]
Rank/Rating: 8149/-
Price: £7.49

[amazon asin=1841498955&template=Wishlist Post&product=Book&title=Surface Detail (Culture 9)&artist=Iain M. Banks&thumb=http://ecx.images-amazon.com/images/I/41n7sphvJpL._SL160_.jpg&image=http://ecx.images-amazon.com/images/I/41n7sphvJpL.jpg&price=£5.30]
Will produce a link using a custom template filled in with the data included in the shortcode.

Surface Detail (Culture 9)

Type: Book
By: Iain M. Banks [-]
Title: Surface Detail (Culture 9)
Price: £5.30
From: Amazon

[amazon asin=1841498955&template=Wishlist Post&live=1&title=My Favourite Book]
Will produce a link using a custom template filled in with live data from the Amazon site, but with the title set by the data included in the shortcode.

My Favourite Book

Type: Book
By: Iain M. Banks [Orbit]
Title: My Favourite Book
Price: $6.59
From: Amazon

[amazon text=Recipe Books&cat=3,4,5&last=30&wishlist_type=Random]
Produce a wishlist using the default template containing a random selection of products found in the posts in categories 3, 4 and 5.

Jamie at Home : Cook Your Way to the Good Life

by Jamie Oliver [Penguin Books]
Rank/Rating: 1287952/-
Price: $22.75

Jamie's Italy

by Jamie Oliver [Michael Joseph]
Rank/Rating: 2499219/-
Price: $4.99

Trames (French Edition)

by Iain M. Banks [ROBERT LAFFONT]
Rank/Rating: /-
Price: $59.50

Surface Detail

by Banks [Orbit]
Rank/Rating: 962912/-
Price: $6.99

The Kitchen Diaries

by Nigel Slater [FOURTH ESTATE]
Rank/Rating: 685044/-
Price: $46.60

[amazon cat=local&template=My Favourites&wishlist_type=similar&text=Some Related Products]
Produce an Amazon My Favourites widget containing a selection of related products to those already displayed on the current page.

Amazon query failed to return any results - Have you configured the AWS settings?Array ( [Operation] => CartCreate [MergeCart] => True [ResponseGroup] => CartSimilarities [IdType] => ASIN [MerchantId] => Amazon [Item.1.ASIN] => 1841498955 [Item.1.Quantity] => 1 [Item.2.ASIN] => B001L4GBXY [Item.2.Quantity] => 1 [Item.3.ASIN] => B001L2EZNY [Item.3.Quantity] => 1 [Item.4.ASIN] => B001LR3576 [Item.4.Quantity] => 1 [Item.5.ASIN] => B001KSJNWC [Item.5.Quantity] => 1 [Item.6.ASIN] => B001LWZCKY [Item.6.Quantity] => 1 [Item.7.ASIN] => B001GTPI7O [Item.7.Quantity] => 1 [Item.8.ASIN] => B001GTAGS0 [Item.8.Quantity] => 1 [Item.9.ASIN] => B003VLDV24 [Item.9.Quantity] => 1 )

  1. No comments yet.
  1. No trackbacks yet.