Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Adding zip codes in batches

    I'm using the ZipShip module for shipping and I need to add large numbers of postal/zip codes to the different zones. Rather than add them individually, is there a way to add sequential groups, eg. 10000-20000, 20999-31000?

    I'm sure this must be a protocol used elsewhere.

    Thanks to whoever can help!

  2. #2
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Adding zip codes in batches

    I've not tried to add zipcodes in that fashion. Let me take a look and see if I can figure out the best way to accomplish that and I'll post back.

    Ruth

  3. #3
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Adding zip codes in batches

    The best way to do it, but I don't have time right now to work through it, would be to create a db table to pull the zip codes from, similar to the way that the zones are built and have it check the table for the existing zip code the same way it checks the table for Country, State etc. You maybe able to find a download of all the zip codes vs. creating them all by hand.

    You would still need to build the table with all the zip codes. I just don't see any way to get it to assume a range. Possibly someone with better Php skills than I have or a better knowledge of the of the shipping within the cart could come up with a method for the system to identify the range. I would think this would be in Dr. Byte's realm of expertise.

    Sorry I'm not of more help.

    Ruth

  4. #4
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Adding zip codes in batches

    Thanks so much for your effort, Ruth. In the end, I did it the long way which is likely to be more accurate in any case.

    I also wanted to know if ZipShip can be allocated to a specific shipping zone, as with some of the other modules.

    I am having problems with the Shipping Estimator and wondered if others have had the same.

    Thanks again for a really useful module.
    Carl

  5. #5
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Adding zip codes in batches

    I should have added... is there a limit to the number of characters (eg. 255) that can be inserted into the text boxes? Mine are way over that.

  6. #6
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Adding zip codes in batches

    If you take a look at the actual file, there are instructions there that might help you. You can create multiple zipship zones within the module. It is set to 3, but you can change that in the file itself. Try breaking up your zip codes into related areas and place them in their own zone see if that helps. Be sure to set your rate tables accordingly.

    I built this for a very limited application and to be honest have not taken a look at it since. Its original intent was to create a small zone near my customer's brick and mortar shop that she would offer free and reduced shipping to based on order total.

    As shipping module parameters are written to the configuration table in the database, the parameters are set for "text" in the db for the "value" field which is where zip code list is entered. There is not a specific limitation for that field set in the db, where the key does have a 255 limitation; however reducing the size of the zone might help you and help processing time.

    Sorry I can't offer any more suggestions.

    Ruth

  7. #7
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: Adding zip codes in batches

    Hi,
    I am just starting to play with ZenCart. I have installed the ZipShip module and I am trying to increase the number of zones from the default (3) to 5.

    I have followed the instructions to change $this->num_zones = 3; to $this->num_zones = 5; in zipship.php. This produces additional data fields for the zipship configuration in the shipping modules admin, but the new additional data fields do not have a title or discription. When I add data to these (in what I think are the correct areas-as no descriptions are visable) the data disapears after I update

    Does nyone have any ideas on what is causing this? Is there more to modify than just $this->num_zones = 5 ?

    I am using Zen Cart 1.3.8a

    Any help appreciated
    Alan

  8. #8
    Join Date
    Apr 2008
    Location
    Sydney Australia
    Posts
    9
    Plugin Contributions
    0

    Default Re: Adding zip codes in batches

    I have experienced the same issue as Alan in relation to the "extra" fields not displaying any text reference, and also, the information NOT appearing when entered, and updated.

    If anyone has come across this problem and come up with a work around or some kind of solution, it would be greatly appreciated.

    Con

  9. #9
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: Adding zip codes in batches

    Hi Con,

    I think that the problem that I have may be that I am using Zen Cart™ Version: v1.3.8a and Zipship has only been updated to Zen Cart™ Version: v1.3.7.

    Failing someone updating (I don't have the skills), the only solution I can see is to purchase Ceon Advanced Shipper http://dev.ceon.net/web/zen-cart/advshipper

    Alan

  10. #10
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Re: Adding zip codes in batches

    I have found the answer to problem of additional zones not showing properly in the zip ship module

    I just needed to remove the shipping module in admin and then re-install in admin again. just changing the Php file is not enough to have the changes reflected in the admin

    Alan

 

 

Similar Threads

  1. Adding New Products Automatically or in Batches
    By wagmre in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Jun 2010, 04:00 PM
  2. Not shipppng to various zip codes
    By ouxly40 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 22 Feb 2008, 11:52 PM

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