Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2009
    Posts
    5
    Plugin Contributions
    0

    Default Is the USPS shipping module required to ship with USPS?

    I apologize if I have missed the answer to this but I have searched... and it is Monday and I am bleary eyed from trying to figure this out.

    The issue is this: The client wants to offer both USPS and FedEx shipping but at a rates they have predetermined for their own reasons that I don't quite understand. The rates are something like $5.35 for the first lb, + $1.25 for each additional lb (USPS) and something slightly different for FedEx.

    I can see where the by weight/unit module will calculate the cost -- but I need it to round up the weight. Right now it is almost calculating it right, but because it's not rounding up, I'm not getting the right amount. Ex. an order weighing 2.88 lbs should be showing $7.85 (USPS) shipping and it's showing $7.70.

    Settings
    Tare = 0:0
    Shipping cost = 1.25
    Handling fee = 4.10
    Handling per order or box = order

    That's the first issue, the second is that while I can almost get this to work for one shipping method, how do I do both?

    Yes, it would probably be less hassle right now to use the USPS module, but going through the forums and seeing the issues people are having with that because of the USPS site gives me pause about heading in that direction.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,834
    Plugin Contributions
    6

    Default Re: Is the USPS shipping module required to ship with USPS?

    For USPS if you want quotes from their server you should use the current January 22, 2010 release:
    http://www.zen-cart.com/forum/showthread.php?t=191406
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Apr 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Is the USPS shipping module required to ship with USPS?

    Quote Originally Posted by Ajeh View Post
    For USPS if you want quotes from their server you should use the current January 22, 2010 release:
    http://www.zen-cart.com/forum/showthread.php?t=191406
    Thanks Linda, I appreciate your input! But I don't want to use the USPS module. I need the calculations to be made based on weight, but not tied directly to the USPS site.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,834
    Plugin Contributions
    6

    Default Re: Is the USPS shipping module required to ship with USPS?

    Then you will need to write your own shipping module to do this calculation based on weight ...

    Something like customize the Flat Rate flat shipping module and set its rate to 0.00 then the code change:
    Code:
    // class methods
        function quote($method = '') {
          global $order;
    
          global $shipping_weight;
          $chk_weight = round($shipping_weight,0);
          //$5.35 for the first lb, + $1.25
          $chk_weight_charge = ($chk_weight > 1 ? 5.35 + ($chk_weight - 1) * 1.25 : 5.35);
    //echo 'I see: ' . $chk_weight_charge;
          $this->quotes = array('id' => $this->code,
                                'module' => MODULE_SHIPPING_FLAT_TEXT_TITLE,
                                'methods' => array(array('id' => $this->code,
                                                         'title' => MODULE_SHIPPING_FLAT_TEXT_WAY,
                                                         'cost' => MODULE_SHIPPING_FLAT_COST + $chk_weight_charge)));
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Shipping Defaults to USPS when Using Both Zone Rate and USPS
    By thegoodlifestore in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Dec 2010, 05:41 PM
  2. Setting-up USPS - problems with Ship From is Guam and Ship To is US
    By pamcc in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Mar 2010, 03:07 AM
  3. So frustrated...USPS We are unable to find a USPS shipping quote suitable for your ..
    By teqmedia in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 6 Aug 2008, 01:54 PM
  4. USPS Shipping Module
    By AvenueBeads in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 17 Apr 2008, 06:46 AM
  5. USPS Shipping adds 3lbs to cart weight. Problem with USPS or my Zen?
    By Yuchant in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 17 Oct 2007, 01:02 AM

Bookmarks

Posting Permissions

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