Authorizenet.x_ship_to_city
Version: - stringSummary
Returns city name to ship.
Settings
The value can be based on City Name fied of the shipping section the cart.
Examples
Outputting the template tag
@GetString("Authorizenet.x_ship_to_city")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Authorizenet.x_ship_to_city"))) {
@* 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_city");
}
Outputting the template tag
<!--@Authorizenet.x_ship_to_city-->
Check if string has a value
<!--@If Defined(@Authorizenet.x_ship_to_city)-->
Let's output this tag here: <strong><!--@Authorizenet.x_ship_to_city--></strong>
<!--@EndIf(@Authorizenet.x_ship_to_city)-->