Jun
16
Address Format
Leave a comment »
If like me you used the first UK Zones contribution, your addresses will be showing a short code for the county of that address.
There are two ways around this.
- Use a more uptodate contribution
- Alter the code in general.php
in includes/functions/general.php
around line 524 change
CODE
$state = tep_get_zone_code($address['country_id'], $address['zone_id'], $state);
to
CODE
$state = tep_get_zone_name($address['country_id'], $address['zone_id'], $state);