Ecom:Order.UsedGiftCard.RemainingBalance.Price

Version: - price  

Summary

Returns the price without formatting, e.g. "1000,00"

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetPrice("Ecom:Order.UsedGiftCard.RemainingBalance.Price")

Check if tag has a value

@if(!double.IsNullOrWhiteSpace(GetPrice("Ecom:Order.UsedGiftCard.RemainingBalance.Price"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ double storedTag = GetPrice("Ecom:Order.UsedGiftCard.RemainingBalance.Price"); }

Outputting the template tag

<!--@Ecom:Order.UsedGiftCard.RemainingBalance.Price-->

Check if price has a value

<!--@If Defined(@Ecom:Order.UsedGiftCard.RemainingBalance.Price)--> Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.RemainingBalance.Price--></strong> <!--@EndIf(@Ecom:Order.UsedGiftCard.RemainingBalance.Price)-->