Ecom:Order.PriceWithoutTaxes
Version: - priceSummary
Returns the total order price excl. taxes but incl.discounts and fees.
Settings
The value is generated automatically.
Remarks
​Includes the option to add price extensions in order to format the price. See Price extensions (Prefix : Ecom:Order.PriceWithoutTaxes).
Examples
Outputting the template tag
@GetPrice("Ecom:Order.PriceWithoutTaxes")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetPrice("Ecom:Order.PriceWithoutTaxes"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetPrice("Ecom:Order.PriceWithoutTaxes");
}
Outputting the template tag
<!--@Ecom:Order.PriceWithoutTaxes-->
Check if price has a value
<!--@If Defined(@Ecom:Order.PriceWithoutTaxes)-->
Let's output this tag here: <strong><!--@Ecom:Order.PriceWithoutTaxes--></strong>
<!--@EndIf(@Ecom:Order.PriceWithoutTaxes)-->