Results 1 to 4 of 4

Hybrid View

  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
    69,402
    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.5]
    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!

  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
    69,402
    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.5]
    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!

 

 

Similar Threads

  1. v154 USPS Module Installed, set for Production, but no USPS Shipping Choices
    By themanorhouselibrary in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 3 Feb 2015, 11:16 PM
  2. USPS Module - how to shorten the ship method string
    By kehrli in forum General Questions
    Replies: 3
    Last Post: 8 Jul 2014, 12:53 AM
  3. 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
  4. 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR