close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ECart Weight Unit Error

Thread began 4/05/2011 10:22 am by scaphis417771 | Last modified 4/26/2011 7:02 am by Jason Byrnes | 3488 views | 10 replies |

scaphis417771

ECart Weight Unit Error

I am trying to process an order and get this message on Shipping Failure page

LBS3LBS is not a valid unit of measurement for weight for this shipment

Can you tell me what I have done incorrectly?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

On the confirm page, double click the server behaviors fro the Shipping rate Lookup service of your shipping provider, the last step of the server behavior, one of the settings is for wight units, the error is saying that this is set to "LBS3LBS", it should be just "LBS"

Sign in to reply to this post

scaphis417771

Ok can you answer one more question

Thank you, that worked.

I must have something else wrong. I have a 3 lb item for ups and the shipping is $55.31. Do you know where I would look for these errors.

Thanks,

Janice

Sign in to reply to this post

scaphis417771

Got It

Got It - Thanks for all your help.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Dave BuchholzBeta Tester

Just following this up as I have run into the same issue

I have exactly the same issue after running the eCart checkout wizard, the relevant block of code looks like this:

php:
if (WA_eCart_UPS_IsTrueValue("true")) {
      $Shipping_PackageArray[] = array();
      $Shipping_PackageIndex = sizeof($Shipping_PackageArray)-1;
      $Shipping_PackageArray[$Shipping_PackageIndex]["eCart_Quantity"] = (($Shipping_Packaging == 1)?$eCart1->DisplayInfo("Quantity"):1);
      $Shipping_PackageArray[$Shipping_PackageIndex]["IsPackage"] = "true";
      $Shipping_PackageArray[$Shipping_PackageIndex]["Quantity"] = "".WA_eCart_FormatNumber($eCart1->DisplayInfo('Quantity'), true, 1)  ."";
      $Shipping_PackageArray[$Shipping_PackageIndex]["WeightUnits"] = "".strtoupper($eCart1->WeightUnits)."S"  ."";
      $Shipping_PackageArray[$Shipping_PackageIndex]["PackageWeight"] = "".WA_eCart_FormatNumber($eCart1->TotalColumn('TotalWeight'), true, 1)  ."";
      $Shipping_PackageArray[$Shipping_PackageIndex]["PackageType"] = "02";
      $Shipping_PackageArray[$Shipping_PackageIndex]["SizeUnits"] = "IN";
      $Shipping_PackageArray[$Shipping_PackageIndex]["PackageLength"] = "0";
      $Shipping_PackageArray[$Shipping_PackageIndex]["PackageWidth"] = "0";
      $Shipping_PackageArray[$Shipping_PackageIndex]["PackageHeight"] = "0";
      //Special Services
    }



and on checkout I am always sent to the shipping failure page with the message: S is not a valid unit of measurement for weight for this shipment

I cannot find any reference to WeightUnits as in $eCart1->WeightUnits in the ecart files so how should this info be pulled in or is it a bug ?

Sign in to reply to this post

Jason ByrnesWebAssist

It is a bug in ecart that it is using the wrong code.

the correct code for this line:

php:
$Shipping_PackageArray[$Shipping_PackageIndex]["WeightUnits"] = "".strtoupper($eCart1->WeightUnits)."S"  ."";


is:

php:
$Shipping_PackageArray[$Shipping_PackageIndex]["WeightUnits"] = "".strtoupper($eCart1->WeightSuffix)."S"  ."";
Sign in to reply to this post

Dave BuchholzBeta Tester

Thanks Jason, I assume that this will be corrected in the next point release ?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, it has been logged as a bug so it can be addressed for the next update.

Sign in to reply to this post

Dave BuchholzBeta Tester

excellent, thanks

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...