Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Amazon Product in a Post Plugin

Add formatted Amazon Products to any page or post by using Amazon ASIN. Great for monetizing your site. Uses Amazon Product Advertising Keys (FREE)


  • Bug Fix: Fix call to CURL function.


  • Bug Fix: Fix bugs in Use Cart URL for shortcodes.
  • Bug Fix: Fix Displaying "blank" products when no product data is returned.
  • Bug Fix: Fix debugging data to be more acurate when there is an error returned.
  • Update: plugin now clears product cache whenever the options are updated for the plugin - to prevent old data from being mis-displayed after update.
  • Update: updated the plugin styles to make element wrapper a block element.
  • Update: modified the amazon-element(s) shortcode to allow some 'clean' fields that are not wrapped or styled. For example - 'title_clean' will return just title name and not the fully tagged link and title name. The current clean fields are: Returns Plain Text Only: 'title_clean', 'desc_clean', 'description_clean', 'price_clean', 'new-price_clean', 'features_clean'. Return URL only: 'image_clean', 'med-image_clean', 'sm-image_clean', 'lg-image_clean', 'full-image_clean', 'large-image-link_clean', 'link_clean', 'customerreviews_clean':


  • Feature Addition: No longer limited to 10 ASINs per shortcode or main product. Amazon still limits 10 per request, but the plugin will now split them out into blocks of 10 and perform the requests.
  • Feature Addition: Added Tabbed options to the Settings page to make it easier to enter settings.
  • Feature Addition: Added 'Split ASINs' option to 'New Amazon Post' creation page. You can add up to 10 ASINs (comma separated) and if checked, will create corresponding posts for each ASIN so you do not need to create individual ones.
  • Feature Addition: Added 'amazon-product-search' shortcode to show search results. Takes parameters for 'keywords', 'search_index', and 'item_page' as well some other parameters of 'amazon-elements' shortcode. Example [amazon-product-search keywords='disney' search_index='All' item_page='1']. Will write up more on usage soon.
  • Feature Addition: Added 'use Add to Cart URL' which changes links to the cart add links to help with 90 day cookie conversion. Select option on settings page.
  • Update: Updated Menu icon.
  • Update: Modified Cache functions to include caching for post list pages (e.g., Archive pages, home posts page, etc.). Select 'Cache Ahead?' option on settings page.
  • Bug Fix: Fixed some issues with the wrong locale URL codes for Brazil and Japan locale API requests.
  • Bug Fix: Fixed shortcode requests for new Caching System.
  • Bug Fix: Fix bugs in caching functions that caused Shortcodes and Multiple products to not display for some users.


  • Feature Addition: Add Test Setting Feature to the Options Page.
  • Update: Adjustment to the Signing Method to make sure it was compliant with Amazon change.
  • Update: Change buttons to comply with Amazon Terms (remove logo, changed out with text instead).
  • Update: Made some changes to caching function. Still needs some modification to allow multi-post caching for posts pages.


  • Security Vulnerability Fix (for deleting cache and updating Options)
  • Set limit on number of images for image set on Variants to 10.


  • Fix Styles not loading (dynamic styles did not have correct content type).
  • Added additional Shortcode parameter aliases (show_used, show_list, etc.)
  • Fixed 'used_price' shortcode parameter (was not working when used)
  • Fixed 'container' and 'container_class' parameters to have default values [for amazon-elements shortcode only] (makes styling easier)
  • Added better support for Products with Variant products linked to parent ASIN.
  • Updated styles to version 2.0 (from 1.9) to add better styles for responsiveness.
  • Added new API KEY Signup instructions - old ones were outdated.


  • Fix "New Amazon Post" functionality dues to mis-named functions between versions.
  • Added Options to turn certain features on and off in the MetaBox options.
  • Fixed jQuery for admin - add "New Amazon Post" functionality.
  • Fixed German Limited Translations issue.
  • Updated Caching to not poll the API for any product that is already in the cache - even if it is in a separate call not related to that call.


  • Security fix to prevent SQL injection. Thanks to jamie@jamieakhtar.com for pointing out the vulnerability.
  • Changed style loading to be dynamic via ajax call.
  • Made styles loadable though theme file if desired by user (so no dynamic load is required).
  • Added framework for Contextual Help (help text coming soon)


  • Fix to issue with Add New Amazon Post page not loading.
  • Fix to the Shortcode for amazon-elements.
  • Added a container parameter and container class parameter to the amazon-elements shortcode to make styling multiple ASINs easier.
  • Fixed Readme.txt file for screenshots for WordPress repository.


  • Basic template integration (for future use - or if you are good at hooks and filters and can figure it out on your own - go ahead - the structure is there!)
  • Removed traces of Developer Keys at Amazon's request.
  • Added Amazon Elements shortcode to add bits and pieces of a product to a post - very handy for making a custom layout.
  • Added Amazon Cache Viewer - allows you to manually delete a product cache to initiate a new amazon Call. Caches are stored for 60 minutes and updated as the calls are needed.
  • Added Getting Started page to help users set up affiliate and API Key signup. This is becoming more and more complex, so a little help was needed.
  • Added Shortcode Help Page to give examples of how to use the shortcodes effectively.
  • Added feed driven FAQs page - easier for me to update FAQs on the fly that way.
  • Added several Filters and Hooks - will lay them all out in next revision.

