Price / Offers¶
The following placeholders are all related to the item’s price. The examples refer to the product in this screenshot:
Product price screenshot¶
{{ OffersAutoPriceAmount }}¶
This is the preferred placeholder to use. As its name implies, it get generated by ASA2 respecting all price information of the product.
It works like this:
If the product has a sale price ({{ OfferSalePriceAmount }}):
AutoPrice = SalePrice
If there is no sale price but a main price ({{ OffersMainPriceAmount }}):
AutoPrice = MainPrice
(Which would automatically mean the variations price, if the product has variations. See Variations)
If option “AutoPrice considers LowestNewPrice” is set, and the lowest new price is lower than the prices from 1. and 2.:
AutoPrice = LowestNewPrice
If option “AutoPrice considers LowestUsedPrice” is set, and the lowest used price is lower than the prices from 1. and 2.:
AutoPrice = LowestUsedPrice
Note
To simply show the right price for most products, use placeholder {{ OffersAutoPriceAmount }}
respectively {{ OffersAutoPriceFormattedPrice }}
Example¶
Referring to the Product price screenshot:
{{ OffersAutoPriceAmount }} = 47.67
{{ OffersAutoPriceInteger }}¶
The item’s automatically calculated lowest price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example referring to the Product price screenshot:
4767
{{ OffersAutoPriceCurrencyCode }}¶
This placeholder contains just the currency code of the auto generated price.
Example¶
Referring to the Product price screenshot:
{{ OffersAutoPriceCurrencyCode }} = USD
{{ OffersAutoPriceFormattedPrice }}¶
This placeholder contains the automatically generated price with currency code.
Example¶
Referring to the Product price screenshot:
{{ OffersAutoPriceFormattedPrice }} = $47.67
{{ ListPriceAmount }}¶
The item’s list price without currency.
Example referring to the Product price screenshot:
59.99
{{ ListPriceInteger }}¶
The list price / catalog price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example referring to the Product price screenshot:
5999
{{ ListPriceCurrencyCode }}¶
The item’s list price currency code.
Example referring to the Product price screenshot:
USD
{{ ListPriceFormattedPrice }}¶
The item’s formatted list price including amount and currency.
Example referring to the Product price screenshot:
$59.99
{{ 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.
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.
{{ OfferSalePriceInteger }}¶
The item’s sale price as an integer (without decimal mark) including the decimal places. Best used for calculations.
{{ OfferSalePriceCurrencyCode }}¶
The item’s sale price currency code.
{{ OfferSalePriceFormattedPrice }}¶
The item’s sale price with currency code.
{{ OffersLowestNewPriceAmount }}¶
The item’s lowest new price without currency.
Example referring to the Product price screenshot:
45.58
{{ OffersLowestNewPriceInteger }}¶
The item’s lowest new price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example referring to the Product price screenshot:
4558
{{ OffersLowestNewPriceCurrencyCode }}¶
The item’s lowest new price currency code.
Example referring to the Product price screenshot:
USD
{{ OffersLowestNewPriceFormattedPrice }}¶
The item’s formatted lowest new price including amount and currency.
$45.58
{{ OffersLowestUsedPriceAmount }}¶
The item’s lowest used price without currency.
Example referring to the Product price screenshot:
36.75
{{ OffersLowestUsedPriceInteger }}¶
The item’s lowest used price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example referring to the Product price screenshot:
3675
{{ OffersLowestUsedPriceCurrencyCode }}¶
The item’s lowest used price currency code.
Example referring to the Product price screenshot:
USD
{{ OffersLowestUsedPriceFormattedPrice }}¶
The item’s formatted lowest used price including amount and currency.
Example referring to the Product price screenshot:
$36.75
{{ OffersLowestCollectiblePriceAmount }}¶
The item’s collectible price without currency.
Example:
29.99
{{ OffersLowestCollectiblePriceInteger }}¶
The item’s lowest collectible price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example:
2999
{{ OffersLowestCollectiblePriceCurrencyCode }}¶
The item’s lowest collectible price currency code.
Example:
USD
{{ OffersLowestCollectiblePriceFormattedPrice }}¶
The item’s formatted lowest collectible price including amount and currency.
Example:
$29.99
{{ OfferAvailability }}¶
A textual note about the availability of the product, e.g. “Usually ships in 24 hours”.
{{ OfferIsPrime }}¶
If the product is available with Amazon Prime (boolean true / false).
{% 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 %}
{{ OffersMoreOffersURL }}¶
More offers page URL. This Amazon page contains all the marketplace offers the API does not return any more.
{{ OffersTotalMain }}¶
Integer value of how many main offers exists. Mostly this would be just one (1) or 0 if there is no main offer.
Example referring to the Product price screenshot:
1
{{ OffersTotalNew }}¶
Integer value of how many new offers exists.
Example referring to the Product price screenshot:
35
{{ OffersTotalUsed }}¶
Integer value of how many used offers exists.
Example referring to the Product price screenshot:
6
{{ OffersTotalOffers }}¶
The sum of total main, new and used offers.
{{ OffersTotalOfferPages }}¶
Integer value of how many offer pages exist.
{{ OffersTotalRefurbished }}¶
Integer value of how many refurbished offers exists.
{{ OffersTotalCollectible }}¶
Integer value of how many “collectible” offers exists, e.g. “0”.
{{ TradeInValueAmount }}¶
The product’s trade in value amount without currency code.
7,81
{{ TradeInValueCurrencyCode }}¶
The product’s trade in value currency code.
EUR
{{ TradeInValueFormattedPrice }}¶
The product’s trade in value including the amount and currency code.
EUR 7,81
Variations¶
Products with variations are for example clothes with different sizes. On the product page the customer has to select a property first, e.g. the size, before the price of the selected variation will be displayed.
A product with variations has a price range instead of a single price.
Variations screenshot¶
This is a screenshot of an example product with variations.
{{ VariationsOffer }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the price range from lowest to highest offer.
Example output referring to the Variations screenshot:
$19.99 - $55.00
Note
In case a product has variations, {{ OffersMainPriceFormattedPrice }} contains the same value as {{ VariationsOffer }}
{{ VariationsHighestAmount }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the price without currency of the variation with the lowest price.
Example output referring to the Variations screenshot:
55.00
{{ VariationsHighestInteger }}¶
The price without currency of the variation with the highest price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example output referring to the Variations screenshot:
5500
{{ VariationsHighestCurrencyCode }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the currency of the variation with the lowest price.
Example output referring to the Variations screenshot:
USD
{{ VariationsHighestFormattedPrice }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the formatted price of the variation with the lowest price.
Example output referring to the Variations screenshot:
$55.00
{{ VariationsLowestAmount }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the price without currency of the variation with the lowest price.
Example output referring to the Variations screenshot:
19.99
{{ VariationsLowestInteger }}¶
The price without currency of the variation with the lowest price as an integer (without decimal mark) including the decimal places. Best used for calculations.
Example output referring to the Variations screenshot:
1999
{{ VariationsLowestCurrencyCode }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the currency code of the variation with the lowest price.
Example output referring to the Variations screenshot:
USD
{{ VariationsLowestFormattedPrice }}¶
If the product is a parent product that has variations, like clothes with different sizes, this placeholder contains the formatted price of the variation with the lowest price.
Example output referring to the Variations screenshot:
$19.99