Zen Cart Logo
Forums / Addon Shipping Modules / ZipShip - Support Thread

ZipShip - Support Thread

Views: 53,121

Results 81 to 100 of 109
19 Jan 2024, 12:12 AM
#81
nicksab avatar

nicksab

Totally Zenned

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

ZipShip - Support Thread

lat9:

Set Configuration :: Minimum Values :: Post Code to 5 (it defaults to 4).

wow now i feel really "dumb" and want to go hide in a deep hole. :bangin:

Thanks lat9 for rescuing me as always

19 Jan 2024, 5:48 PM
#82
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

nicksab:

wow now i feel really "dumb" and want to go hide in a deep hole. :bangin:

Thanks lat9 for rescuing me as always
Happy to have helped. I'll note that I ran into this in the initial update for the shipping module as well!

19 Jan 2024, 8:44 PM
#83
nicksab avatar

nicksab

Totally Zenned

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

Re: ZipShip - Support Thread

I am facing another issue.

Module works as intended but i am getting these warning log:

[19-Jan-2024 11:05:34 America/Los_Angeles] Request URI: /index.php?main_page=shopping_cart, IP address: 107.119.57.1
#1 trigger_error() called at [/includes/modules/shipping/zipship.php:186]
#2 zipship->getQuote() called at [/includes/modules/shipping/zipship.php:108]
#3 zipship->quote() called at [/includes/classes/shipping.php:174]
#4 shipping->quote() called at [/includes/modules/bootstrap/shipping_estimator.php:159]
#5 require(/includes/modules/bootstrap/shipping_estimator.php) called at [/includes/templates/bootstrap/modalboxes/tpl_shipping_estimator.php:19]
#6 require(/includes/templates/bootstrap/modalboxes/tpl_shipping_estimator.php) called at [/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:178]
#7 require(/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/includes/templates/bootstrap/common/tpl_main_page.php:213]
#8 require(/includes/templates/bootstrap/common/tpl_main_page.php) called at [/index.php:95]
--> PHP Warning: Missing cost (MODULE_SHIPPING_ZIPSHIP_COST_) or handling (MODULE_SHIPPING_ZIPSHIP_HANDLING_) settings; zipship is disabled. in /includes/modules/shipping/zipship.php on line 186.

[19-Jan-2024 11:05:34 America/Los_Angeles] Request URI: /index.php?main_page=shopping_cart, IP address: 107.119.57.1
#1 require(/includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php) called at [/includes/modules/bootstrap/shipping_estimator.php:300]
#2 require(/includes/modules/bootstrap/shipping_estimator.php) called at [/includes/templates/bootstrap/modalboxes/tpl_shipping_estimator.php:19]
#3 require(/includes/templates/bootstrap/modalboxes/tpl_shipping_estimator.php) called at [/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php:178]
#4 require(/includes/templates/bootstrap/templates/tpl_shopping_cart_default.php) called at [/includes/templates/bootstrap/common/tpl_main_page.php:213]
#5 require(/includes/templates/bootstrap/common/tpl_main_page.php) called at [/index.php:95]
--> PHP Warning: count(): Parameter must be an array or an object that implements Countable in /includes/templates/bootstrap/templates/tpl_modules_shipping_estimator.php on line 113.

Any suggestions on this please?

19 Jan 2024, 11:09 PM
#84
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

Did you modify the shipping-module's number of zones (defaults to 3)?

Have you provided a default/fall-back entry if the order's zip-code matches none of the other configured groups?

19 Jan 2024, 11:58 PM
#85
nicksab avatar

nicksab

Totally Zenned

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

Re: ZipShip - Support Thread

lat9:

Did you modify the shipping-module's number of zones (defaults to 3)?

No I am only using 3 zones with the following setting:

Zipcode-Based Rate

Enable Zip Code Method
True

Calculation Method
Item

Tax Class
Taxable Goods

Shipping Zone
--none--

Sort Order
0

Zone 1 Zip Codes
94939,94925,94904,94957

Zone 1 Shipping Table
5:11.99,99:14.99

Zone 1 Handling Fee
0

Zone 2 Zip Codes
94920,94941,94942,94901,94903

Zone 2 Shipping Table
5:14.99, 99:19.99

Zone 2 Handling Fee
0

Zone 3 Zip Codes
94965,94960

Zone 3 Shipping Table
5:19.99,99:24.99

Zone 3 Handling Fee
0

Have you provided a default/fall-back entry if the order's zip-code matches none of the other configured groups?

No and honestly not sure how to do that. Meaning we don t serve any other zip except for the one provided above.

If the delivery address zip code is not served, i have the "Not available at this time" and checkout cannot be completed. I am assuming that s what is creating the log.

it is working as intended so far except for the logs. I saw "00000" mention for all zip codes but that won t work since we only ship to a limited amount of zip code.

