.. include:: _include.rst
.. highlight:: html+jinja
.. _options_placeholders:
#####################
Placeholders
#####################
.. include:: _include_local_toc.rst
**********************************
AutoPrice considers LowestNewPrice
**********************************
If this option is active, placeholder {{ OffersAutoPriceAmount }} respectively {{ OffersAutoPriceFormattedPrice }} will consider the **lowest new price** in their calculation. For more details see :ref:`placeholders_auto_price`.
.. image:: _static/AutoPrice_considers_LowestNewPrice.png
:height: 83px
:width: 767px
:scale: 100%
:alt: AutoPrice considers LowestNewPrice
***********************************
AutoPrice considers LowestUsedPrice
***********************************
If this option is active, placeholder {{ OffersAutoPriceAmount }} respectively {{ OffersAutoPriceFormattedPrice }} will consider the **lowest used price** in their calculation. For more details see :ref:`placeholders_auto_price`.
.. image:: _static/AutoPrice_considers_LowestUsedPrice.png
:height: 83px
:width: 780px
:scale: 100%
:alt: AutoPrice considers LowestUsedPrice
****************************************************
AutoPrice: Consider LowestUsedPrice only if no other
****************************************************
If this option is active, the lowest used price will only be considered for placeholder {{ OffersAutoPriceFormattedPrice }} if there is no other price at all. For more details see :ref:`placeholders_auto_price`.
.. image:: _static/AutoPrice_Consider_LowestUsedPrice_only_if_no_other.png
:height: 85px
:width: 771px
:scale: 100%
:alt: AutoPrice: Consider LowestUsedPrice only if no other
******************************************
AutoPrice considers LowestCollectiblePrice
******************************************
If this option is active, placeholder {{ OffersAutoPriceAmount }} respectively {{ OffersAutoPriceFormattedPrice }} will consider the **lowest collectible price** in their calculation. For more details see :ref:`placeholders_auto_price`.
.. image:: _static/AutoPrice_considers_LowestCollectiblePrice.png
:height: 65px
:width: 764px
:scale: 100%
:alt: AutoPrice considers LowestCollectiblePrice
***********************************************************
AutoPrice: Consider LowestCollectiblePrice only if no other
***********************************************************
If this option is active, the lowest collectible price will only be considered for placeholder {{ OffersAutoPriceFormattedPrice }} if there is no other price at all. For more details see :ref:`placeholders_auto_price`.
.. image:: _static/AutoPrice_Consider_LowestCollectiblePrice_only_if_no_other.png
:height: 79px
:width: 793px
:scale: 100%
:alt: AutoPrice: Consider LowestCollectiblePrice only if no other
.. _option_isavailable_if_other_offers:
***************************
IsAvailable if other offers
***************************
If activated, placeholder :ref:`placeholder_isavailable` will be true if there are other offers (new or used). Otherwise this placeholder only depends on the main price. The placeholder {{ IsAvailable }} decides if the buy button in managed templates is active or not.
.. image:: _static/option_isavailable_if_other_offers.png
:height: 88px
:width: 869px
:scale: 100%
:alt: IsAvailable if other offers
********************
Localized shop logos
********************
If activated, placeholders {{ AmazonLogoSmallUrl }} and {{ AmazonLogoLargeUrl }} will show Amazon logos with top level domains according to the product's country code. By default a logo without top level domain will be shown.
The default logo:
.. image:: _static/amazon.jpg
:height: 48px
:width: 140px
:scale: 100%
:alt: Amazon logo without domain
With active option "Localized shop logos" and product country code "US":
.. image:: _static/amazon_US.jpg
:height: 48px
:width: 140px
:scale: 100%
:alt: Amazon logo US
... or product country code "DE":
.. image:: _static/amazon_DE.jpg
:height: 48px
:width: 140px
:scale: 100%
:alt: Amazon logo DE
.. image:: _static/option_localized_shop_logos.png
:height: 89px
:width: 879px
:scale: 100%
:alt: Localized shop logos
.. _option_placeholder_enable_post:
***************************
Enable WP Post placeholders
***************************
This option allows the use of WP Post values as placeholders using the **{{ post.* }}** syntax. For more details, check the placeholder page :ref:`placeholders_post`.
.. image:: _static/option_placeholders_enable_post.png
:height: 174px
:width: 867px
:scale: 100%
:alt: Enable WP Post placeholders
***********************
Custom empty price text
***********************
Here you can enter a text which should be displayed if a product does not have a price. If nothing is entered here, |asa2|'s price placeholders will contain "--".
You can either enter a text if your site is monolingual, or you can enter a template translation key, if you are working on a monolingual site.
.. note::
This option applies only to placeholders :ref:`placeholders_auto_price` and :ref:`placeholders_offersautopriceFormattedprice`.
.. image:: _static/option_custom_empty_price.png
:height: 119px
:width: 884px
:scale: 100%
:alt: Empty price text