Post by vivekdbit » Wed Jun 13, 2012 3:21 pm

Hi all,

I am using usps "Priority Mail Small Flat Rate Box" for shipping it is showing the price as "$5.35 at the Post Office " which is wrong. There should be "online price is $5.15".

Can any one please guide me, what is the mistake? Is there any setting in to the USPS account?

Thanx in advance..

Newbie

Posts

Joined
Wed Apr 11, 2012 10:26 pm

Post by vivekdbit » Mon Jun 18, 2012 3:36 pm

I gone thr the forum post.
and I noticed that i have to call the USPS team and have to tell them im using third party software for my online shopping cart.

I called them but they told me this price rate setting should be done at ur end only.
Following is the reply given by USPS support team,

Code: Select all

Dear ,

Thank you for contacting the USPS® Internet Customer Care Center in regards to your web tools account. I apologize that you are receiving the incorrect price for a small flat rate box. I will be more than happy to assist you further.

In order to get this corrected you will need to refer to your third party cart. In order to correct the prices that are being pulled, they need to adjust the coding. I am very sorry about the inconvenience, I just want to make sure this is corrected for you as soon as possible. 

If you have any additional questions or concerns, please contact us again.

Thank you,

USPS Internet Customer Care Center
I unable to find price rates for USPS in opencart -> Extensions -> Shipping - > USPS

What is the exact issue?

Newbie

Posts

Joined
Wed Apr 11, 2012 10:26 pm

Post by vivekdbit » Thu Jun 21, 2012 2:12 pm

Thank you guys for Viewing this post and not giving any reply..

USPS Support team gives me the following reply..

Code: Select all

Thank you for contacting the USPS® Internet Customer Care Center in regards to the quotes that you will receive. I will be more then happy to assist you.

I am very sorry I wont be able to speculate on the quotes you will receive That will depend on the coding done for your site. 

By default most coding is done to calculate the post office price for the shipping.

If you have any additional questions or concerns, please contact us again.

Thank you,
Here is clearly mention that "By default most coding is done to calculate the post office price for the shipping."

Now have to check OC default coding is for post office price or for online price.

post office price is $5.35 and online price is $5.15. It saves my $0.20.
It makes huge difference, when we have lot of customers.
Any ways I will find out the solution.

Newbie

Posts

Joined
Wed Apr 11, 2012 10:26 pm

Post by vivekdbit » Thu Jun 21, 2012 3:31 pm

Finally got the solution,

Hey guys this might help you.

There are two rates for online shopping and for post office.

I did the following changes,
catalog/model/shipping/usps.php

Code: Select all

Line 34: $xml .= '<Service>ALL</Service>';
Replace with
$xml .= '<Service>ONLINE</Service>';
And

Code: Select all

Line 379: $cost = $postage->getElementsByTagName('Rate')->item(0)->nodeValue;
Replace with
$cost = $postage->getElementsByTagName('CommercialRate')->item(0)->nodeValue;

Newbie

Posts

Joined
Wed Apr 11, 2012 10:26 pm
Who is online

Users browsing this forum: No registered users and 3 guests