Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Location
    Ontario, Canada
    Posts
    18
    Plugin Contributions
    0

    Default Canada Post Priority Worldwide...

    Well, now that Canada Post has axed Purolator service and created this new Priority Worldwide service by teaming up with FedEx (ugh...) I'm getting a strange line showing in my cart's shipping estimator:

    "Canada Post (1 box(es) to be shipped) (Priority Worldwide USA, www.canadapost.ca/?Lang=en)"

    Instead of giving a specific delivery standard, like a date like all other shipping methods, it's giving a link to Canada post...
    Is this normal or should it be returning a shipping time?

    I'm basically a beginner at programming and would be incapable of creating a new module, but I hope someone sometime can create a Purolator Shipping module of some sort... I *really* dislike FedEx, and their new rates are extremely expensive compared to the Purolator Rates...

  2. #2
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Canada Post Priority Worldwide...

    It seems CP isn't giving a delivery time.

    But, cosmetically, to get rid of the URL link, you can make the following change:

    /includes/modules/shipping/canadapost.php
    About 10 lines from the bottom of the file, you'll see this line:
    Code:
            $aryProducts[$index] = array($name . ', ' . $deliveryDate => $rate);
    Replace that line with the following 2 lines:
    Code:
            $name .= (strstr($deliveryDate, 'www.canadapost.ca/?Lang') ? '' : ', ' . $deliveryDate);
            $aryProducts[$index] = array($name => $rate);
    .

    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. Canada Post for Canada Only
    By top hatt in forum Addon Shipping Modules
    Replies: 5
    Last Post: 10 Mar 2012, 02:43 PM
  2. v139h Always choose Priority automaticly in Canada Post
    By jzc1995 in forum Addon Shipping Modules
    Replies: 0
    Last Post: 14 Feb 2012, 06:06 AM
  3. Priority Mail Flat Rate to Canada Unavailable?
    By sah62 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 22 Dec 2009, 12:04 AM

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