Re: ZipShip - Support Thread
I installed zipship for a client yesterday and set up their first zone, and everything seemed fine.
Today I got their complete local delivery fee table, which requires four zones. This seems to have revealed two possible issues.
First, I changed the number of zones in the includes/modules/shipping/zipship.php file from 3 to 4. This did not update the admin. I had to remove the module and then install the module again to get the fourth entry. Was this correct, or was there something else that needed to be done?
Second, I configured everything, but the dot in the list of modules is staying orange, instead of green as it was when I first set it up. Is there something I need to do to change this? It appears to be working correctly, as far as I can tell, just the indicator implies an error...
Re: ZipShip - Support Thread
@weif, that's expected behavior (needing to remove and re-install after changing the number of zones).
I'll need to check as to why the orange light is remaining.
Re: ZipShip - Support Thread
Lat9,
I think I've found another issue. It appears that if a delivery address is entered as a ZIP+4 (i.e. 59701-6593), the check fails and doesn't match any delivery options.
Re: ZipShip - Support Thread
Quote:
Originally Posted by
weif
I think I've found another issue. It appears that if a delivery address is entered as a ZIP+4 (i.e. 59701-6593), the check fails and doesn't match any delivery options.
It looks like changing
Code:
$this->dest_zipcode = $order->delivery['postcode'];
to
Code:
$this->dest_zipcode = substr($order->delivery['postcode'],0,5);
around line 103 of includes/modules/shipping/zipship.php appears to correct the issue, but there may still be something missing, or some issue this causes.
Re: ZipShip - Support Thread
weif, thanks for the report; I've logged this (as well as the other issue you reported) in the plugin's GitHub repository.
The solution you posted might work for US-based zipcodes, but not all zipcodes are the same format. I'll need to consider the best approach for full resolution of the issue.
Re: ZipShip - Support Thread
Quote:
Originally Posted by
lat9
weif, thanks for the report
Thank you. Glad to be of assistance.
Quote:
Originally Posted by
lat9
The solution you posted might work for US-based zipcodes, but not all zipcodes are the same format. I'll need to consider the best approach for full resolution of the issue.
I understand that different regions and countries have their postal codes configured and formatted differently. But I think this will work in my case, as the florist in question only delivers to about 8 US ZIP codes.
Overall, though, this is an awesome module and has relieved a lot of frustration for at least one flower shop.
Re: ZipShip - Support Thread
I've just submitted v2.0.1 to the Zen Cart plugins for review. That version contains changes for:
- Changing the number of ZipShip "zones" doesn't clean up previous settings.
- US Zip Codes entered in 99999-9999 format don't result in a match.
- Remove unused configuration setting (Skip Zipcodes)
- Add an overall zone setting for the shipping method.
Please note that this version makes use of the store's Configuration->Minimum Values->Post Codes value in its processing, truncating an order's ship-to zipcode to that minimum length prior to look-up in the ZipShip configuration. Any zip/post code entered is also uppercased prior to lookup; potentially making this plugin more useful on stores where the postcode is an alphanumeric value rather than simply numeric.
The plugin release is currently available on the plugin's GitHub repository: https://github.com/lat9/zipship/releases/tag/v2.0.1
Re: ZipShip - Support Thread
v2.0.1 is now available for download from the Zen Cart Plugins.
2 Attachment(s)
Re: ZipShip - Support Thread
Quote:
Originally Posted by
lat9
Ok, here are my ZipShip configs: Attachment 17126
This is what I get at checkout when using it. The zipcode is correct: Attachment 17127
It doesn't seem to be picking up the zip code entered in the shopping cart.