Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11

    Default Re: Fedex Freight Module ported from OsCommerce

    Also to make the module more manageable I am switching from Tagged Transaction, to the XML model.

    This will make the code easier to adjust and manage as fedex constantly changes things...

  2. #12
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Fedex Freight Module ported from OsCommerce

    Quote Originally Posted by Merlinpa1969 View Post
    please remember to get yourself a contact at fedex identity,
    since before you can release a module you will need their permission to do so. ( something to do with trademark infringment )
    Ancient: This is not a big deal. But you need permission to use their logos. Also, if your going to DO this, put in an option for account numbers. Any larger company will have an account and negotiated rates.

    This would be handy also in the UPS module. I have found that UPS freight much much less than FedEx Freight. UPS is more in line with other LTL shippers like Yellow, Old Dominion, etc.

    Really wish I knew what I am doing in that code in 1st post that is wrong... anyone?

    -chaddro

  3. #13

    Default Re: Fedex Freight Module ported from OsCommerce

    Quote Originally Posted by chadderuski View Post
    Ancient: This is not a big deal. But you need permission to use their logos. Also, if your going to DO this, put in an option for account numbers. Any larger company will have an account and negotiated rates.

    This would be handy also in the UPS module. I have found that UPS freight much much less than FedEx Freight. UPS is more in line with other LTL shippers like Yellow, Old Dominion, etc.

    Really wish I knew what I am doing in that code in 1st post that is wrong... anyone?

    -chaddro
    I would happy help with that, i dont see anything standing out to me, post the mysql errors, in full, so i can see what exactly is happening.


    Back on the Fedex Rant, Why do they need soo many different options for more or less the same service, In researching the Freight Module for my client I have found they have

    Fedex Express Frieght
    Fedex Ground Multi=Package Frieght
    Fedex Freight (LTL)


    #####, and all of them use different APIs and web services


    EDIT: Moderator note: aggressive language censored

  4. #14
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Fedex Freight Module ported from OsCommerce

    Ancient:

    I sent you a pm with a link to the two files. Thanks for taking a look!

    -chaddro

  5. #15
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

    Default Re: Fedex Freight Module ported from OsCommerce

    Quote Originally Posted by Merlinpa1969 View Post
    Best of luch wioth the fedex modules,
    you will soon realize why I stopped messing with then ,
    Fedex changes their rules every few days,
    I was considering asking Merlin to add a feature to the Fedex modules, but since he has abandoned the project, I will put in my 2 cents to whomever is brave or foolhardy enough to do it.

    REQUEST: could we have the ability to select WHICH services we want quoted like the UPS and USPS modules?

  6. #16

    Default Re: Fedex Freight Module ported from OsCommerce

    Quote Originally Posted by mauryg View Post
    I was considering asking Merlin to add a feature to the Fedex modules, but since he has abandoned the project, I will put in my 2 cents to whomever is brave or foolhardy enough to do it.

    REQUEST: could we have the ability to select WHICH services we want quoted like the UPS and USPS modules?

    That is one of the things I am putting in mine as well, it will probably not be on the admin however for the first release, but I will provide documentation on how to turn off the services

  7. #17
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Fedex Freight Module ported from OsCommerce

    If you look in the files them selves just comment out what you dont want displayed

  8. #18
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Fedex Freight Module ported from OsCommerce

    Well! I figured it out... SORT OF!

    Code:
    $n = sizeof($products);
    for ($i=0; $i<$n; $i++) {
    	$products_id = $products[$i]['id'];
           	$prod_query = $db->Execute("select products_fxf_class, products_fxf_desc, 
    	products_fxf_nmfc, products_fxf_haz, products_fxf_freezable FROM " . 
    	TABLE_PRODUCTS . " WHERE products_id = '".$products[$i]['id']."'");
    	
    while (!$prod_query->EOF) {
       // was trying to use this, but it didn't work ...???
       // $prod_info[] = $pro_query->fields['products_id']; 
       $prod_query->MoveNext();
    }
    
    //class, weight, pcs, descr, nmfc, haz, freezable
    		  
    $url_attr .= '&as_class' . $x . '=' . $prod_query->fields['products_fxf_class'];
              $url_attr .= '&as_weight' . $x . '=' . $products[$i]['quantity'] * (int)$products[$i]['weight'];
    $url_attr .= '&as_pcs' . $x . '=' . $products[$i]['quantity'];
    
    if (trim($prod_info['products_fxf_desc']) != '') {
         $url_attr .= '&as_descr' . $x . '=' . urlencode($prod_query->fields['products_fxf_desc']);
    }
    if (trim($prod_info['products_fxf_nmfc']) != '') {
         $url_attr .= '&as_nmfc' . $x . '=' . urlencode($prod_query->fields['products_fxf_nmfc']);
    }
    if (trim($prod_info['products_fxf_haz']) != '') {
        $url_attr .= '&as_haz' . $x . '=' . $prod_query->fields['products_fxf_haz'];
    }
    if (trim($prod_info['products_fxf_freezable']) != '') {
        $url_attr .= '&as_freezable' . $x . '=' . $prod_query->fields['products_fxf_freezable'];
    }          
    
    //Six is the maximum number of products that FedEx will take at a time.
    if ($x >= 6) {
      $fxf_urls[] = array('pcs' => '6', 'url' => $base_URL . $url_attr);
      $x = 1;
      $url_attr = '';
    } else {
       $x++;
    }
    }
    I am getting correct rates back now. But it still needs work. Unless I raise the maximum shipping weight, the Estimator want to break down the shipment into multiple packages... that doesn't work for podiums!

    And I need to figure this part out:
    Code:
    while (!$prod_query->EOF) {
       // was trying to use this, but it didn't work ...???
       // $prod_info[] = $pro_query->fields['products_id']; 
       $prod_query->MoveNext();
    }
    How do I fix this section of code so I can reference with

    $prod_info['products_fxf_class']

    Thanks for the help!

  9. #19

    Default Re: Fedex Freight Module ported from OsCommerce

    Nothing in that code breaks the package down by shipping weight, the module as written creates a pallet for each type of item, so if you have the follow order

    100 Widgets
    200 Fidgets

    the module would get a price to ship 1 Pallet of 100 Widgets and 1 Pallet of 200 Fidgets (which is one of the problems I have with it, as I ship mixed pallets. so I would have 1 pallet of 300 pcs)


    If you using the "Shipping Estimator" Page shown at the bottom of the check out, you will need to edit the shipping estimator not the shipping module

  10. #20
    Join Date
    May 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Fedex Freight Module ported from OsCommerce

    Does anyone have a working FedEx Freight module?

    I looked everywhere in the forum and can't find anything on it yet.

    My client has a Fedex account and shippes by FedEx Freight only and my PHP skill isn;t good enough to tackle it.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. FedEx Xml Heavy Freight Module
    By Relentless in forum Addon Shipping Modules
    Replies: 9
    Last Post: 15 Sep 2010, 02:34 PM
  2. FedEx Zones ported from OsCommerce?
    By needainstall in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 21 Jan 2008, 06:29 AM
  3. Fedex Freight Module?
    By CheapStairParts in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 18 Dec 2007, 11:12 PM
  4. PriceTag Payment Module Ported From OsCommerce
    By psychox in forum Addon Payment Modules
    Replies: 0
    Last Post: 3 Jan 2007, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg