Ecom:Cart.CreateUserInCheckout
Version: - booleanSummary
Returns True if the cart set up to create new user during checkout.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("Ecom:Cart.CreateUserInCheckout")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Ecom:Cart.CreateUserInCheckout"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Ecom:Cart.CreateUserInCheckout");
}
Outputting the template tag
<!--@Ecom:Cart.CreateUserInCheckout-->
Check if boolean has a value
<!--@If Defined(@Ecom:Cart.CreateUserInCheckout)-->
Let's output this tag here: <strong><!--@Ecom:Cart.CreateUserInCheckout--></strong>
<!--@EndIf(@Ecom:Cart.CreateUserInCheckout)-->