Stock
Version: 9.9.0 stringSummary
The number of variants in stock.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Stock")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Stock"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Stock");
}
Outputting the template tag
<!--@Stock-->
Check if string has a value
<!--@If Defined(@Stock)-->
Let's output this tag here: <strong><!--@Stock--></strong>
<!--@EndIf(@Stock)-->