Main Offers

The following placeholders are related to the main offer information, including main prices, sale prices, savings, and special deals. These represent the primary offer data from Amazon or custom shops.

{{ OffersMainPriceAmount }}

The item’s main price without currency.

Example

Referring to the Product price screenshot:

47.67

Note

In case a product has variations, {{ OffersMainPriceAmount }} contains the price range of all variations (see Variations).

Example output of a price range referring to the Variations screenshot:

19.99 - 55.00

{{ OffersMainPriceInteger }}

The main offer price as an integer (without decimal mark) including the decimal places. Best used for calculations.

Example

Referring to the Product price screenshot:

4767

{{ OffersMainPriceCurrencyCode }}

The main price currency code.

Example

Referring to the Product price screenshot:

USD

{{ OffersMainPriceFormattedPrice }}

The item’s formatted main price including amount and currency.

Example

Referring to the Product price screenshot:

$47.67

Note

In case a product has variations, {{ OffersMainPriceFormattedPrice }} contains the price range of {{ VariationsOffer }} (see Variations).

Example output of a formatted price range referring to the Variations screenshot:

$19.99 - $55.00

{{ OfferAmountSaved }}

The amount of the difference between the list price and the actual price without currency.

Example

Referring to the Product price screenshot:

12.32

{{ OfferAmountSavedInteger }}

The amount saved compared to the list price as an integer (without decimal mark) including the decimal places. Best used for calculations.

Example

Referring to the Product price screenshot:

1232

{{ OfferAmountSavedCurrencyCode }}

The currency code of the saved amount.

Example

Referring to the Product price screenshot:

USD

{{ OfferAmountSavedFormattedPrice }}

The item’s formatted saved amount including amount and currency.

Example

Referring to the Product price screenshot:

$12.32

{{ OfferSalePriceAmount }}

The item’s sale price without currency.

Example

Available when the product has a special sale price.

42.99

{{ OfferSalePriceInteger }}

The item’s sale price as an integer (without decimal mark) including the decimal places. Best used for calculations.

Example

4299

{{ OfferSalePriceCurrencyCode }}

The item’s sale price currency code.

Example

USD

{{ OfferSalePriceFormattedPrice }}

The item’s sale price with currency code.

Example

$42.99

{{ OfferAvailability }}

A textual note about the availability of the product, e.g. “Usually ships in 24 hours”.

Example

Usually ships in 24 hours

{{ OfferIsPrime }}

If the product is available with Amazon Prime (boolean true / false).

Example

{% if OfferIsPrime %}<img src="path/to/my/img/prime.png">{% endif %}

{{ OfferPercentageSaved }}

An integer value of the percentage saved.

Example

Referring to the Product price screenshot:

21

This is an example of a conditional usage, it will only show the percentage saved if it is available:

{% if OfferPercentageSaved is not empty %}{{ OfferPercentageSaved }}% saved{% endif %}

{{ OfferDealBadge }}

Contains marketing badges that visually identify special Amazon offers like “Prime Day Deal” or “Lightning Deal”. This placeholder is only available for Amazon products and displays promotional badges provided by Amazon’s Product Advertising API.

Offer deal badge
Example output:
  • “Prime Day Deal”

  • “Lightning Deal”

  • Other promotional badges from Amazon

Availability:
  • Amazon products only (requires PA API 5.0)

  • Only when Amazon provides deal badge data

  • Not available for custom shop products

Example

Template usage:

{% if OfferDealBadge is not empty %}
<span class="asa2-offer-deal-badge">{{ OfferDealBadge }}</span>
{% endif %}

Styling example:

.asa2-offer-deal-badge {
    background-color: #CC0C39;
    color: white;
    padding: 4px 6px;
    margin-left: 8px;
    border-radius: 4px;
    font-size: 14px !important;
    vertical-align: top;
}

Note

This feature was introduced in ASA2 version 1.27.0 as part of the enhanced Amazon special offer prices support.