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