Thanks for the update to this plugin - very timely for myself as I am ready for 158.
I did have an issue though.
I actually split some of my postcodes by adding A or B to them on some occasions - generally when a postcode covers a large area and I want to offer different rates to different suburbs with a postcode.
eg, 6056,6056A,6056B,6055b,6112A,6164A,6126,6172,6173,6174,6175,6176,6027,6077,6166A ,6025,6110
And for example if I am looking for 6164A, but 6164 appears earlier in the table, then the function checkForMatch was prematurely finding a match.
This is corrected (for me) by amending this line -
if ($next_zone !== '' && strpos($dest_zipcode, $next_zone) === 0) {
to
if ($next_zone !== '' && strpos($next_zone, $dest_zipcode) === 0) {
v3.1.1 of ZipShip is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=312
This release corrects issue #15 (Intervening whitespace in zipcode lists result in no-match-found, no quote)
Hi,
I've been struggling with updating my Zencart for about 3 weeks now. When I fix one thing another seems to break. Currently I am getting this in the logs after i go to the checkout page :
Undefined constant "MODULE_SHIPPING_ZIPSHIP_ZONE" in /home3/genesbea/public_html/includes/modules/shipping/zipship.php:77
Anybody got any ideas as to what is going on here please?
Thanks
PS My ZenCar version is currently : 1.5.8a/ The ZipShip version is 3.1 As suggested I have uploaded an image of the settings in my Modules section.![]()
Interesting, any idea what version of ZipShip you upgraded from?
To correct your issue, navigate to your admin's Tools :: Install SQL Patches and run this query to add that missing setting:
Code:INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Shipping Zone', 'MODULE_SHIPPING_ZIPSHIP_ZONE', '0', 'If a zone is selected, only enable this shipping method for that zone.', 6, 6, 'zen_get_zone_class_title', 'zen_cfg_pull_down_zone_classes(', now());
v3.1.2 of ZipShip is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=312
This release renames the module's language file to lang.zipship.php; required for zc210 interoperability.
The shipping module will only show up on the storefront when the ship-to zipcode is present in the module's configured list.
Bookmarks