Ecom:Country.Number

Version: - integer  

Summary

Returns the payment code for the country.

Settings

The value is based on the Payment code input field under the Country settings.

(eCommerce > Configuration > Country > Country > General tab)

Examples

Outputting the template tag

@GetInteger("Ecom:Country.Number")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:Country.Number"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:Country.Number"); }

Outputting the template tag

<!--@Ecom:Country.Number-->

Check if integer has a value

<!--@If Defined(@Ecom:Country.Number)--> Let's output this tag here: <strong><!--@Ecom:Country.Number--></strong> <!--@EndIf(@Ecom:Country.Number)-->