Full country name.
console("Shipping to country: " + CheckoutItem.CountryFrom.Name);
Numeric ISO country code.
console("Numeric country code: " + CheckoutItem.CountryFrom.NumericIsoCode);
Three-letter ISO country code.
console("Country code: " + CheckoutItem.CountryFrom.ThreeLetterIsoCode);
Two-letter ISO country code.
if (CheckoutItem.CountryFrom.TwoLetterIsoCode === "US") {
console("Domestic US shipping");
}
Generated using TypeDoc
Represents country information during checkout. Provides access to country details for geographic-based pricing and shipping calculations.