Amazon Post Purchase

Amazon Post Purchase | HeyPublisher


Amazon Post Purchase Plugin is based upon the Amazon Product In a Post plugin developed by Don Fischer.

While that plugin is intended for displaying products within a Post, this plugin will display products as a side-bar widget in themes that support dynamic side-bars.

This plugin is useful for when you want to display different Amazon products in the side-bar for individual Posts. The plugin will only display when the Post or Page has a custom field set.

How it Works:
The plugin uses the newest Amazon Product Advertising API, ensuring full security on all transaction calls.

To use the plugin, you should first get an Amazon Affiliate Account. Once you have an account, install the plugin, enter your Amazon Associate ID, and the keyname you will use in your post’s Custom Field to track the ASIN.


You can customize the look and feel of the displayed widget, including turning on or off the display of certain data elements, through CSS. The following CSS describes the various data elements displayed in the Widget:

#amazon-post-purchase-container {
  /* This is the container DIV for the displayed widget */
#amazon-post-purchase-image  {
  /* This is the container DIV for the product IMAGE.  Defaults are: */
#amazon-post-purchase-large-image-link {
  /* This controls the display of the text "See larger image"  Defaults are: */
#amazon-post-purchase-byline {
  /* This DIV contains the product 'title' and 'author' information.  Two sub elements are contained within this DIV: */
#amazon-post-purchase-byline H2 {
    /* This is where the product 'title' is contained */
#amazon-post-purchase-byline #amazon-post-purchase-author {
    /* This is where the product 'author' is contained */
#amazon-post-purchase-publication {
  /*  This Container displays the Format (ie: 'paperback'), Release Date, and Publisher information.
      If you turn 'off' display of this id, all 3 of those elements will not be displayed */
#amazon-post-purchase-price {
  /*  This is where the 'List Price', 'New Price' and 'Used Price' are displayed
      If you turn 'off' display of this id, all 3 of those elements will not be displayed */
#amazon-post-purchase-button {
  /*  This controls the display of the 'Buy Now at Amazon' button.
      By default, this displays the image "images/buyamzon-button.png" in the plugin directory.
      If you want to use a different 'buy' button, simply save a new image with the same name to this location. */

If you have any questions email us at [email protected].


  1. Upload the amazon-post-purchase folder (inside the zip file) to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

After you have installed the plugin and loaded the widget into your side-bar, you will need to configure it.

Drag the “AmazonPostPurchase” widget to the appropriate side-bar container. Where prompted, set the following fields:

  • “Title” – this will be the title displayed above the widget in the side-bar.
  • You can make this simple text, like “You Might Also Like”, or
  • You can make the title dynamically display the Author/Artist’s name by using the keyword #AUTHORNAME#, like this: “Recently by #AUTHORNAME#”.

  • “Amazon Affiliate ID” – this should be your Affiliate ID. If you do not set this field, all referral $$ from Amazon will go to us.

  • “Custom Field Name” – this is the ‘name’ you will use when you create a custom field in your post. By default this value is set to ‘ASIN’.

No additional adjustments are needed unless you want to configure your own CSS styles.


Once installed, adding a product to your post is a simple process:

  • Go into the full edit mode for the post (Post/Edit then select the post).
  • Under the Custom Fields, click on the link ‘Enter New’ (after you’ve done this the first time, you will simply select the value from the drop-down list).
  • Input the value you set in the widget “Custom Field Name” in the “Name” field. (we recommend the word “ASIN”).
  • Input the ASIN for the product you want displayed in the “Value” field.
  • Save or Publish the post.

Yes — it’s that easy!

Plugin author


Plugin official website address
If you encounter problems in using the Amazon Post Purchase plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published. Required fields are marked *