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