Results 1 to 10 of 95

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,572
    Plugin Contributions
    88

    Default 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.

  2. #2
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default 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...
    Keith Seyffarth
    Paydirt Design

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,572
    Plugin Contributions
    88

    Default 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.

  4. #4
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default 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.
    Keith Seyffarth
    Paydirt Design

  5. #5
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default Re: ZipShip - Support Thread

    Quote Originally Posted by weif View Post
    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.
    Keith Seyffarth
    Paydirt Design

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,572
    Plugin Contributions
    88

    Default 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.

  7. #7
    Join Date
    May 2020
    Location
    Dallas, Texas
    Posts
    14
    Plugin Contributions
    0

    Default 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.Click image for larger version. 

Name:	Screenshot 2024-04-16 153442.jpg 
Views:	18 
Size:	20.3 KB 
ID:	20586

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,572
    Plugin Contributions
    88

    Default Re: ZipShip - Support Thread

    Quote Originally Posted by rkhan3366 View Post
    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.Click image for larger version. 

Name:	Screenshot 2024-04-16 153442.jpg 
Views:	18 
Size:	20.3 KB 
ID:	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:
    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());

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  2. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  3. v151 Ship2Pay Support thread
    By Design75 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 5 Nov 2019, 01:14 PM
  4. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  5. ZJ Silver Support Thread
    By anthonyd in forum Addon Templates
    Replies: 220
    Last Post: 5 Nov 2010, 03:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR