Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT
Version: - doubleSummary
Returns the price including VAT, e.g. "1000,00" (doesn't render the last 0 number in decimals. Use the *.PriceWithVATFormatted extension).
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDouble("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT");
}
Outputting the template tag
<!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT-->
Check if double has a value
<!--@If Defined(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT)-->
Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT--></strong>
<!--@EndIf(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.PriceWithVAT)-->