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