Prints the end date of the product's selling price if the product belongs to a discount campaign.
Kuvaus
If multiple campaigns apply to the list price, the selling price is determined based on the campaign with the highest discount.
Date is printed in the format 31.12.2015.
The tag doesn't print anything if the product doesn't have a campaign price. And if the campaign price doesn't have an end date, a dictionary entry explaining that the price is valid for the time being will be printed instead. The entry can be found under the ProductPriceTemporaryValidity
code.
Syntaksi
{ProductPriceValidity}
Näkyvyys
Toimii näkyvyydessä: tuote
The required scope is always set in the following templates:
Templates |
---|
Single product template |
Product images |
Attribuutit
after/before:
By using the
after
andbefore
attributes you can define content that is output either after or before the tag's output.Allowed values:The HTML and Interface markup
E.g.
before:
'<p>Tämä merkkaus näkyy ennen tagin omaa sisältöä.</p>'after:
'<p>Tämä taas näkyy tagin oman sisällön jälkeen.</p>'
If the tag does not produce any content, neither the content of the
after
andbefore
attributes will be output.escape:
Adds an escape character before quotation marks in the output.
The attribute makes it easier to process the tag-produced content when using JavaScript.
Allowed values:true/false. The default value is false.
or:
Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values:The HTML and Interface markup
E.g.
or:
'Sisältöä ei löytynyt.'