Index
- CPC Lesson 1 - Activation and file upload
- CPC Lesson 2 - Configure the Main settings
-
CPC Lesson 3 - Setting up Zones
- Country list
- Postcode list
- Postcode interval
- Distance list
- Distance interval - CPC Lesson 4 - Setting up Routes
- CPC Lesson 5 - Setting up Prices
- CPC Lesson 6 - Setting up Fees/Discounts
- CPC Lesson 7 - Managing your files
Geographical Zones often have an impact on freight rates. In the Zones tab, you can create zones to calculate prices based on different zones. Customized areas can also be used to define limits for certain services.
Country list
Use this type of zone for prices based on receiver country.
- Click on the Zones tab after opening your CPC file in edit mode.
- Select Country list from the drop-down list
- Click Add and enter a name and the country code in ISOA2 format (2-letter code).
- Click Add again to add another country and click Save when you are done adding all the required countries.
Postcode list
This type lets you create a zone based on a list of postcodes. Suitable for cases where the country is implicit, e.g. when using domestic products.
- Under the Zones tab, choose Post code list from the drop-down list.
- Click Add and enter a name and a postcode. Repeat to add multiple post codes to the list.
- Click Save when you are done.
Postcode intervals
This type lets you create a postcode interval by defining a value from and a value to. Useful if you have many postcodes that can be defined in intervals instead of adding them to a list one by one.
- Under the Zones tab, choose Post code intervals or Country and post code intervals from the drop-down list. Use the type with country codes if you are going to create intervals in different countries.
- Click Add, enter a name, and fill in From and To values. Note that the From and To values must have the same format. If a From value consists of 4 numbers and two letters the To value must do the same.
Distance interval
In this type of zone, a distance interval is defined.
- Under the Zones tab, choose Distance interval from the drop-down list.
- Click Add, enter a name, and fill in From and To values. Repeat to add multiple distance intervals. Note that the beginning and end of each interval are always entered as in the example below, 1-5, 6-10, 11-20, etc.
- Click Save.
XML examples
These code samples show what the different zone types look like when defined in the XML file generated by the user interface. It is possible to make changes in the XML by going to the XML tab.
Country list:
<Zones>
<Zone Name="Z1" ZoneInputType="CountryList">
<Countries>
<Country ISOA2="DK">
<Subzones>
<Subzone SubzoneInputType="Postcode list">
<SubzoneInputZipCodes>
<SubzoneInputZipCode Value="*" ValueFormat="*"/>
</SubzoneInputZipCodes>
</Subzone>
</Subzones>
</Country>
<Country ISOA3="SWE">
<Subzones>
<Subzone SubzoneInputType="Postcode list">
<SubzoneInputZipCodes>
<SubzoneInputZipCode Value="11-525" ValueFormat="NN-NNN"/>
</SubzoneInputZipCodes>
</Subzone>
<Subzone SubzoneInputType="Postcode interval">
<SubzoneInputZipCodes>
<SubzoneInputZipCode ValueFrom="00-000" ValueTo="11-525" ValueFormat="NN-NNN"/>
<SubzoneInputZipCode ValueFrom="18-525" ValueTo="19-525" ValueFormat="NN-NNN"/>
</SubzoneInputZipCodes>
</Subzone>
</Subzones>
</Country>
</Countries>
</Zone>
</Zones>
Postcode list:
<Zones>
<Zone Name="Z1" ZoneInputType="ZipCodeList">
<ZoneInputZipCodes>
<ZoneInputZipCode Value="SW2 1AA" ValueFormat="AAN NAA"/>
<ZoneInputZipCode Value="SW2 1AB" ValueFormat="AAN NAA"/>
</ZoneInputZipCodes>
</Zone>
</Zones>
Postcode interval:
<Zones>
<Zone Name="Z1" ZoneInputType="ZipCodeInterval">
<ZoneInputZipCodes>
<ZoneInputZipCode ValueFrom="0100" ValueTo="5555" ValueFormat="NNNN"/>
<ZoneInputZipCode ValueFrom="7000" ValueTo="9000" ValueFormat="NNNN"/>
</ZoneInputZipCodes>
</Zone>
</Zones>
Distance list:
<Zones>
<Zone Name="Z1" ZoneInputType="DistanceList">
<ZoneInputDistances>
<ZoneInputDistance Value="20"/>
</ZoneInputDistances>
</Zone>
<Zone Name="Z2" ZoneInputType="DistanceList">
<ZoneInputDistances>
<ZoneInputDistance Value="40"/>
</ZoneInputDistances>
</Zone>
</Zones>
Distance interval:
<Zones>
<Zone Name="Z1" ZoneInputType="DistanceInterval">
<ZoneInputDistances>
<ZoneInputDistance ValueFrom="1" ValueTo="21"/>
</ZoneInputDistances>
</Zone>
<Zone Name="Z2" ZoneInputType="DistanceInterval">
<ZoneInputDistances>
<ZoneInputDistance ValueFrom="21" ValueTo="41"/>
</ZoneInputDistances>
</Zone>
</Zones>
← Previous lesson | ↑ Back to top | Next lesson → |