UserManagement:User.StockLocationID

Version: 9.7.0 string  

Summary

Returns ID of the user stock location.  

Settings

The value is related to value in Users-an user edit form-Eccomerce-Stock location.

Examples

Outputting the template tag

@GetString("UserManagement:User.StockLocationID")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement:User.StockLocationID"); }

Outputting the template tag

<!--@UserManagement:User.StockLocationID-->

Check if string has a value

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