Skip to content

Default

These placeholders are available on every kind of product.

ASIN

The item's ASIN.

AssociateId

The Associate ID used for the product. If no custom Associate ID was provided, the default will be used (as configured in Setup).

Binding

The product binding, e.g. "Toy"

Brand

The product brand, e.g. "LEGO", "Sony" etc.

CountryCode

The country code of the Amazon store the item has been loaded from.

EAN

The item's EAN.

EditorialReviews

An array containing the editorial reviews. >ou can get the contents directly from the placeholder {{ EditorialReviewsContent }}

EditorialReviewsContent

Contains the editorial product reviews. Note that not every product has editorial review contents. Therefore use the the template conditions to test if it is empty or not.

text
{% if EditorialReviewsContent is not empty %}
    Editorial review: {{ EditorialReviewsContent }}
{% endif %}

Description

Contains the product description. This is an alias for {{ EditorialReviewsContent }} and provides the same content. Use this placeholder when you want to access the product description in a more intuitive way.

INFO

This placeholder is not supported by every product. It could be empty.

text
{% if Description is not empty %}
    <div class="product-description">{{ Description }}</div>
{% endif %}

Features

Contains a comma separated string of all product features.

FeaturesArray

An array containing the product features. Can be used with template filters like Template Filter Join or Template Loops. Fore example use template for loops to access all features as you like or use {{ FeaturesHtmlList }} which contains a prepared HTML string.

INFO

This placeholder is not supported by every product. It could be empty.

text
{% if FeaturesArray is not empty %}
    <h4>Features</h4>
    <ul>
    {% for feature in FeaturesArray %}
        <li>{{ feature }}</li>
    {% endfor %}
    </ul>
{% endif %}

FeaturesHtmlList

Contains the product features list in a prepared HTML format as an unordered list (<ul><li> ...)

Format

The product format, for example "Widescreen" for movies or other format specifications depending on the product type.

Example:

text
Widescreen

INFO

This placeholder is not supported by every product. It could be empty.

IsAvailable

Contains boolean true if the product is available, false otherwise.

The product is considered available, if it has a Placeholders Auto Price. This behavior can be adjusted with option Option Isavailable If Other Offers.

ItemDimensionsHeight

The item's height.

text
23.3 inches

ItemDimensionsHeightUnit

The item's height unit.

text
inches

ItemDimensionsHeightValue

The item's height value.

text
23.3

ItemDimensionsLength

The item's length.

text
36.1 inches

ItemDimensionsLengthUnit

The item's length unit.

text
inches

ItemDimensionsLengthValue

The item's length value.

text
36.1

ItemDimensionsWeight

The item's weight.

text
18.7 pounds

ItemDimensionsWeightUnit

The item's weight unit.

text
pounds

ItemDimensionsWeightValue

The item's weight value.

text
18.7

ItemDimensionsWidth

The item's width.

text
7.7 inches

ItemDimensionsWidthUnit

The item's width unit.

text
inches

ItemDimensionsWidthValue

The item's width value.

text
7.7

Label

The item's label, e.g. "LEGO".

Languages

A comma separated list of the item's supported languages.

text
English, English (Subtitled)

LanguagesArray

An array containing the item's language information, for example:

text
Array
(
    [0] => Array
        (
            [Name] => English
            [Type] => Unknown
        )

    [1] => Array
        (
            [Name] => English
            [Type] => Subtitled
        )

)

LanguagesHtmlList

A prepared HTML list, containing the language information of {{ Languages }}, for example:

text
<ul>
    <li>English</li>
    <li>English (Subtitled)</li>
</ul>

LastItemUpdate

The timestamp of the item's last refresh in UTC. Requires the item to be stored in the Products.

text
2015-01-24 22:39:43

INFO

You can manipulate date values with the Filter Date filter, e.g.:

text
{{ LastItemUpdate|date("m/d/Y") }}
{{ LastItemUpdate|date("d.m.Y") }}

// for local time, use the additional timezone parameter:
{{ LastItemUpdate|date("d.m.Y", last_update_timezone) }}

// or use placeholder {{ LastItemUpdateTimezone }} (see below)

LastItemUpdateTimezone

Since 1.18.0

The timestamp of the item's last refresh considering the configured timezone and date format. If nothing is configured in options section Options Templates, the blog defaults will be used.

