Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    8
    Plugin Contributions
    0

    Default Shipping Postal/Zip Code Issue

    Hi there, here is my issue.

    I live in Canada about 15 minutes from the border.

    I am trying to set up my site so that when Canadian customers order, their product is shipped from Canada. I have installed and configured the Canada Post module to calculate rates from the closest Canada Post office.

    When an American customer orders I will drive accross the border and ship to them from a USPS office. I have configured the USPS module to calculate rates from the closest USPS office.


    Problem is that both the Canada Post and USPS modules grab the origin postal/zip from the same place

    configuration/ shipping/packaging

    So I can only use one module at a time.

    How can I have a different postal/zip code for each module. Is their a way to hard code it into the module?

    Thanks in advance!

  2. #2
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Shipping Postal/Zip Code Issue

    "When an American customer orders I will drive accross the border"

    How long will it take you to deliver cold beer to me in Mid Michigan? This could be a great service. Beer 2 Peer.

    Shipping is based on your Postal code I have no idea how to do it except ship it to a USA address to be forwarded.

    Search the threads as one shop does the same thing except his wholesalers on both borders will drop ship for him for Canadian or USA addresses.
    Cheers!
    v2.2.1

  3. #3
    Join Date
    Dec 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Shipping Postal/Zip Code Issue

    Well what I am trying to accomplish is have the Canada Post Module (which zone I have set to Canada Only) calculate from the closest canada post office to me, which its postal code is V0X 1X0

    (I will be shipping from that post office)

    Then I want to have the USPS Module (which zone I have set United States Only) to calculate from the closest USPS office to me, which its zip code is 98295

    (I will also be shipping from that post office)


    Problem is under configuration shipping/packaging I can only have one postal/zip code and BOTH modules grab from here.

    I know I could just ship to the US from Canada but the rates are extremely high and I don't want to have potential customers not purchase due to high shipping.

    As far as drop shipping, I manufacturer all my products so that is not possible. Like I said that USPS post office is only 15 minutes from my house so its not a big deal for me to make a trip there when I receive orders from US customers.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Shipping Postal/Zip Code Issue

    Find this line in your Canada Post module:
    Code:
          $this->_canadapostOrigin(SHIPPING_ORIGIN_ZIP, $country_name['countries_iso_code_2']);
    and replace the SHIPPING_ORIGIN_ZIP with 'V0X 1X0' (including the quote marks).

    Then set your Admin My Store postal code to your 98295 zip code.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 21 Oct 2012, 09:56 PM
  2. New customer issue with postal code length
    By freya in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 4 Oct 2010, 07:23 PM
  3. Help need to set up per zip code shipping module with 5 zip code areas flat fee
    By cshart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 11 Feb 2009, 06:31 AM
  4. Help with Product availability by Zip Code or Postal Code
    By enigma777 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jun 2008, 10:07 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