This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Amazon JS


AmazonJS displays Amazon products on your WordPress posts and pages. AmazonJS adds a search form to WordPress post form. Then you can search Amazon products by keyword, ASIN or URL, and add shortcode or html to your post from results of search.

AmazonJS uses `amazonjs’ shortcode and jQuery template to display Amazon products. View the work data at runtime, Javascript allows various representations. AmazonJS has some template to Amazon products for each Product Group, it can how to display the different Amazon products, such as books and music.

  • Requires WorPress 3.3 or later
  • Requires your Amazon Product Advertising API
  • Plugin Uses API cache by using Transients API
  • Customize template by using jQuery template
  • HTTPS Support
  • Supports Amazon domains (US, UK, Germany, France, Japan, Canada, China, Italy, Spain)

Using Amazon Product Advertising API

AmazonJS requires Amazon Product Advertising API
in order to get Amazon product information from ASIN or keyword.
Thus, you have to sign up Amazon Product Advertising API and specify your Access Key and Secret Access Key.
And you must set your associate tags for Amazon Associates also.


AmazonJS adds a media link above an editor in the editing post page. The form that searches an Amazon product is shown when you click it. AmazonJS adds a simple html code (like WP-amazon) or an amazonjs shortcode from form.

AmazonJS supports the `amazonjs’ shortcode.

[amazonjs asin="B00005ED8E" locale="JP" tmpl="Small" title="D・N・A"]
  • asin: (required) ASIN (ProductID of Amazon)
  • locale: (required) US, UK, DE, FR, JP, CA, CN, IT or ES
  • tmpl: (optional) Small. if tmpl is empty, apply a template via Product Group of Amazon Product Advertising API.
  • title: (optional) It will be used for loading message.
  • imgsize: (optional) Thumbnail image size. small, medium or large.

Display by javascript

In first, AmazonJS converts tag from amazonjs short code in server side. Second, in window.load, amazonjs.js (it is added by plugin) will replace tag with formatted html to display Amazon Product by using jQuery template.


  • GitHub Repository (latest source code and old versions):
  • Japanese article:


  • Click the gray Amazon icon to go to search form in editing entry page.


  1. Upload amazonjs to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Set your associate tags and your keys of the Product Advertising API through the Կայանքներ > Amazonjs menu in WordPress