3.1 to 3.5.0

  • development versions. = 3.0=
  • Added New Shortcode [AMAZONPRODUCTS] (instead of [AMAZONPRODUCT=B0084IG8TM]) - old method will still work
  • Added Bulk API Call to limit number of calls to API (can use up to 10 ASINs at one time)
  • Updated the deprecated function calls
  • Increased API return values for use in theme - puts all items in the array now
  • Updated styles to include some new elements
  • Updated database field for amazoncache table to allow for larger data size of cached XML body (as API can now return up to 10 items at a time)
  • Updated aws_request function
  • Wrapped generic helper functions in !function_exists wrapper to eliminate conflicts with some other Amazon plugins.
  • Updated Install function with styles and database upgrade
  • Added amazon icon button to editor to easily add shortcode.
  • Added new parameters to shortcode to allow custom additions to any post/page:
    • asin - this is the ASIN or ASINs up to 10 comma separated
    • locale - this is the Amazon locale you want to get the product from, i.e., com, co.uk, fr, etc. default is your plugin setting
    • desc - using 1 shows Amazon description (if available) and 0 hides it - default is 0.
    • features - using 1 shows Amazon Features (if available) and 0 hides it - default is 0.
    • listprice - using 1 shows the list price and 0 hides it - default is 1.
    • partner_id - allows you to add a different parent ID if different for other locale - default is ID in settings.
    • private_key - allows you to add different private key for locale if different - default is private key in settings.
    • public_key - allows you to add a different private key for locale if different - default is public key in settings.
  • New Shortcode would be used like this:
    • If you want to add a .com item and you have the same partner id, public key, private key and want the features showing: [AMAZONPRODUCTS asin="B0084IG8TM" features="1" locale="com"]
    • If you want to add a .com item and you have a different partner id, public key, private key and want the description showing but features not showing: **[AMAZONPRODUCTS asin="B0084IG8TM,B005LAIHPE" locale="com" public_key="AKDAJDANJ6OU527HKGXQ" private_key="Ns3FXyeVysc5yjcZwrIV3bhDti/OGyRHEYOWO005" partner_id="wordseen-20"] -If you just want to use your same locale but want 2 items with no list price and features showing: **[AMAZONPRODUCTS asin="B0084IG8TM,B005LAIHPE" features="1" listprice="0"] -If you just want 2 products with regular settings: **[AMAZONPRODUCTS asin="B0084IG8TM,B005LAIHPE"] -If you want to add text to a product: **[AMAZONPRODUCTS asin="B0084IG8TM"]your text can go here![/AMAZONPRODUCTS]


  • Added Database for caching API calls (10/20/2010)
  • Added Options for Private and Public Keys in the options panel. (10/22/2010)
  • Added Options for Complete Removal and Partial Removal of Plugin on Deactivate. (10/24/2010)
  • Added new error checks to comply with API changes.
  • Added new Display checks to not display anything on error (except an HTML Comment in the code) (10/24/2010)
  • Fixed option naming convention to resolve a few issues with previous versions (10/24/2010)
  • Fixed some code to resolve headers sent issues. (10/23/2010)
  • Modified Style calls to fix issues with earlier versions upgrading to newer version (10/23/2010)
  • Updated FAQs (10/24/2010)


  • Fix to WordPress Core location assumption. Caused Problem when WP core was located outside root. (1/3/2010)
  • Added German Language. (special thanks to Henri Sequeira for translations). (1/3/2010)


  • fix to not defined function error. (12/28/2009)


  • Added Fix for users without encoding functions in PHP4 to be able to use. This may have caused some problems with users on 1.7. (12/21/2009)
  • Added Options for Language selection. (12/21/2009)
  • Added French Language and buttons (special thanks to Henri Sequeira for translations). (12/21/2009)
  • Added Lightbox type effect for "View Larger Image" function.(12/22/2009)
  • Modified Style Call to use a more WP friendly method to not rely on a "guess" as to where the core WP files are located. (12/22/2009)
  • Fixed Open in new window functionality - was not working 100% of the time. (12/22/2009)


  • Add Curl option for users that cant use file_get_contents() for some reason or another. (12/1/2009)
  • Added Show on Single Page Only option to Options Page.(11/30/2009)
  • Added a way to change encoding display of prices from API if funny characters are showing.(12/1/2009)


  • Added Options to let admin choose if they want to "Hook" into the_excerpt and the_content hooks in Main Options with override on each post/page.(10/3/2009)
  • Added Open in a New Window Option (for Amazon button) in Main Options with override on each page/post.(10/3/2009)
  • Added "Show Only on Single Page" option to individual post/page options.(10/4/2009)
  • Added Shortcode functionality to allow addition of unlimited products in the post/page content.(10/4/2009)
  • Added "Quick Fix - Hide Warnings" option in Main Options. Adds ini_set("display_errors", 0) to code to help some admins hide any Warnings if their PHP settings are set to show them.(10/3/2009)
  • Fixed Array Merge Warning when item is not an array.(10/3/2009)
  • Fixed "This Items not available in your locale" message as to when it actually displays and spelling.(10/3/2009)
  • Added Options to let admin add their own Error Messages for Item Not available and Amazon Hidden Price notification.(10/3/2009)
  • Updated Default CSS styles to include in Stock and Out of Stock classes and made adjustments to other improper styles. (10/3/2009)


  • Remove hook to the_excerpt because it could cause problems in themes that only want to show text. (9/17/2009)


  • Added method to restore default CSS if needed - by deleting all CSS in options panel and saving - default css will re-appear in box. (9/16/2009)


  • Added new feature to be able to adjust or add your own styles. (9/16/2009)


  • Fix to image call procedure to help with "no image available" issue. (9/15/2009)


  • Minor Fixes/Spelling Error corrections & code cleanup to prep for WordPress hosting of Plugin. (9/14/2009)


  • Plugin Release (9/12/2009)

Requires: 3.9 or higher
Compatible up to: 4.7.1
Last Updated: 3 weeks ago
Active Installs: 7,000+


4.5 out of 5 stars


0 of 10 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2
100,1,1 33,3,1 100,1,1 100,2,2
100,1,1 100,4,4
100,1,1 100,1,1
50,2,1 100,4,4
100,1,1 100,1,1 100,1,1
50,2,1 100,1,1 100,1,1 100,2,2
100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2