Authorizenet.x_ship_to_state
Version: - stringSummary
Returns state to ship.
Settings
The value can be based on State field of shipping section the cart .
Examples
Outputting the template tag
@GetString("Authorizenet.x_ship_to_state")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Authorizenet.x_ship_to_state"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Authorizenet.x_ship_to_state");
}
Outputting the template tag
<!--@Authorizenet.x_ship_to_state-->
Check if string has a value
<!--@If Defined(@Authorizenet.x_ship_to_state)-->
Let's output this tag here: <strong><!--@Authorizenet.x_ship_to_state--></strong>
<!--@EndIf(@Authorizenet.x_ship_to_state)-->