Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Priority Mail Flat Rate to Canada Unavailable?

Priority Mail Flat Rate to Canada Unavailable?

Locked

Views: 2,384

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Sep 2009, 1:34 PM
#1
sah62 avatar

sah62

New Zenner

Join Date:
Feb 2009
Posts:
5
Plugin Contributions:
0

Priority Mail Flat Rate to Canada Unavailable?

I'm trying to make the USPS priority mail international flat rate shipping option available to my customers. Zen Cart version is 1.3.8a. I'm using the most recent USPS shipping module dated 2008-05-13.

Among others, I've got the "Priority Mail Int Flat Rate Box" option enabled in the USPS shipping module. When I try to check out a purchase that weighs 11.5 lbs I'm given two shipping options: express mail international and priority mail international. My store is set up to ship from the US. What might I have missed to have the flat rate option available at checkout?

28 Sep 2009, 1:50 PM
#2
sah62 avatar

sah62

New Zenner

Join Date:
Feb 2009
Posts:
5
Plugin Contributions:
0

Re: Priority Mail Flat Rate to Canada Unavailable?

Sorry, I should also note that I have "Package Tare Small to Medium - added percentage:weight" set to 0:0 and "Larger packages - added packaging percentage:weight" set to 10:0. I must admit that I don't quite understand what those parameters do, though.

28 Sep 2009, 2:43 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Priority Mail Flat Rate to Canada Unavailable?

Try two changes to the file:
/includes/modules/shipping/usps.php

around line 111 change:

        'Priority Mail Int Flat Rate Lrg Box' => 'Priority Mail International Large Flat Rate Box',

to read:

        'Priority Mail Int Flat Rate Lrg Box' => 'Priority Mail International Large Flat-Rate Box',

Around line 262 change:

    $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('International Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES_INTL', 'Global Express, Global Express Non-Doc Rect, Global Express Non-Doc Non-Rect, Global Express Envelopes, Express Mail Int, Express Mail Int Flat Rate Env, Priority Mail International, Priority Mail Int Flat Rate Env, Priority Mail Int Flat Rate Box, First Class Mail Int Lrg Env, First Class Mail Int Package, First Class Mail Int Letters, First Class Mail Int Flats, First Class Mail Int Parcels', 'Select the international services to be offered:', '6', '15', 'zen_cfg_select_multioption(array(\'Global Express\', \'Global Express Non-Doc Rect\', \'Global Express Non-Doc Non-Rect\', \'Express Mail Int\', \'Express Mail Int Flat Rate Env\', \'Priority Mail International\', \'Priority Mail Int Flat Rate Env\', \'Priority Mail Int Flat Rate Box\', \'First Class Mail Int Lrg Env\', \'First Class Mail Int Package\', \'First Class Mail Int Letters\', \'First Class Mail Int Flats\', \'First Class Mail Int Parcels\'), ',  now())");

to read:

    $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('International Shipping Methods', 'MODULE_SHIPPING_USPS_TYPES_INTL', 'Global Express, Global Express Non-Doc Rect, Global Express Non-Doc Non-Rect, Global Express Envelopes, Express Mail Int, Express Mail Int Flat Rate Env, Priority Mail International, Priority Mail Int Flat Rate Env, Priority Mail Int Flat Rate Box, Priority Mail Int Flat Rate Lrg Box, First Class Mail Int Lrg Env, First Class Mail Int Package, First Class Mail Int Letters, First Class Mail Int Flats, First Class Mail Int Parcels', 'Select the international services to be offered:', '6', '15', 'zen_cfg_select_multioption(array(\'Global Express\', \'Global Express Non-Doc Rect\', \'Global Express Non-Doc Non-Rect\', \'Express Mail Int\', \'Express Mail Int Flat Rate Env\', \'Priority Mail International\', \'Priority Mail Int Flat Rate Env\', \'Priority Mail Int Flat Rate Box\', \'Priority Mail Int Flat Rate Lrg Box\', \'First Class Mail Int Lrg Env\', \'First Class Mail Int Package\', \'First Class Mail Int Letters\', \'First Class Mail Int Flats\', \'First Class Mail Int Parcels\'), ',  now())");

You will need to REMOVE, INSTALL and reconfigure this after making these changes ...

Does this work for you?

28 Sep 2009, 5:09 PM
#4
sah62 avatar

sah62

New Zenner

Join Date:
Feb 2009
Posts:
5
Plugin Contributions:
0

Re: Priority Mail Flat Rate to Canada Unavailable?

That did the trick - thanks!

21 Dec 2009, 11:04 PM
#5
imacamper avatar

imacamper

New Zenner

Join Date:
Nov 2009
Posts:
50
Plugin Contributions:
0

Re: Priority Mail Flat Rate to Canada Unavailable?

I found this thread when trying to solve the same problem the OP had. After applying the fixes in this thread, I now get "United States Postal Service (<weight>) (Priority Mail International Large Flat-Rate Box (6 - 10 days))" in my list of shipping quotes. However I am not presented with quotes for the either the small flat rate box or the regular flat rate box, even when the weights are well under the limits for those shipping choices. I have the following checked in Admin -> Modules -> Shipping -> USPS:

Domestic Shipping Methods
EXPRESS, PRIORITY

International Shipping Methods
Global Express, Express Mail Int, Priority Mail International, Priority Mail Int Flat Rate Box, Priority Mail Int Flat Rate Lrg Box

Is it possible to get quotes for more than just the Flat Rate Lrg Box?

Thanks,

Drew