Ecom:StockUnit.StockLocationID

Version: - integer  

Summary

Returns the ID of the stock location.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:StockUnit.StockLocationID")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:StockUnit.StockLocationID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:StockUnit.StockLocationID"); }

Outputting the template tag

<!--@Ecom:StockUnit.StockLocationID-->

Check if integer has a value

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