Ecom:Order.Taxes.TotalPriceFormatted

Version: - string  

Summary

Returns the formatted total tax amount, e.g. $7.97.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Order.Taxes.TotalPriceFormatted")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order.Taxes.TotalPriceFormatted"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Order.Taxes.TotalPriceFormatted"); }

Outputting the template tag

<!--@Ecom:Order.Taxes.TotalPriceFormatted-->

Check if string has a value

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