Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted
Version: - doubleSummary
Returns the price with formatting, e.g. "1000,00 kr."
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDouble("Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted");
}
Outputting the template tag
<!--@Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted-->
Check if double has a value
<!--@If Defined(@Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted)-->
Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted--></strong>
<!--@EndIf(@Ecom:Order.UsedGiftCard.InitialAmount.PriceFormatted)-->