Forums / Addon Shipping Modules / ZipShip - Support Thread

ZipShip - Support Thread

Results 1 to 20 of 109
30 Oct 2016, 18:53
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

ZipShip - Support Thread

I couldn't find a support-thread for the ZipShip shipping-module (other than a couple that have been closed), so here we go ...

I've just submitted v2.0.0 to the plugins for review; it's been tested under Zen Cart 1.5.4 and 1.5.5 but should be OK for earlier versions, too. The following changes were incorporated:
  1. Use PSR indentation
  2. Add "extends base" to class definition
  3. Rename constructor to __construct for PHP 7+ usage
  4. Don't enable the shipping method unless the current ship-to address is configured for the method.
  5. Change usage of the PHP "split" function for PHP 5.3+ usage (it's deprecated).

Note: This version of the ZipShip shipping module is also needed for compatibility with the One-Page Checkout plugin.
30 Nov 2016, 02:42
#2
weif avatar

weif

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

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...
30 Nov 2016, 12:06
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

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.
22 Dec 2016, 23:29
#4
weif avatar

weif

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

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.
22 Dec 2016, 23:50
#5
weif avatar

weif

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: ZipShip - Support Thread

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
 $this->dest_zipcode = $order->delivery['postcode'];
to
 $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.
23 Dec 2016, 13:31
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

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.
23 Dec 2016, 16:19
#7
weif avatar

weif

New Zenner

Join Date:
Mar 2010
Posts:
83
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

weif, thanks for the report


Thank you. Glad to be of assistance.

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.
24 Dec 2016, 17:39
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

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
28 Dec 2016, 14:37
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: ZipShip - Support Thread

v2.0.1 is now available for download from the Zen Cart Plugins.
04 Jul 2017, 17:13
#10
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

Let's take this discussion to ZipShip's support thread: https://www.zen-cart.com/showthread.php?221303-ZipShip-Support-Thread

If you would include a screenshot of your ZipShip configuration screen over there, it will help me help you!


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.
04 Jul 2017, 17:40
#11
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: ZipShip - Support Thread

I figured out what the problem was. I had to go into Minimum Values and set the post code length to 5. It was 4. Now the mod is working just fine.
04 Jul 2017, 17:42
#12
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: ZipShip - Support Thread

@wtashby, thanks for the information and the update! I'm happy that ZipShip is now working for you!
14 Nov 2017, 07:04
#13
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
584
Plugin Contributions:
0

Re: ZipShip - Support Thread

I installed the plugin but i can't get it to work.

I set on zip code in zone 1 as 94939. Set the rate at 10:9.99.

The only option being displayed at checkout is for pickup.

Any ideas what i am doing wrong?

It is on a live test site here at www.royal-fleur.com/wholesale
14 Nov 2017, 12:08
#14
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: ZipShip - Support Thread

nicksab:

I installed the plugin but i can't get it to work.

I set on zip code in zone 1 as 94939. Set the rate at 10:9.99.

The only option being displayed at checkout is for pickup.

Any ideas what i am doing wrong?

It is on a live test site here at www.royal-fleur.com/wholesale

I get a 404 (page not found) when I attempt to view that link.

What is the address that you're using when you checkout? Is it in that 94939 zipcode?

How much does the package weigh? With that setup, up to 10 lbs will be 9.99. Over that, the shipping method is disabled.
18 Nov 2017, 19:18
#15
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
584
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

I get a 404 (page not found) when I attempt to view that link.

What is the address that you're using when you checkout? Is it in that 94939 zipcode?

How much does the package weigh? With that setup, up to 10 lbs will be 9.99. Over that, the shipping method is disabled.


I tried the address with 94939 zipcode in the biling and shipping. I also tried this zipcode in the shipping only.

I don t have any weight specified on any of my product. I am selling flowers arrangement on an items basis so there is no fixed weight. Could this be the problem?

Thank you
18 Nov 2017, 19:21
#16
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
584
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

I get a 404 (page not found) when I attempt to view that link.

What is the address that you're using when you checkout? Is it in that 94939 zipcode?

How much does the package weigh? With that setup, up to 10 lbs will be 9.99. Over that, the shipping method is disabled.


The link should work now. My server was down for awhile.

http://www.royal-fleur.com/wholesale/
18 Nov 2017, 19:36
#17
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: ZipShip - Support Thread

Could you post a screen-shot of your ZipShip configuration?
18 Nov 2017, 22:47
#18
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
584
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

Could you post a screen-shot of your ZipShip configuration?


Here is the screenshot. I am not getting any error in my logs so I honestly don t get it.

Attachment 17439
19 Nov 2017, 13:55
#19
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: ZipShip - Support Thread

What's your store's configuration for Configuration->Minimum Values->Post Code? The default is 4, but minimum lengths of US postcodes is 5. If the value's currently 4, try changing that to 5!
19 Nov 2017, 22:53
#20
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
584
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

What's your store's configuration for Configuration->Minimum Values->Post Code? The default is 4, but minimum lengths of US postcodes is 5. If the value's currently 4, try changing that to 5!



I already check this based on other post. It is set to 5.