Page 8 of 10 FirstFirst ... 678910 LastLast
Results 71 to 80 of 93
  1. #71
    Join Date
    Mar 2010
    Location
    Butte, MT
    Posts
    79
    Plugin Contributions
    0

    Default Re: ZipShip - Support Thread

    I'm running into an odd error in ZipShip 3.0.1 on Zen-Cart 1.5.7c.

    For the one zone that has two zip codes (entered as: 98571,98562), the shipping option does not display. It also does not display on the zones listed after the one with two zip codes...

    for all the other zones, where there is only one zip code, it works fine.

    When the address is in a working zone, the user sees this on the shipping page:

    Shipping Method:
    This is currently the only shipping method available to use on this order.
    Zipcode Rate
    $12.00
    Deliver To Zipcode: 98535
    But in the non-working zone, they only get this:

    Shipping Method:
    This is currently the only shipping method available to use on this order.
    I suspect something is getting boogered with the comma...

    Any ideas?
    Keith Seyffarth
    Paydirt Design

  2. #72
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: ZipShip - Support Thread

    Quote Originally Posted by weif View Post
    I'm running into an odd error in ZipShip 3.0.1 on Zen-Cart 1.5.7c.

    For the one zone that has two zip codes (entered as: 98571,98562), the shipping option does not display. It also does not display on the zones listed after the one with two zip codes...

    for all the other zones, where there is only one zip code, it works fine.

    When the address is in a working zone, the user sees this on the shipping page:



    But in the non-working zone, they only get this:



    I suspect something is getting boogered with the comma...

    Any ideas?
    Not at the moment, but are there any PHP issues logged in the site's /logs directory?

  3. #73
    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 suspect something is getting boogered with the comma...
    Well, it appears to not be the comma...

    I thought that the easiest way to address the issue for the moment, would be to add another zone by modifying the /includes/modules/shipping/zipship.php and changing the $this->num_zones value, but that didn't work.

    Now I have only one zip code in each zone, but only the first 3 zones work. Zones 4, 5, and 6 don't. The result is the same - three zip codes show the 'this is the only option" text, but don't actually give the option...
    Keith Seyffarth
    Paydirt Design

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

    Default Re: ZipShip - Support Thread

    Quote Originally Posted by lat9 View Post
    Not at the moment, but are there any PHP issues logged in the site's /logs directory?
    THANK YOU!

    This appears to be an undocumented expected behavior...

    From log files:

    Code:
    [07-Feb-2023 11:17:34 America/Los_Angeles] Request URI: /index.php?main_page=checkout_shipping, IP address: 63.153.103.46
    #1  trigger_error() called at [/var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/includes/modules/shipping/zipship.php:195]
    #2  zipship->getQuote() called at [/var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/includes/modules/shipping/zipship.php:108]
    #3  zipship->quote() called at [/var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/includes/classes/shipping.php:174]
    #4  shipping->quote() called at [/var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/includes/modules/pages/checkout_shipping/header_php.php:184]
    #5  require(/var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/includes/modules/pages/checkout_shipping/header_php.php) called at [/var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/index.php:35]
    --> PHP Warning: Missing title (MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_4) or way (MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_4) for the 'english' language; zipship is disabled. in /var/www/vhosts/artisticdesignsbybrenda.com/httpdocs/includes/modules/shipping/zipship.php on line 195.
    I think that what is needed is an addition to the documentation where it says, "Starting with v3.0.0, you can customize the text displayed to the customer for each of the defined postcode zones..." Maybe at the end of that paragraph it should add something to the effect of, "If you have added additional zones, you MUST add entries to this file for each zone added."
    Keith Seyffarth
    Paydirt Design

  5. #75
    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 that what is needed is an addition to the documentation where it says, "Starting with v3.0.0, you can customize the text displayed to the customer for each of the defined postcode zones..." Maybe at the end of that paragraph it should add something to the effect of, "If you have added additional zones, you MUST add entries to this file for each zone added."
    Sorry, I forgot to include the fix.

    In the /includes/languages/english/modules/shipping[/YOUR_TEMPLATE]/zipship.php file (and/or other languages, as appropriate for your site), you need to add entries for:
    Code:
    MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_[x]
    MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_[x]
    (where [x] is the number of the zone in the zipship configuration). This needs to be done for each zone added beyond the default three.

    So if you have six zones, and have changed
    Code:
    $this->num_zones = 3;
    to
    Code:
    $this->num_zones = 6;
    in /includes/modules/shipping/zipship.php, you will need to add entries:
    Code:
    define('MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_4', 'Zipcode Rate');
    define('MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_4', 'Deliver To Zipcode: ');
    
    define('MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_5', 'Zipcode Rate');
    define('MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_5', 'Deliver To Zipcode: ');
    
    define('MODULE_SHIPPING_ZIPSHIP_TEXT_TITLE_6', 'Zipcode Rate');
    define('MODULE_SHIPPING_ZIPSHIP_TEXT_WAY_6', 'Deliver To Zipcode: ');
    You may want or need to change these from the default text.
    Keith Seyffarth
    Paydirt Design

  6. #76
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: ZipShip - Support Thread

    THANX for providing the fix.

    I'm sure it will help others now and in the future.

  7. #77
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    167
    Plugin Contributions
    1

    Default Re: ZipShip - Support Thread

    interesting.. I've used zipship for as long as I've used zencart and never had to do this.

    However I do have this coding amendment in mine -

    //$this->dest_zipcode = substr(strtoupper($order->delivery['postcode']), 0, (int)ENTRY_POSTCODE_MIN_LENGTH);
    $this->dest_zipcode = strtoupper ($order->delivery['postcode']);

    Dumb dumb me didn't comment why, but I wonder if it might be a simpler solution...

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

    Default Re: ZipShip - Support Thread

    Quote Originally Posted by royaldave View Post
    interesting.. I've used zipship for as long as I've used zencart and never had to do this.

    However I do have this coding amendment in mine -

    //$this->dest_zipcode = substr(strtoupper($order->delivery['postcode']), 0, (int)ENTRY_POSTCODE_MIN_LENGTH);
    $this->dest_zipcode = strtoupper ($order->delivery['postcode']);

    Dumb dumb me didn't comment why, but I wonder if it might be a simpler solution...
    I don't think so.

    That 'correction' appears to be reinstating an old issue where zip codes had to be entered exactly matching what's in the zipship configuration.

    For example, if you used the zip code 59701 in one zone and the zip code 59711 in another zone, but the customer entered 59701-8208, the customer gets a notice that you are not shipping to that area. Adding the substring check fixes this for US ZIP codes where most people will only use the 5 digit, but some use the 9 digit ZIP+ code.

    (So, the fix you commented out addresses a different issue that I encountered very shortly after installing this on a site years ago...)
    Keith Seyffarth
    Paydirt Design

  9. #79
    Join Date
    Apr 2011
    Posts
    369
    Plugin Contributions
    0

    Default Re: ZipShip - Support Thread

    ZC 1.5.7 with one page checkout and Bootstrap.

    For the love of ..., I can't get it to work.

    I set my zones as follow:

    Zone 1 Zip Codes
    94939

    Zone 1 Shipping Table
    9999:9.99

    Zone 1 Handling Fee
    0

    Zone 2 Zip Codes
    94901,94903,94904

    Zone 2 Shipping Table
    9999:12.99

    Zone 2 Handling Fee
    0

    Zone 3 is blank

    I am getting the "Sorry, we are not shipping to your region at this time." no matter which zip codes i try.

    If i set zone 3 like this

    Zone 3 Zip Codes


    Zone 3 Shipping Table
    999:14.99

    Zone 3 Handling Fee
    0

    The shipping default to $14.99 no matter which zip i enter in the shipping address.


    I am no getting any errors logs or anything.

    What am I doing wrong? Any help on figuring this out would be appreciated?

    Thank you

    P.S: I noticed the zip code gets truncated in the shipping method box and shopping cart. (i.e: Deliver To Zipcode: 9493).
    If i change the delivery address zip code on the checkout page from 94939 to 94903 , the Zip Code display in shipping method changes but the zip in the shopping cart box remains to 9493.
    Click image for larger version. 

Name:	Clipboard01.jpg 
Views:	6 
Size:	35.4 KB 
ID:	20453

    Click image for larger version. 

Name:	Clipboard02.jpg 
Views:	3 
Size:	17.2 KB 
ID:	20454
    Click image for larger version. 

Name:	Clipboard03.jpg 
Views:	4 
Size:	25.5 KB 
ID:	20455
    Attached Images Attached Images  
    Last edited by nicksab; 18 Jan 2024 at 03:01 AM.

  10. #80
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,399
    Plugin Contributions
    87

    Default Re: ZipShip - Support Thread

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

 

 
Page 8 of 10 FirstFirst ... 678910 LastLast

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