The Content - Amazon Product Advertising API plugin uses content tags to fetch Amazon products and create the embeds on your site. In this document, we'll explore the options offered by the plugin tag.
Assumptions
For this document, we're going to assume that you have already created an Amazon Associates account, and that you have been admitted into the Product Advertising API program and have obtained your API keys.
The second assumption is that you have configured the plugin, picked your button style, and chosen your default template (having chosen "default").
The Basic Tag
{amazon asin=XXX}
Available Parameters
- asin:
- This parameter is required.
- Can accept either ASIN or ISBN - you'll need to find it in the page.
- You can create this Bookmarklet to get the ASIN or ISBN automatically.
- javascript:(function(){window.alert(JSON.parse(document.getElementById('rufus-view-context').value).asin)})()
- Create a bookmark in your browser, and paste the above script as the URL. Click it on an Amazon product page, and you will be presented with the ASIN or ISBN.
- template:
- Choose from the 3 built-in templates:
- default
- horizontal
- overlay
- Choose from the 3 built-in templates:
ASIN or ISBN
Let's say you're a Sun Tzu fan, and you're reviewing your favorite of his books. https://amzn.to/3DHPWJ6
Using the bookmarklet, or your superior detective skills, you determine the the Amazon page for this book uses this ISBN: 9388369696
For this basic usage example, we're going to let the system utilize the default template.
Your content tag should look like this:
{amazon asin=9388369696}
The default template result should look like this:

The Art of War (Deluxe Hardbound Edition) (Fingerprint! Classics)
FINGERPRINT with FP logo
The Art of War (Deluxe Hardbound Edition) (Fingerprint! Classics)
Different templates:
Content Tag with template=horizontal
New product: 9354407269 - Meditations by Marcus Aurelius
{amazon asin=9354407269 template=horizontal}
template=horizontal Output
Content Tag with template=overlay
New product: 9388144295 - The Iliad & the Odyssey by Homer
{amazon asin=9388144295 template=horizontal}
template=overlay Output

Scaling To Fit!
These outputs are designed with Bootstrap 5 classes. They scale to fit their container. Here are 3 col-lg-4 divs:

Fart Ninja Funny T-Shirt
Fart Ninja - Silent but deadly. Funny farting humor design.
He creeps, no sound heard, a smelly pong emanates slaying his victims nasal passages and he's gone. He's fart ninja. Although in reality, could be your mom, dad, brother or sister.
Lightweight, Classic fit, Double-needle sleeve and bottom hem

Fart Present for Dad - I am One Fart Away from a Disaster T-Shirt
This hilarious and offensive fart design "I am One Fart Away from a Disaster" is perfect for anyone who loves a good laugh. Makes an ideal present for your husband, dad, or friend. So don't wait any longer, grab yours today!
Lightweight, Classic fit, Double-needle sleeve and bottom hem

I Didn't Fart My Butt Blew You A Kiss Unicorn Funny Gift T-Shirt
This I Didn't Fart My Butt Blew You A Kiss with unicorn design is a great gift for those who love unicorns and like making jokes about unicorns, this outfit could be a special gift for birthday or a date or any personal celebration for unicorn lovers.
I Didn't Fart My Butt Blew You A Kiss Unicorn Gift Funny For Men Women Kids. Grab It for your mom or dad or brother or sister or husband or wife or boyfriend or girlfriend or a very special friend, also you can grab It for yourself!
Lightweight, Classic fit, Double-needle sleeve and bottom hem