Ecom:StockStateTotals.TotalWeight

Version: - double  

Summary

Returns the total weight of the specific unit.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:StockStateTotals.TotalWeight")

Check if tag has a value

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

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:StockStateTotals.TotalWeight"); }

Outputting the template tag

<!--@Ecom:StockStateTotals.TotalWeight-->

Check if double has a value

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