close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

need USPS code advice

Thread began 7/11/2011 9:18 am by James L | Last modified 7/11/2011 11:34 am by James L | 544 views | 1 replies

James L

need USPS code advice

After much struggle and help from WA, my eCart store is good to go, EXCEPT for sending the right weight info to USPS. I've struggled with Weight and TotalWeight sending wacky numbers (i.e. "1.5" in database for Weight shows up as "9.99").

I can use "Quantity+1" to create "boxWeight" which is fine for Priority Mail because the amounts are always rounded up to whole pounds. But I don't know how to send this number to the WA_eCart_USPS_PHP.php code. If you can guide me through this I'd at least have Priority Mail quotes working.

However, my client is concerned about foreign orders which use USPS First Class International which is based on ounces and in this case I'd want to use the actual weight of the item rather than round up to save on shipping (ie, instead of "1.5 lbs" being rounded up to "2 lbs", it should be "24 ounces". I think using ounces would also work for PriorityMail as the USPS would do it's own rounding up.

Help with this code would be most appreciated, as it's the very last thing to be done (I hope...)

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...