MTAmazon Sample Templates

Freshness Warning
This blog post is over 19 years old. It's possible that the information you read below isn't current and the links no longer work.

There’s been several requests for some sample templates for MTAmazon. Here are a few templates that will help you understand some of your different formatting and search options.

Simple list

If you want your list to look like this...

[removed, due to Amazon API change]

... you can use the following template:

<MTAmazon search="usability" devtoken="DMRKTBU9F2P28" lastn="3">
    <p><a href="<MTAmazonLink>">
    <img src="<MTAmazonSmallImage>" align="left" border="0" hspace="5" vspace="5" /><MTAmazonTitle>
    </a><br />
    <span class="small">By <MTAmazonAuthor></span><br />
List Price: <span class="listprice"><MTAmazonListPrice></span><br />
Sale Price: <span class="saleprice"><MTAmazonSalePrice></span><br />
Published <MTAmazonReleaseDate format="%B %e, %Y"><br clear="all" /></p>

Shopping Cart Links

You can also add a button to your product display that allows your readers to add an item directly to their shopping cart...

[removed, due to Amazon API change]

... by using this template ...

<MTAmazon search="B00003CWT6" method="Asin" devtoken="XXXXXXXXXX" lastn="1">
<img src="<MTAmazonMediumImage>" align="left" border="0" hspace="5" />
<b><MTAmazonTitle></b><br />
<p>Amazon Price: <b><MTAmazonSalePrice></b></p>
<form method="POST" 
<input type="hidden" name="asin.<MTAmazonASIN>" value="1">
<input type="hidden" name="tag-value" value="<MTAmazonAssociateID>">
<input type="hidden" name="tag_value" value="<MTAmazonAssociateID>">
<input type="hidden" name="dev-tag-value" value="<MTAmazonDevToken>">
<input type="submit" name="submit.add-to-cart" value="Buy From">
</form><br clear="all" /></MTAmazon>

Browsing for Products

You can display items as they appear on Amazon’s catalog pages by using a BrowseNode search...

[removed, due to Amazon API change]

... using this template:

<MTAmazon search="499058" devtoken="XXXXXXXXXXX" method="BrowseNode" line="photo" lastn="3">
    <p><a href="<MTAmazonLink>"><b><MTAmazonTitle></b><br />
    <img src="<MTAmazonSmallImage>" align="left" border="0" hspace="5" vspace="5" />
List Price: <span class="listprice"><MTAmazonListPrice></span><br />
Sale Price: <span class="saleprice"><MTAmazonSalePrice></span><br clear="all" /></p>


Do you have an interesting way to use MTAmazon? Give us a URL of your site below and tell us what your template looks like. Remember to change all < to &lt; and all > to &gt; if you copy your MTAmazon template into your comment.

Adam Kalsey
August 25, 2002 2:32 PM

You might also want to take a look at for information about how to improve your product links with MTAmazon.

Trackback from Music and Madness
December 16, 2003 10:44 AM

Excerpt: MTAmazon Sample Templates :: Kalsey Consulting Group...

This discussion has been closed.

Recently Written

The Trap of The Sales-Led Product (Dec 10)
It’s not a winning way to build a product company.
The Hidden Cost of Custom Customer Features (Dec 7)
One-off features will cost you more than you think and make your customers unhappy.
Domain expertise in Product Management (Nov 16)
When you're hiring software product managers, hire for product management skills. Looking for domain experts will reduce the pool of people you can hire and might just be worse for your product.
Strategy Means Saying No (Oct 27)
An oft-overlooked aspect of strategy is to define what you are not doing. There are lots of adjacent problems you can attack. Strategy means defining which ones you will ignore.
Understanding vision, strategy, and execution (Oct 24)
Vision is what you're trying to do. Strategy is broad strokes on how you'll get there. Execution is the tasks you complete to complete the strategy.
How to advance your Product Market Fit KPI (Oct 21)
Finding the gaps in your product that will unlock the next round of growth.
Developer Relations as Developer Success (Oct 19)
Outreach, marketing, and developer evangelism are a part of Developer Relations. But the companies that are most successful with developers spend most of their time on something else.
Developer Experience Principle 6: Easy to Maintain (Oct 17)
Keeping your product Easy to Maintain will improve the lives of your team and your customers. It will help keep your docs up to date. Your SDKs and APIs will be released in sync. Your tooling and overall experience will shine.


What I'm Reading


Adam Kalsey

+1 916 600 2497


Public Key

© 1999-2022 Adam Kalsey.