Tag: Product detail {exp:eez_amazon:detail}
Posted: 17 July 2006 12:04 PM   [ Ignore ]
Administrator
Avatar
Rank
Total Posts:  5
Joined  2006-02-16

Basic usage:

{exp:eez_amazon:detail asin=""}
stuff
{
/exp:eez_amazon:detail}


Parameters:
asin - required parameter.  You must include the asin identifier for the amazon product.

This tag can be nested inside the weblog tag.  Say you put the product asin in a custom field called asin (use the handy pop-up interface to look up and add the asin)- then:

{exp:weblog:entries}

{exp
:eez_amazon:detail asin="{asin}"}
stuff
{
/exp:eez_amazon:detail}

{
/exp:weblog:entries}


This would allow you to show any of the eez_amazon variables for the product specified by the asin.

Variables:

{amazon_asin}
{img_small}, {img_medium}, {img_large} - displays the url to the amazon image
{img_small_height}, {img_small_width} - displays height and width respectively.  Tags for small, medium and large images.
{amazon_link} - url to the amazon detail page
{amazon_title} - product title
{amazon_authors} - list of the authors, comma separated
{brand}
{model}
{warranty}
{ave_rating} - average amazon user rating - number
{publisher}
{list_price}
{list_price_currency}
{amazon_price}
{availability}
{cache_date format=”“}
{gmt_cache_date format=”“}
{binding}
{product_name}
{catalog_type}
{release_date}

Variable pairs:

{features}
<li>{feature}</li>
{/features}

{similar_products}
{asin} -  {amazon_title}

{/similar_products}

{editorial_reviews}
{review}
{/editorial_reviews}

Profile