Ecom:Order.Volume

Version: - double  

Summary

Returns the total volume for the order.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:Order.Volume")

Check if tag has a value

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

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Order.Volume"); }

Outputting the template tag

<!--@Ecom:Order.Volume-->

Check if double has a value

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