If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Shipping Modules / FedEx module not using weight from Config/Shipping

FedEx module not using weight from Config/Shipping

Started by stuff4toys on 21 Mar 2011, 3:12 PM · Views: 1,187

Results 1 to 8 of 8
21 Mar 2011, 3:12 PM
#1
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Post #1 by stuff4toys

Using the numinix FedEx add-on
May 07 2010 v1.3.8 1.4.5.2

We just setup a new site with 1.3.9h and for the first time, we are selling alot of very light items, like .03 lbs.

In the Shipping/Packing config we have small packages set to 10:1 tried various others like 10:1 and even tried to increase the weight to a huge amount like 30:10 and sitll no change.

the problem we are having is the FedEx Ground module is returning:
No Rates Returned, E523 : Invalid weight.

on the shopping cart page it shows the items weight at .03 lbs

FedEx express is giving basic rates.

Need to get this working, loosing orders due to high shipping rates.

Thanks
JOhn ><>

Newest Site: ChargerPros - Stuff4Toys

21 Mar 2011, 3:43 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

10:1 is adding 10% of the weight + 1lb

Zen-Venom Get Bitten

21 Mar 2011, 3:48 PM
#3
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Post #3 by stuff4toys

kobra:

10:1 is adding 10% of the weight + 1lb
I understand that, BUT it is not working. As the reason for this thread. It's trying to get FedEx ground rates at .03 lbs and returning an error.

Newest Site: ChargerPros - Stuff4Toys

21 Mar 2011, 4:47 PM
#6
ajeh avatar

ajeh

Oba-san

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

Post #6 by ajeh

Edit the code for:
/includes/modules/shipping/fedexground.php

and around line 117, change the code to:

        if ($this->packageType == '01' && $shipping_weight < 1) {
          $this->_setWeight(1);
        } else {
//          $this->_setWeight(round($_SESSION['cart']->show_weight(),9));
          $this->_setWeight($shipping_weight);
        }

Does that make it work for you now on the .03lbs regardless of what you use for the Tare Rate? :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!

21 Mar 2011, 5:22 PM
#7
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Post #7 by stuff4toys

THANKS Linda

That is bringing back a rate now and the price looks adequate.

Looking at the code, shouldn't it have been setting the weight at 1 lb anyway? Oh well, thanks for the workaround, that'll keep the customers happy(er).

JOhn ><>

Newest Site: ChargerPros - Stuff4Toys

21 Mar 2011, 6:49 PM
#8
ajeh avatar

ajeh

Oba-san

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

Post #8 by ajeh

The results of:
$_SESSION['cart']->show_weight()

is the weight without the Tare Rate ... so that is .03 ...

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!