Ecom:StockStateTotals.Unit

Version: - string  

Summary

Returns the name of the stock unit.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:StockStateTotals.Unit")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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