Directory structure

    + /css/*
    + /images/*
    + /js/*
    + /languages/*
    + /lib/*
    - *.*


  1. Access to /wp-admin/ and click Settings > AmazonJS on menu
  2. Set your keys for Product Advertising API
  3. Set your Amazon Associate Tag via Amazon Domain


30 Մայիսի, 2020
i must give it 2 stars, the way it shows the products is not the best, its a bit odd andd i dont like it at all, but the worst thing is the fact you can't select multiple items at same time, you must go one by one! nha, that defeats by any mean to have a floating search box to select the products, needs improvements, not bad plugins, but not as expected,
2 Հունվարի, 2020
I was looking for something like the old Amazon widget for Blogger from a decade or so ago. A simple little widget that could be activated within a blog post with a simple click of a button on the editor toolbar. One like this for Wordpress has been difficult to find, but I'm extremely happy I stumbled across this one. This plugin not only fits the bill nicely, but is simple to use and manages to look beautiful in the process! And the option to use a traditional review widget or a product image is a huge plus! I will most certainly continue to use this widget and hopefully it will serve my current blog well in the months and years to come!
4 Փետրվարի, 2019
I have used the AmazonJS plugin for about 2.5 years and made small sales with 5000 visitors per month. Now I have exchanged the plugin for another and suddenly do the same thing on sales a day as with AmazonJS a month. Bye AmazonJS
30 Հունվարի, 2017
This worked beautifully. Well thought out. Easy to use. Love it!!
21 Հոկտեմբերի, 2016
i have to confess: this is truely one of the very best WordPress Amazon-Associate plugins. Super easy to use and super-super powerful. You can do alot with this plugin. I have tried other solutions but this is as to close perfect as we have found, It offers everything we wanted so far so, and if we need more there are paid extensions at reasonable cost. I ve testet many ones; here some features that have convinced me: The installation of AmazonJS is easy - the first steps were done in a few minutes: you do not have to worry about it nor trouble to do such repetitive tasks. Just pick categories which suit your site and it will work. AmazonJS displays Amazon products on your WordPress posts and pages. Then you can search Amazon products by keyword, ASIN or URL, and add shortcode to your site. it is ....: – Very easy to use and simplicity enables me to start using it almost immediately after installed it. – Very easy to search a specific product, – even if you know only a little about PHP, you can create your own template! That means you can design the layout. Yes its true: You do not need develpoer-skills – and if you are no expert or professional – this plugin makes you look like a genius sometimes.;) And last but not least: Support is overwhelming: – the develoer rocks!!! conclusio; AmazonJS - this plugin is for many many users – and for every one who wants to run an Amazon-Afiliate-plugin. A trillion thanks for developing and release this plugin for free! keep up this super-work!!! Thousands of wordpress-fans from all over the globe were happy with this plugin…
Read all 12 reviews

Contributors & Developers

“Amazon JS” is open source software. The following people have contributed to this plugin.


“Amazon JS” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Amazon JS” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Support Product Advertising API 5.0


  • Use https link for image and anchor
  • Use saved AssociateTag country instead locale country as default
  • Added TinyMCE Button to editor on Gutenberg Classic Block
  • Fixed to conflict with stylesheet of WP Limit Login Attempts plugin


  • Supported Transients API for cache (file cache is no longer in use)
  • Improved to start rendering
  • Fixed to use get_locale() instead of WPLANG


  • Fixed to save settings by checkbox
  • Fixed image url over https


  • Fixed PHP Short Open Tag in PHP5.3 or earlier by @shield-9
  • Improved timeout to request Product Advertising API
  • Required WordPress 3.3


  • Fixed to parse ItemID into https URL
  • Fixed Japanese translation of search form
  • Improved to display to display the error response of Product Advertising API
  • Bundle the jquery.tmpl
  • WordPress Cording Standard


  • Supported click tracking by Google Analytics
  • Added option to overwrite !important style of theme in v0.6.1


  • Fixed to overwrite !important style of theme
  • Fixed imgsize


  • Added option to allow animation
  • Supported imgsize attr of shortcode
  • Fixed to display same ASIN for some countries
  • Fixed style for smart phone and dark theme


  • Added DVD template
  • Optimized style for WordPress 3.8
  • Used wp-ajax to search product in admin page
  • Removed minify css and js to avoid to conflict W3 Total Cache


  • Fixed to work in footer with jQuery
  • Fixed to enqueue jQuery in admin page
  • Fixed to find config file above ABSPATH
  • Fixed and improved to display error message


  • Added amazonjs.js script only when needed
  • minify css and js


  • Added option to display customer review, default is off
  • Added option to display an Amazon official widget when disabled javascript in web browser, default is off
  • Changed priority of wp_print_footer_scripts to execute before other plugin occurred error


  • Used MediumImage in blog feed for the magazine view of feedly
  • Add an Amazon product url to indicator if it has cache data
  • Supported disable javascript to display amazon link widget
  • Fixed to fetch more 10 products at once
  • Fixed some php warnings


  • Fixed to display image on the IE 8


  • Fixed to use custom style on the child theme
  • Improved to display an error message


  • Added ItemGroup Template for Amazon Kindle Book
  • Fixed to display price


  • Allow to use Unsupported Search Index of Amazon Product Advertising API
  • Amazon Product Advertising API Version 2011-08-01


  • Fixed to return json response with error log


  • Fixed to detect WP_CONTENT_DIR


  • Supported WordPress 3.3(beta3)
  • Fixed to remove deprecated
  • Fixed template


  • Supported to search by ASIN or URL
  • Amazon Product Advertising API Version 2010-11-01


  • Initial release