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