Forums / Addon Shipping Modules / Is there a functioning FedEx module for 1.3.8a?

Is there a functioning FedEx module for 1.3.8a?

Views: 44,227

Results 41 to 60 of 126
25 Mar 2008, 2:00 PM
#41
alan_powerbrixx avatar

alan_powerbrixx

New Zenner

Join Date:
Jul 2007
Location:
Durham, NC
Posts:
56
Plugin Contributions:
0

Is there a functioning FedEx module for 1.3.8a?

Numinix,

Is your updated FedEx module from March 19 available for download? Where can I find it? The one on the Zen Cart site is the Jan. 27 version, and I don't see it on your site either.

Thanks,
Alan

Alan Jones
PowerBrixx
https://www.powerbrixx.com, using v 1.3.8a

26 Mar 2008, 10:32 PM
#42
bmcoll3278 avatar

bmcoll3278

New Zenner

Join Date:
Jan 2008
Posts:
17
Plugin Contributions:
2

Re: Is there a functioning FedEx module for 1.3.8a?

I take it from what I read that you wrote this MOD.
I also have to say you rock.

I set the ship from zip to match my warehouse local and the prices are within a few cents. and it took a little doing because I missed stuff but now that every thing is correct it works great on all sides fedx ground and express. Thank for the great contrib.

27 Mar 2008, 6:39 PM
#43
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Is there a functioning FedEx module for 1.3.8a?

No, I didn't write the mod, just added a couple of small updates which aren't included in the latest version released by the Zen Cart Development team.

28 Mar 2008, 2:22 PM
#44
gabstero avatar

gabstero

Zen Follower

Join Date:
Nov 2007
Posts:
342
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

Hi Gang ---

I thought of posting this here too (sorry for my other post).

Both Modules (Express & Ground) are working fine in my Zen Cart v1.3.7.1. But for some reason if I have mire than aprox 80 or so Lbs on my cart (total weight of multiple products added together), the FedEx Ground shows no rates...

I have all my meters fine, etc. Any clues what can be wrong?

thanks a TON!

gabstero

30 Mar 2008, 6:05 AM
#45
dlew308 avatar

dlew308

New Zenner

Join Date:
Mar 2008
Posts:
1
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

This worked for me as well!

BeerCan:

I can confirm that this fix did work on my site running 1.3.8a. Thanks to DrByte for his work on this.

31 Mar 2008, 12:09 AM
#46
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Is there a functioning FedEx module for 1.3.8a?

alan_powerbrixx:

Numinix,

Is your updated FedEx module from March 19 available for download? Where can I find it? The one on the Zen Cart site is the Jan. 27 version, and I don't see it on your site either.

Thanks,
Alan

It's actually not a shipping module. It allows you to create Fedex shipping labels with the scannable barcode.

I just officially released the contribution today and it is available for download here:

http://www.numinix.com/index.php?main_page=document_general_info&cPath=164&products_id=773

31 Mar 2008, 12:51 PM
#47
alan_powerbrixx avatar

alan_powerbrixx

New Zenner

Join Date:
Jul 2007
Location:
Durham, NC
Posts:
56
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

It's actually not a shipping module. It allows you to create Fedex shipping labels with the scannable barcode.

Thanks. Looks like the Jan. 27 mod is the latest Fedex shipping mod. We're having some problems with mod's not working together in 1.3.8a, mostly having to do with Google Checkout. So we've decided to stay with 1.3.7 for now, which is working for us. There's nothing pushing us anyway.

I may take a quick look at the FedEx labels contrib, but we probably won't have a place for it. We import all our orders into Stone Edge Order Manager, along with orders from another non-Zen site, and print all our labels from there.

Once again, a big Thank You to all you contributors who help keep the "Zen" in Zen Cart.

Alan Jones
PowerBrixx
https://www.powerbrixx.com, using v 1.3.8a

8 Apr 2008, 2:28 AM
#48
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Is there a functioning FedEx module for 1.3.8a?

ParsonsMT:

I think I found the fix that does not require the change in tpl_checkout_shipping_default.php.