text
{{ LastItemUpdate }}

// example: 21.10.2023 10:58 (depending on configured date format and timezone)

last_update_timezone

Since 1.18.0

Contains the time zone selected in the "Options > Templates" section or alternatively the time zone set for the blog.

Can be used in combination with the "date" function as a second parameter to adjust the UTC time to the local time zone. See: Placeholders Default Lastitemupdate

LastItemUpdateBlogFormat

The timestamp of the item's last refresh in the blog's date format. Requires the item to be stored in the Products.

text
24.01.2015 23:39

LinkAddToWishlist

Contains the URL for adding the product to the user's wishlist.

LinkAllCustomerReviews

Contains the URL to the page with all customer reviews.

LinkAllOffers

Contains the URL to the page with all offers.

LinkTellAFriend

Contains the URL to the "Tell a friend" page.

Manufacturer

The item's manufacturer, e.g. "LEGO".

OriginalTitle

Contains the original Amazon title.

PackageDimensionsHeight

The item's package height.

text
4.7 inches

PackageDimensionsHeightUnit

The item's package height unit.

text
inches

PackageDimensionsHeightValue

The item's package height value.

text
4.7

PackageDimensionsLength

The item's package length.

text
42.8 inches

PackageDimensionsLengthUnit

The item's package length unit.

text
inches

PackageDimensionsLengthValue

The item's package length value.

text
42.8

PackageDimensionsWeight

The item's package weight.

text
23.05 pounds

PackageDimensionsWeightUnit

The item's package weight unit.

text
pounds

PackageDimensionsWeightValue

The item's package weight unit.

text
42.8

PackageDimensionsWidth

The item's package width.

text
25.5 inches

PackageDimensionsWidthUnit

The item's package width unit.

text
inches

PackageDimensionsWidthValue

The item's package width value.

text
25.5

Platform

The product platforms, like "PlayStation 4" or "Windows".

PlatformHTML

The product platforms, like "PlayStation 3" or "Windows" formatted as an HTML unordered list (<ul><li> ...).

ParentASIN

ProductGroup

The item's product group, e.g. "Toy", "Video Games", "Book" etc.

ProductId

The unique product ID (WordPress post ID of the product entry). This placeholder works for all product types including custom products, making it a universal alternative to {{ ASIN }} which is only populated for Amazon products.

Since version 1.32.0.

TIP

If you are using the ASA2 Tracking add-on, this placeholder is required for tracking non-Amazon products. ASA2 1.32.0+ is required.

text
{% if ProductId is not empty %}
    <div data-product-id="{{ ProductId }}">...</div>
{% endif %}

ProductTypeName

PublicationDate

The item's publication date.

text
2014-10-23

INFO

You can manipulate date values with the Filter Date filter.

PublicationDateBlogFormat

The item's publication date in the blog's date format.

text
23.10.2014 01:00

Publisher

The item's publisher name.

ReleaseDate

The item's release date.

text
2012-09-01

ReleaseDateBlogFormat

The item's release date in the blog's date format.

text
01.09.2012
// or
October 20, 2015

RepoTitle

If the product is loaded from the Products, {{ RepoTitle }} contains the title of the product.

SalesRank

The product's sales rank within its category. One is the highest rating; a large number means the item has not sold well.

You could combine it with {{ ProductGroup }}, like this:

text
Rank {{ SalesRank }} in {{ ProductGroup }}
{# output: Rank 7 in Video Games #}

Size

The item's size.

Studio

The item's studio e.g. "LEGO"

Title

The product title, e.g. "LEGO Star Wars 75030 Millennium Falcon". If the product is loaded from the Products, it will contain the product's title, otherwise the original Amazon title.

If you want to customize the title, either use the Products and change the product's title or use Template Filters.

For example, if you want to display the title in upper case, use the Filter Upper filter:

text
{{ Title|upper }}

Or use the Filter Replace filter to replace a part of the title with a new text:

text
{{ Title|replace({'iPhone': 'Smartphone', 'Galaxy S5': 'Smartphone'}) }}

Also see: Placeholders Original Title, Placeholders Repo Title

TrackingId

An alias for Placeholders Associate Id.

ASA2 - The Amazon Affiliate Plugin for WordPress