Urbluffingme Posted July 18, 2004 Share Posted July 18, 2004 I installed the usps module and it works great. However, it gives the customer way too many choices to choose from. I just want Global Express, Global Priority, Airmail, and Economy Parcel. Can anbody help me out with this? THanks, Kevin Quote Link to comment Share on other sites More sharing options...
Guest Posted July 18, 2004 Share Posted July 18, 2004 if you read the instructions, it states that you can go into the usps module and remark out the mailing options you do not want to use, thus they do not get displayed Quote Link to comment Share on other sites More sharing options...
Urbluffingme Posted July 18, 2004 Author Share Posted July 18, 2004 I found the methods in includes/modules/shipping/usps.php. I can change the domestic methods by commenting out the methods I don't need. But it is not working for international methods. Quote Link to comment Share on other sites More sharing options...
Urbluffingme Posted July 18, 2004 Author Share Posted July 18, 2004 (edited) For some reason, It just won't work on the International Shipping. Here is the code I have in usps.php: $this->types = array('Express' => 'Express Mail', ? ? ? ? ? ? ? ? ? ? ? ? ? 'First Class' => 'First-Class Mail', ? ? ? ? ? ? ? ? ? ? ? ? ? 'Priority' => 'Priority Mail', ? ? ? ? ? ? ? ? ? ? ? ? ? 'Parcel' => 'Parcel Post'); ? ? ?$this->intl_types = array('Express' => 'Global Express Mail (EMS)', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?//'Priority Lg' => 'Global Priority Mail - Flat-rate Envelope (large)', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?//'Priority Sm' => 'Global Priority Mail - Flat-rate Envelope (small)', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'Priority Var' => 'Global Priority Mail - Variable Weight Envelope (single)', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?//'Airmail Letter' => 'Airmail Letter Post', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'Airmail Parcel' => 'Airmail Parcel Post', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?//'Surface Letter' => 'Economy (Surface) Letter Post', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'Surface Post' => 'Economy (Surface) Parcel Post'); If I comment out the each value in the types array it works fine. But If I comment them out in the intl_types array, nothing happens. I still get every choice on my site. I will eventually only use the usps module for international purchases because I offer free shipping to the usa and canada, so I dont need it. Edited July 18, 2004 by Urbluffingme Quote Link to comment Share on other sites More sharing options...
mugitty Posted July 18, 2004 Share Posted July 18, 2004 Try the USPS Methods contribution. It was expressly written to accomplish what you are trying to do. http://www.oscommerce.com/community/contributions,487/page,6 Quote ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! Link to comment Share on other sites More sharing options...
Urbluffingme Posted July 18, 2004 Author Share Posted July 18, 2004 checked it out and you are right. Thanks. Quote Link to comment Share on other sites More sharing options...
lhwagner Posted July 19, 2004 Share Posted July 19, 2004 I added this module (following the directions in the accompanying txt file), but when I re-enable the USPS shipping module, it looks just like it did before. It does not show any of the new options (transit time, service types, etc) advertised in the txt file. What am I missing? Quote Link to comment Share on other sites More sharing options...
JoeW36 Posted July 20, 2004 Share Posted July 20, 2004 I'm hoping to see an answer to this too. I've installed, removed and re-installed USPS Methods three times today to see if I was making a mistake somewhere. Using the old USPS and my ID from USPS it works, it lists too many options but it works. Using USPS Methods and the same USPS ID, it does not work. The catalog page displays a message saying an error has occured. The admin page for USPS just displays blank fields for the options, no check boxes or anything. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2004 Share Posted July 21, 2004 I'm hoping to see an answer to this too. I've installed, removed and re-installed USPS Methods three times today to see if I was making a mistake somewhere. Using the old USPS and my ID from USPS it works, it lists too many options but it works. Using USPS Methods and the same USPS ID, it does not work. The catalog page displays a message saying an error has occured. The admin page for USPS just displays blank fields for the options, no check boxes or anything. I am using the USPS methods contribution and it used to work ... but has now stopped. I am unable to figure out why, but the USPS rep said it was a problem with the OSC module. Anyone with ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2004 Share Posted July 21, 2004 I'm hoping to see an answer to this too. I've installed, removed and re-installed USPS Methods three times today to see if I was making a mistake somewhere. Using the old USPS and my ID from USPS it works, it lists too many options but it works. Using USPS Methods and the same USPS ID, it does not work. The catalog page displays a message saying an error has occured. The admin page for USPS just displays blank fields for the options, no check boxes or anything. I am using the USPS methods contribution and it used to work ... but has now stopped. I am unable to figure out why, but the USPS rep said it was a problem with the OSC module. Anyone with ideas? SOLUTION: It turned out that my test used an incorrect address (I forgot the last digit of the zip code). Once I corrected that it was fixed. However, the error reported was very bad, near useless, so I modified it in include/languages/english/modules/shipping/usps.php to mention that the error could be caused by a bad address. Good change for customers and myself three months from now when I repeat that mistake :) Quote Link to comment Share on other sites More sharing options...
AussieFan Posted August 30, 2005 Share Posted August 30, 2005 Has anyone figured out a solution to this problem? I still cannot remove the shipping options and USPS Methods DOES NOT add a function in Admin that will let me remove them either... Oz Quote Link to comment Share on other sites More sharing options...
jer37 Posted September 8, 2005 Share Posted September 8, 2005 I have just installed "methods" and now have a small problem. When I test is as a customer I am getting this message on checkout. Shipping Method This is currently the only shipping method available to use on this order. United States Postal Service An error occured with the USPS shipping calculations. If you prefer to use USPS as your shipping method, please contact the store owner. Anybody seen this before and know how to fix it?? jer37 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.