In both fedexexpress.php & fedexground.php you will see multiple references to php $this->title1 replace that with ```php
$this->title

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

17 Apr 2008, 8:25 PM
#49
namtaru avatar

namtaru

New Zenner

Join Date:
Mar 2008
Posts:
27
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

i am looking to change the default envelope weight from 1/2lb to 1lb, i will be shipping some large photos that weigh in at 12oz or so. Right now the only option is on/off 1/2lb.

also, numinix I really like the sounds of your module, can it be used with this fedex module? or is it meant as a replacement

18 Apr 2008, 6:17 AM
#50
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Is there a functioning FedEx module for 1.3.8a?

The Fedex module is used for returning rates to customers. My Fedex Automated Shipping Labels module, while it does work alone, it would be pointless unless your customers can select a Fedex shipping method. Once they've picked a method, you can select that method in your admin and create/print your labels and ship your boxes.

24 Apr 2008, 12:54 AM
#51
joerod avatar

joerod

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

DivaVocals:

Just wanted to thow in a confirmation that this fix worked for me too..
Worked for me too! thanks! if anyone else is having any trouble, make sure you have your cURL configured.

31 Jul 2008, 8:35 PM
#52
girdy74 avatar

girdy74

New Zenner

Join Date:
Jul 2008
Posts:
26
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

BeerCan -

YOU ARE AMAZING :cool:!!!! ONCE AGAIN, I have to say, THIS FORUM IS PRICELESS!!

Your fix of the two // saved the day! :yes:

Thank you Thank you Thank you Thank you

26 Aug 2008, 8:54 PM
#53
forced avatar

forced

New Zenner

Join Date:
Oct 2007
Posts:
61
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

DrByte's fix worked for me... im on 1.3.8a

:clap:

17 Dec 2008, 11:18 PM
#54
j0ney3 avatar

j0ney3

New Zenner

Join Date:
Jun 2004
Posts:
36
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

gabstero:

Hi Gang ---

I thought of posting this here too (sorry for my other post).

Both Modules (Express & Ground) are working fine in my Zen Cart v1.3.7.1. But for some reason if I have mire than aprox 80 or so Lbs on my cart (total weight of multiple products added together), the FedEx Ground shows no rates...

I have all my meters fine, etc. Any clues what can be wrong?

thanks a TON!

gabstero

I'm having this same issue (ZC 1.3.8a), I've found that SHIPPING_MAX_WEIGHT is set at 100lbs, and if it's more than that, classes/shipping.php splits it into multiple boxes, I'm thinking the fedex ground module is having issues w/ multiple boxes?

18 Dec 2008, 4:21 PM
#55
j0ney3 avatar

j0ney3

New Zenner

Join Date:
Jun 2004
Posts:
36
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

j0ney3:

I'm having this same issue (ZC 1.3.8a), I've found that SHIPPING_MAX_WEIGHT is set at 100lbs, and if it's more than that, classes/shipping.php splits it into multiple boxes, I'm thinking the fedex ground module is having issues w/ multiple boxes?

Ok, looks like I'm talking to myself here but I'll lay it out for others who may be having this same odd issue. Here's what I've got so far:

I updated the SHIPPING_MAX_WEIGHT to "150" (lbs in my case), which is the cutoff for Fedex Ground. Now, it's returning Ground availability on my packages EVEN WHEN THEY'RE SPLIT UP--but only for SOME zipcodes...insanity. I'm going to keep digging

18 Dec 2008, 4:31 PM
#56
j0ney3 avatar

j0ney3

New Zenner

Join Date:
Jun 2004
Posts:
36
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

j0ney3:

Ok, looks like I'm talking to myself here but I'll lay it out for others who may be having this same odd issue. Here's what I've got so far:

I updated the SHIPPING_MAX_WEIGHT to "150" (lbs in my case), which is the cutoff for Fedex Ground. Now, it's returning Ground availability on my packages EVEN WHEN THEY'RE SPLIT UP--but only for SOME zipcodes...insanity. I'm going to keep digging

UPDATE: Ok, it has nothing to do with the zipcodes. Fedex Home Delivery, which is chosen by default when there is no "Company" specified, has a maximum weight of 70lbs. So, it appears that the bug is 70+lbs and no "Company" will yield an empty Ground return...I'm going to look into includes/modules/shipping/fedexground.php and see where it's sending the request, perhaps there is a "service type" component that needs to be automatically switched to "Ground" instead of "Home Delivery" based on the weight of the packages. I'll keep everyone posted

18 Dec 2008, 5:23 PM
#57
j0ney3 avatar

j0ney3

New Zenner

Join Date:
Jun 2004
Posts:
36
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

j0ney3:

Ok, looks like I'm talking to myself here but I'll lay it out for others who may be having this same odd issue. Here's what I've got so far:

I updated the SHIPPING_MAX_WEIGHT to "150" (lbs in my case), which is the cutoff for Fedex Ground. Now, it's returning Ground availability on my packages EVEN WHEN THEY'RE SPLIT UP--but only for SOME zipcodes...insanity. I'm going to keep digging

j0ney3:

UPDATE: Ok, it has nothing to do with the zipcodes. Fedex Home Delivery, which is chosen by default when there is no "Company" specified, has a maximum weight of 70lbs. So, it appears that the bug is 70+lbs and no "Company" will yield an empty Ground return...I'm going to look into includes/modules/shipping/fedexground.php and see where it's sending the request, perhaps there is a "service type" component that needs to be automatically switched to "Ground" instead of "Home Delivery" based on the weight of the packages. I'll keep everyone posted

Ok, looks like the problem is a conflict between Fedex's business rules and ZC's.

Fedex says:
Maximum weight for Home Delivery = 70lbs
Maximum weight for Ground = 150lbs

HOWEVER: You CAN ship a 150lbs package to a residence! It just has to ship via GROUND, not HOME DELIVERY.

So, the business rule SHOULD be: If the weight of the package is between 70lbs and 150lbs, and the address is "residential", ie; no $order->delivery['company'], then the requested service should be GROUND, not HOME DELIVERY

Zen Cart says:
Choose the maximum weight of the package your company will ship, if the total weight of your items exceeds this limit, divide by the maximum and ship that many separate boxes.

I suppose you could just set the max weight in Admin->Configuration->Shipping/Packaging to 70lbs, as this would ensure that you'd always get a rate returning for Home Delivery, however, this solution is less than ideal for merchants who ship heavy packages as their customers will see insanely high pricing for Home Delivery, when they could be seeing decent rates for GROUND.

I'm going to work on it for a little while longer and see if I can find a more robust solution that would encompass the business rules of Fedex.

18 Dec 2008, 5:32 PM
#58
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Is there a functioning FedEx module for 1.3.8a?

j0ney3:

Ok, looks like the problem is a conflict between Fedex's business rules and ZC's.

Fedex says:
Maximum weight for Home Delivery = 70lbs
Maximum weight for Ground = 150lbs

HOWEVER: You CAN ship a 150lbs package to a residence! It just has to ship via GROUND, not HOME DELIVERY.

So, the business rule SHOULD be: If the weight of the package is between 70lbs and 150lbs, and the address is "residential", ie; no $order->delivery['company'], then the requested service should be GROUND, not HOME DELIVERY

Zen Cart says:
Choose the maximum weight of the package your company will ship, if the total weight of your items exceeds this limit, divide by the maximum and ship that many separate boxes.

I suppose you could just set the max weight in Admin->Configuration->Shipping/Packaging to 70lbs, as this would ensure that you'd always get a rate returning for Home Delivery, however, this solution is less than ideal for merchants who ship heavy packages as their customers will see insanely high pricing for Home Delivery, when they could be seeing decent rates for GROUND.

I'm going to work on it for a little while longer and see if I can find a more robust solution that would encompass the business rules of Fedex.

I've been closely following your "exploits"(:laugh::laugh:) because I have a client in a similar business as yours. (http://www.kdezines.com) While it's not been an issue YET (their site JUST launched), I see that this shipping weight business and rates could very much become an issue for them.. Please continue to keep us posted on your progress and findings..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Dec 2008, 7:36 PM
#59
j0ney3 avatar

j0ney3

New Zenner

Join Date:
Jun 2004
Posts:
36
Plugin Contributions:
0

Re: Is there a functioning FedEx module for 1.3.8a?

j0ney3:

Ok, looks like the problem is a conflict between Fedex's business rules and ZC's. ....

Ok, I ended up making some changes to fix the Home Delivery/Ground deficiency, all of the following changes are in:

includes/modules/shipping/fedexground.php, I'm just posting the changes since it won't let me post the entire file, etc

If someone wants to do this in a less hackish fashion, please repost, I'm sick of looking at it and want to be done with it, LOL

around line 23:

var $code, $title, $description, $sort_order, $icon, $tax_class, $enabled, $meter, $intl;

To:

var $code, $title, $description, $sort_order, $icon, $tax_class, $enabled, $meter, $intl, $max_homedelivery_weight;

around line 37:

if ($order->delivery['company'] == '') {
     $this->icon = DIR_WS_IMAGES . 'fedex-images/HOME.gif';
} else {
     $this->icon = DIR_WS_IMAGES . 'fedex-images/GROUND.gif';
} 

TO:

/*if ($order->delivery['company'] == '') {
     $this->icon = DIR_WS_IMAGES . 'fedex-images/HOME.gif';
} else {
     $this->icon = DIR_WS_IMAGES . 'fedex-images/GROUND.gif';
} */

JUST AFTER line 46 (the line after $this->meter = MODULE_SHIPPING_FEDEX_GROUND_METER;
add:

//max Home Delivery Weight
$this->max_homedelivery_weight = 70;

around line 156
change:

case 90:
if ($order->delivery['company'] != '') {
     $skip = true;
}
 
break;

To:

case 90:
// If this is a candidate for GROUND service, either has "Company" 
// OR if the package weight is > max_homedelivery_weight
if ($order->delivery['company'] != '' or $this->pounds > $this->max_homedelivery_weight) {
	$skip = true;
}

break;

around line 170
change:

if ($order->delivery['company'] == '') {
	$skip = true;
} 

To:

if ($order->delivery['company'] == '' and $this->pounds <= $this->max_homedelivery_weight) {
	$skip = true;
}

JUST BEFORE 226 (if (zen_not_null($this->icon)) $this->quotes['icon'] = zen_image($this->icon, $this->title);)
add:

// Set the icon based on weight limits AND Company
// This needs to be updated if $shipping_weight > $this->max_homedelivery_weight
if ($order->delivery['company'] == '' and $this->pounds <= $this->max_homedelivery_weight) {
	$this->icon = DIR_WS_IMAGES . 'fedex-images/HOME.gif';
} else {
	$this->icon = DIR_WS_IMAGES . 'fedex-images/GROUND.gif';
}

around line 546:
change:

if ($order->delivery['company'] == '' && MODULE_SHIPPING_FEDEX_GROUND_RESIDENTIAL == 0) {
	$data .= '440,"Y"'; // Residential address
		
} else {
	$data .= '440,"N"'; // Business address, use if adding a residential surcharge
					
} 

To:

// Company is blank AND it's less weight than $this->max_homedelivery_weight
if ($order->delivery['company'] == '' 
   && MODULE_SHIPPING_FEDEX_GROUND_RESIDENTIAL == 0 
   && $this->pounds <= $this->max_homedelivery_weight) 
{
	$data .= '440,"Y"'; // Residential address
} else {
	$data .= '440,"N"'; // Business address, use if adding a residential surcharge
}
18 Dec 2008, 8:25 PM
#60
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Is there a functioning FedEx module for 1.3.8a?

j0ney3:

Ok, I ended up making some changes to fix the Home Delivery/Ground deficiency, all of the following changes are in:

includes/modules/shipping/fedexground.php, I'm just posting the changes since it won't let me post the entire file, etcIf you tried posting the full code as part of your post, the forum software may not let you, but you may be able to attach your modded file to your post as a file attachment (zipping the file may help if filesize is an issue) .. BTW, thanks for the dedication and the work on this..:clap: Gonna make these changes and give it a shot on my dev site before pushing this live on my client's site....

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.