CountryElement breaking changes
If you were using the Ecommerce country element - a configuration node which holds country specific information, you will have to use the Locations node instead. If you have not changed the default countries that were installed by the Ecommerce module, you do not have to do anything. Otherwise, follow the steps below:
- Open the EcommerceConfig.config file.
- Locate the node that starts with <countries>.
- Cut the entire node.
- Create a new file called LocationsConfig.config.
- Paste the countries as shown in the example below.
Here is the code example:
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
locationsConfig
xmlns:config
=
"urn:telerik:sitefinity:configuration"
xmlns:type
=
"urn:telerik:sitefinity:configuration:type"
config:version
=
"6.0.4854.16513"
>
<
countries
>
<
add
isoCode
=
"BG"
>
<
states
>
<
add
name
=
"xxxxx"
stateIsActive
=
"True"
latitude
=
"0"
longitude
=
"0"
abbreviation
=
"xxxxx"
/>
</
states
>
</
add
>
</
countries
>
</
locationsConfig
>