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