Klarna.Country
Version: - stringSummary
Returns a country code defined for the checkout.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Klarna.Country")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Klarna.Country"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Klarna.Country");
}
Outputting the template tag
<!--@Klarna.Country-->
Check if string has a value
<!--@If Defined(@Klarna.Country)-->
Let's output this tag here: <strong><!--@Klarna.Country--></strong>
<!--@EndIf(@Klarna.Country)-->