Post by Tommy » Sat Apr 09, 2011 3:55 am

Hello,

I'm running OpenCart Version 1.4.9.4, and I'm having a few problems with the USPS shipping module.

Problem 1:
- Inaccurate rates.
- USPS rates to Canada are much higher than what the USPS site shows. USPS tells me under $2, opencart tells me over $5. I'm using test dimensions of 1x1x1 inches & 1 ounce

Problem 2:
- Product dimensions are ignored.
- If I leave the dimensions in the USPS shipping module blank, and put the dimensions in the product, opencart is unable to get a rate.
- Regardless of what dimensions I put in the product field, opencart always uses the dimensions put inside the USPS shipping module.

Problem 3:
- USPS shipping module is enabled for all zones. I have two geozones set up, Canada & US, it only works for Canada. However, if I enable free shipping for all zones (or US only) it works for the US.

Help please?

Newbie

Posts

Joined
Thu Apr 07, 2011 11:40 am

Post by Qphoria » Wed Apr 13, 2011 10:55 pm

Tommy wrote:Hello,

I'm running OpenCart Version 1.4.9.4, and I'm having a few problems with the USPS shipping module.

Problem 1:
- Inaccurate rates.
- USPS rates to Canada are much higher than what the USPS site shows. USPS tells me under $2, opencart tells me over $5. I'm using test dimensions of 1x1x1 inches & 1 ounce
Testing.. shipping from Chicago 60606 to Newfoundland Canada A2H 6E6
I've taken a screenshot of both. OpenCart on the left, usps.com rates on the right.
http://img135.imageshack.us/img135/8281/uspscompare.png

The first 2 are package rates and match exactly. OpenCart's USPS extension is actually hardcoded in the code to assume all items are packages. For that last rate and other envelope rates we need to add Envelope rates which can be added as a selector or maybe triggered based on package weight and dimensions being less than xx amount. But still all the possible package rates are identical and accurate.

Problem 2:
- Product dimensions are ignored.
- If I leave the dimensions in the USPS shipping module blank, and put the dimensions in the product, opencart is unable to get a rate.
- Regardless of what dimensions I put in the product field, opencart always uses the dimensions put inside the USPS shipping module.
This is true. See here for discussion:
http://forum.opencart.com/viewtopic.php?f=24&t=30319
Problem 3:
- USPS shipping module is enabled for all zones. I have two geozones set up, Canada & US, it only works for Canada. However, if I enable free shipping for all zones (or US only) it works for the US.
This is unlikely. It is possible that it returned no rates for the particular address in USA so it had nothing to show and just stayed hidden. Try it again. It works fine for me in my testing above to USA, UK, and Canada

So I will look into adding international envelope rates to give more options, but the rates as they are in package form are dead matches

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Thu Apr 14, 2011 12:27 am

Ok I just added a patch attached here:
http://forum.opencart.com/viewtopic.php ... 82#p148382

This should fix #1 to add ALL available international rates.. that will give you want you need

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Fri Apr 15, 2011 4:23 am

Any feedback on this? Did it fix the issues for number 1 at least?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 10 guests