Skip to content

Price / Offers

This section covers all price-related placeholders available in ASA2. The placeholders are organized into logical groups for better navigation:

The examples below refer to the product in this screenshot:

Product price screenshot

Price placeholders

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:

  1. If the product has a sale price (Placeholders Offersalepriceamount):

AutoPrice = SalePrice

  1. If there is no sale price but a main price (Placeholders Offermainpriceamount):

AutoPrice = MainPrice

(Which would automatically mean the variations price, if the product has variations. See Placeholders Variations)

  1. If option "AutoPrice considers LowestNewPrice" is set, and the lowest new price is lower than the prices from 1. and 2.:

AutoPrice = LowestNewPrice

  1. If option "AutoPrice considers LowestUsedPrice" is set, and the lowest used price is lower than the prices from 1. and 2.:

AutoPrice = LowestUsedPrice

INFO

To simply show the right price for most products, use placeholder {{ OffersAutoPriceAmount }} respectively {{ OffersAutoPriceFormattedPrice }}

Example: Referring to the Placeholders Price Example Product Screenshot:

text
{{ 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 Placeholders Price Example Product Screenshot:

text
4767

OffersAutoPriceCurrencyCode

This placeholder contains just the currency code of the auto generated price.

Example: Referring to the Placeholders Price Example Product Screenshot:

text
{{ OffersAutoPriceCurrencyCode }} = USD

OffersAutoPriceFormattedPrice

This placeholder contains the automatically generated price with currency code.

Example: Referring to the Placeholders Price Example Product Screenshot:

text
{{ OffersAutoPriceFormattedPrice }} = $47.67

For more price-related placeholders, see:

ASA2 - The Amazon Affiliate Plugin for WordPress