Ecom:StockStateTotals.UnitID

Version: - string  

Summary

Returns the ID of the stock unit.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:StockStateTotals.UnitID")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:StockStateTotals.UnitID"); }

Outputting the template tag

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

Check if string has a value

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