Quick helper mod for when setting up
UK shipping zones.
Enables you to select UK counties by country (England/Scotland/N. Ireland/Wales).
1) Upload attached
zone_edit_uk_counties.tpl to /skin/common_files/provider/main
2) In /skin/common_files/provider/main/zone_edit.tpl
AFTER...
Code:
<select id="rest_states" name="rest_states" multiple="multiple" style="width: 100%;" size="{$states_box_size}">
{section name=rsid loop=$rest_states}
<option value="{$rest_states[rsid].country_code}_{$rest_states[rsid].code|escape}">{$rest_states[rsid].country|truncate:"17":"...":true}: {$rest_states[rsid].state}</option>
{/section}
</select>
INSERT...
Code:
{* https://forum.x-cart.com/showthread.php?t=78030 *}
{include file="provider/main/zone_edit_uk_counties.tpl"}
Clear X-Cart cache, done
Reference:
https://en.wikipedia.org/wiki/ISO_3166-2:GB