20 Jan 2024, 12:20 AM
#86
nicksab avatar

nicksab

Totally Zenned

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

Re: ZipShip - Support Thread

So if I understand correctly, these logs are generated because if the billing/shipping address zip entered does not match the one i specified and the message appears.

hypothetically, if we don t serve zip code: 11111, the error logs gets generated and the " not available at this time" get displayed.

So that could be confusing to customer.

How can i do this instead: If the zip is outside of our serving area, a message is displayed asking customer to check shipping address in order to continue??

the best would be to have the shipping address separate from the billing address instead of being "auto fill". (if that makes sense)

I look into this option at some point but was never able to figure it out.

20 Jan 2024, 2:43 AM
#87
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

FWIW, I'm working on an update tested on zc158/zc200 that should correct those issues and updates to support PHP 8.

20 Jan 2024, 9:48 PM
#88
nicksab avatar

nicksab

Totally Zenned

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

Re: ZipShip - Support Thread

lat9:

FWIW, I'm working on an update tested on zc158/zc200 that should correct those issues and updates to support PHP 8.

That sounds promising. Thank you for the hard work.

Turning off shipping estimator has stopped the error from getting generated. Until i figure i out, i will revert to the flat fee rate and keep this on the side burner for now

22 Jan 2024, 1:24 PM
#89
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

ZipShip v3.1.0 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=312

This release contains changes associated with these GitHub issues:

#12: Major update for zc158/zc200 and PHP versions >= 8.2
#13: Use matching zipcode values instead of string comparisons
#14: Correct PHP Warning: strpos empty needle

Read the full readme.html here: https://htmlpreview.github.io/?https://github.com/lat9/zipship/blob/master/docs/zipship/readme.html

23 Jan 2024, 7:44 AM
#90
nicksab avatar

nicksab

Totally Zenned

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

Re: ZipShip - Support Thread

lat9:

ZipShip v3.1.0 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=312

This release contains changes associated with these GitHub issues:

#12: Major update for zc158/zc200 and PHP versions >= 8.2
#13: Use matching zipcode values instead of string comparisons
#14: Correct PHP Warning: strpos empty needle

Read the full readme.html here: https://htmlpreview.github.io/?https://github.com/lat9/zipship/blob/master/docs/zipship/readme.html

Thank you lat9 for this release.

I saw that it requires ZC 1.5.8 but i got to ask: Would it work with 1.5.7?

I am not quite ready for 1.5.8 yet unfortunately.

23 Jan 2024, 12:12 PM
#91
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

nicksab:

Thank you lat9 for this release.

I saw that it requires ZC 1.5.8 but i got to ask: Would it work with 1.5.7?

I am not quite ready for 1.5.8 yet unfortunately.
I've not tested on zc157. ZipShip *might *work (in conjunction with PHP 7.4 or later), but I will not expend time debugging any zc157-only issues.

19 Feb 2024, 7:56 AM
#92
royaldave avatar

royaldave

Zen Follower

Join Date:
Aug 2013
Location:
Perth, WA, AU
Posts:
284
Plugin Contributions:
1

Re: ZipShip - Support Thread

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) {

18 Mar 2024, 9:41 PM
#93
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

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)

16 Apr 2024, 7:37 PM
#94
rkhan3366 avatar

rkhan3366

New Zenner

Join Date:
May 2020
Location:
Dallas, Texas
Posts:
14
Plugin Contributions:
0

Re: ZipShip - Support Thread

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.Attachment 20586

16 Apr 2024, 9:07 PM
#95
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

rkhan3366:

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.Attachment 20586
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:

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());
25 Aug 2024, 4:13 PM
#96
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

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.

24 Oct 2024, 1:42 PM
#97
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZipShip - Support Thread

Hello,

I've been using this amazing plugin for a few years and in the process of getting latest version to work with ZC 2.0.1 on my test site. Can't get it to appear as a shipping option and there are no error logs.

Attachment 20777

Any suggestions of how to troubleshoot?

Thanks,

24 Oct 2024, 2:25 PM
#98
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

allmart:

Hello,

I've been using this amazing plugin for a few years and in the process of getting latest version to work with ZC 2.0.1 on my test site. Can't get it to appear as a shipping option and there are no error logs.

Attachment 20777

Any suggestions of how to troubleshoot?

Thanks,
Er, it's showing up as the next-to-last shipping module in that screenshot.

24 Oct 2024, 3:33 PM
#99
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: ZipShip - Support Thread

lat9:

Er, it's showing up as the next-to-last shipping module in that screenshot.

Sorry for being unclear, it is not appearing at checkout as a shipping option

24 Oct 2024, 3:40 PM
#100
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,089
Plugin Contributions:
56

Re: ZipShip - Support Thread

The shipping module will only show up on the storefront when the ship-to zipcode is present in the module's configured list.