Forums / Built-in Shipping and Payment Modules / How to configure 1 oz weight on item not showing USPS first class cost correctly?

How to configure 1 oz weight on item not showing USPS first class cost correctly?

Started by cahoca on 12 Jun 2011, 12:55 AM · Views: 2,875

Results 1 to 14 of 14
12 Jun 2011, 12:55 AM
#1
cahoca avatar

cahoca

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

How to configure 1 oz weight on item not showing USPS first class cost correctly?

I am using 1.3.9g version. It has not been updated recently. I have the USPS module add on for shipping.

I am trying to figure out the proper entry for a product listing weight of one ounce, so that the USPS Rate calculator will figure the first class postage correctly (both domestic and International) I have searched all the forums and the info I have found and tried, does not work. I have removed and/or changed any tare weights etc that might effect it also. I have tried 0.1, 0.01, 1 and some others and they seem to have no effect at all

As part of this question I hope someone might know how I can make ALL my items have the STANDARD weight of 1 ounce each as they are all the same. Is there some way to make this a standard when setting up a new product?

Thank You!
New and learning fast!

12 Jun 2011, 1:20 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

All weights are added in pounds ... Google says:
1 ounce = 0.0625 pounds

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jun 2011, 3:25 AM
#3
cahoca avatar

cahoca

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

That's one I used before so I went back and did it on my test item again. There is no change. It shows $1.71 USPS First Class Mail Charge for one ounce, shipped to my zip code. Do I need to update ZenCart internally somehow to reflect the change that I made?

12 Jun 2011, 1:24 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

I get $1.71 on usps site and my own ...

What is your ship to/from zip code and what price are you expecting?

Are you using a Package or Letter or what settings on the USPS site? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jun 2011, 11:16 PM
#5
cahoca avatar

cahoca

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

Ajeh:

I get $1.71 on usps site and my own ...

What is your ship to/from zip code and what price are you expecting?

Are you using a Package or Letter or what settings on the USPS site? :unsure:

I would like to use the standard letter rate for first class and in my case 1 oz should be .44 and possibly slightly higher if I am able to use the non machineable option which is .63 I think. Should I be signing in to the USPS site to make these adjustments to shipping options or are they available on ZenCart. Thanks so much for checking on your end and getting $1.71 I thought it was something that was just happening to me alone. And thanks for your help too!

12 Jun 2011, 11:31 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

And if you customize the usps.php shipping module to use Letter?

    $this->_setFirstClassType('FLAT');
//    $this->_setFirstClassType('FLAT');
    $this->_setFirstClassType('LETTER');
//    $this->_setFirstClassType('PARCEL');

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jun 2011, 11:35 PM
#7
cahoca avatar

cahoca

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

You lost me for a second. Where do I enter this info? Thanks

13 Jun 2011, 4:47 AM
#8
cahoca avatar

cahoca

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

My zip is 61704 to 61704. I found the usps.php file and the codes you referred to earlier but did not feel comfortable making the changes because I didn't know if u meant replace the first reference line with the next two lines intead and if I was to paste all of what you had in (including ,,,) Instead I found one of your earlier posts in January #26 in which you has the whole usps.php file available for download to correct some issues with the usps module at the time. I copied this and uploaded to the directory and overwrote the file. I refreshed the page and then went to my web page and tried going through it again and came up with a $1.71 shipping again. I am almost there...any further suggestion?

13 Jun 2011, 1:48 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

If you look in the file:
/includes/modules/shipping/usps.php

you will find around the line 214 the line:

    $this->_setFirstClassType('FLAT');

If you change that to read:

//    $this->_setFirstClassType('FLAT');
    $this->_setFirstClassType('LETTER');
//    $this->_setFirstClassType('PARCEL');

What that does is change First Class to give LETTER quotes ... the other lines are commented out so that if you want to test the results of the other settings you can ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Jun 2011, 11:33 PM
#10
cahoca avatar

cahoca

New Zenner

Join Date:
Jun 2011
Posts:
20
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

YOU ARE AWESOME!! It worked!! Thank you so MUCH!!!!!!!!:clap:

14 Jun 2011, 12:41 AM
#11
ajeh avatar

ajeh

Oba-san

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

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

You are most welcome thanks for the update that this worked for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 Jul 2011, 12:19 PM
#12
34ford avatar

34ford

New Zenner

Join Date:
Jul 2011
Location:
North Carolina
Posts:
14
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

I just installed Zencart and I have this same problem with the $1.71 for first class for items I want to mail in a #10 envelope.

So if this fix ($this->_setFirstClassType('LETTER');) is all that is needed, why is it not in the latest USPS January 2, 2011 C?

Or is this just a personal patch for us that want to mail with a envelope?

##########_
Dennis

Dennis

22 Jul 2011, 1:26 PM
#13
ajeh avatar

ajeh

Oba-san

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

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

Not everyone needs your setting ... but the code allows you to change it to the one that works best for you ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 Jul 2011, 2:32 PM
#14
34ford avatar

34ford

New Zenner

Join Date:
Jul 2011
Location:
North Carolina
Posts:
14
Plugin Contributions:
0

Re: How to configure 1 oz weight on item not showing USPS first class cost correctly?

Thanks,

Ok, I entered the code and now Im getting 64 cents and not 44 cents.

I set it to "true" for machinable, but the instructions below says this, so it may be impossible to achieve a 44 cent stamp.

Packages 35lbs or more, or less than 6 ounces (.375), will be overridden and set to False

I am setting my weight to 0.0625 and the tare at 0.0

Dennis

Dennis