CustomerRegions
Summary
The CustomerRegions
loop lets you display information about regions of the customer, related to region list in Country definition.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:CustomerRegion.Code2
Returns extra code of the customer region.
@GetString("Ecom:CustomerRegion.Code2")
Ecom:CustomerRegion.IsCustomerRegion
Returns True if the customer's region is the same as the site customer's region.
@GetString("Ecom:CustomerRegion.IsCustomerRegion")
Ecom:CustomerRegion.Name
Returns Name of the customer's region.
@GetString("Ecom:CustomerRegion.Name")
Ecom:CustomerRegion.RegionCode
Returns code of the customer's region.
@GetString("Ecom:CustomerRegion.RegionCode")