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