Skip to content

Placeholders ​

ASA1 (legacy)

This page documents ASA1, the predecessor of ASA2. ASA1 only receives security fixes and Amazon API updates. Looking for the current plugin? See the ASA2 documentation.

This is a list of all currently supported placeholders you can use in the template files.

PlaceholderDescription
{$ASIN}The ASIN code
{$SmallImageUrl}URL of the small product image
{$SmallImageWidth}The width of the small image
{$SmallImageHeight}The height of the small image
{$MediumImageUrl}URL of the medium product image
{$MediumImageWidth}The width of the medium image
{$MediumImageHeight}The height of the medium image
{$LargeImageUrl}URL of the large product image
{$LargeImageWidth}The width of the large image
{$LargeImageHeight}The height of the large image
{$Label}The product label, like “Walt Disney Pictures“
{$Manufacturer}The product manufacturer, like “Walt Disney Pictures“
{$Publisher}The product publisher, like “Walt Disney Pictures“
{$Studio}The product studio, like “Walt Disney Pictures“
{$Title}Product title
{$AmazonUrl}URL to the Amazon shop page of the product including your tracking ID
{$TotalOffers}The number of total offers
{$LowestOfferPrice}The lowest offer price without currency
{$LowestOfferCurrency}The lowest offer currency without price
{$LowestOfferFormattedPrice}The lowest offer price with currency
{$LowestNewOfferFormattedPrice}The lowest new offer price with currency
{$LowestUsedOfferFormattedPrice}The lowest used offer price with currency
{$AmazonPrice}The Amazon price without currency
{$AmazonPriceFormatted}The Amazon price with currency. This should be used as the major price placeholder.
{$AmazonCurrency}The Amazon currency without price
{$ListPriceFormatted}The list price with currency
{$ListPrice->CurrencyCode}Currency of the list price
{$PercentageSaved}The percentage saved compared to the list price
{$AmountSaved->FormattedPrice}The formatted saved amount with currency
{$AmazonAvailability}The product’s availability
{$AmazonLogoSmallUrl}URL of the small Amazon logo
{$AmazonLogoLargeUrl}URL of the large Amazon logo
{$DetailPageURL}URL to the product detail page
{$Platform}The product platform, like “PlayStation 3“ or “Windows“
{$ISBN}The product ISBN for books
{$EAN}The product EAN, like 0886974469926
{$NumberOfPages}The number of pages, usually empty
{$ReleaseDate}The release date of the product
{$Binding}The product binding, e.g. MP3-Download or Blu-ray
{$Author}The author of a book
{$Creator}The product creator, like for MP3-Downloads “Roy Orbison“ (the artist)
{$Edition}The product edition
{$Director}The director of a movie
{$Actors}The actors of a movie
{$RunningTime}The running time of a movie in minutes
{$Format}The product format, like “CD“ for a Blu-ray: AC-3, Closed-captioned, Color, Dolby, DTS Surround Sound, Dubbed, Special Edition, Subtitled, Widescreen
{$CustomRating}Could be used to place your own rating in the asa-tag:
{$Artist}The product artist, like for music CDs “Adele“
{$Comment}Your own comment. You can write a comment directly in the asa-tag: [**asa** comment="my comment"]ASIN[/**asa**]
{$Class}Can be used to set a custom CSS class. Set the value directly in the asa-tag: [**asa** class="my_class"]ASIN[/**asa**]
{$Model}The product model, like “PC 151“
{$IFrameURL}Link to the user reviews page
{$Prime}Shows “AmazonPrime” if product is prime
{$PrimePic}Shows prime icon if product is prime
{$OffersMainPriceAmount}Always keeps the main Amazon price. You can set the text it should show if the price is empty.
{$OffersMainPriceCurrencyCode}The main price currency code.
{$OffersMainPriceFormattedPrice}Always keeps the main Amazon formatted price (with currency code). You can set the text it should show if the price is empty in the options (“Empty main price text”)
{$Features}A list of product features (if applicable, not every product has features data)

ASA2 - The Amazon Affiliate Plugin for WordPress