
Originally Posted by
weif
I think that what is needed is an addition to the documentation where it says, "Starting with v3.0.0, you can customize the text displayed to the customer for each of the defined postcode zones..." Maybe at the end of that paragraph it should add something to the effect of, "If you have added additional zones, you MUST add entries to this file for each zone added."
Sorry, I forgot to include the fix.
In the /includes/languages/english/modules/shipping[/YOUR_TEMPLATE]/zipship.php file (and/or other languages, as appropriate for your site), you need to add entries for:
Code:
MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_[x]
MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_[x]
(where [x] is the number of the zone in the zipship configuration). This needs to be done for each zone added beyond the default three.
So if you have six zones, and have changed
Code:
$this->num_zones = 3;
to
Code:
$this->num_zones = 6;
in /includes/modules/shipping/zipship.php, you will need to add entries:
Code:
define('MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_4', 'Zipcode Rate');
define('MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_4', 'Deliver To Zipcode: ');
define('MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_5', 'Zipcode Rate');
define('MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_5', 'Deliver To Zipcode: ');
define('MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_6', 'Zipcode Rate');
define('MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_6', 'Deliver To Zipcode: ');
You may want or need to change these from the default text.
Bookmarks