Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Could you Zip your file for:
    /includes/classes/shipping.php

    maybe I can see something quirky happening when I try to use that while testing this, as I am getting the days to show but perhaps something is causing this issue related to the changes for the conversion ...
    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!

  2. #12
    Join Date
    Mar 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Ajeh,

    Sorry for the delayed response. I was on the road all day and did not have access to the file.

    shipping.php.zip


    Thank you again for your time and assistance...

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Could you also Zip your file for:
    /includes/modules/shipping/usps.php

    and add it as an attachment to your next post ...
    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!

  4. #14
    Join Date
    Mar 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Ajeh,

    Please find the attached file, usps.php.

    Thank you,
    Attached Files Attached Files

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    As a test ... can you change the Maximum Weight to 50 and the Tare Rates to 0:0 ...

    Then test your order ... does this alter the results in any way?
    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!

  6. #16
    Join Date
    Mar 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    No, I get the same result:

    United States Postal Service (1 個口) (0 lbs, 5 oz) (Priority Mail International®) $41
    United States Postal Service (1 個口) (0 lbs, 5 oz) (Priority Mail Express International™) $48


    Regards,

  7. #17
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Have you an URL to your site and the Products that are in the Order so that I can test some things on your site?
    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!

  8. #18
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Can you try starting with this USPS shipping module, customized for you, and see if the Custom Days work better for you?
    Attached Files Attached Files
    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!

  9. #19
    Join Date
    Mar 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Quote Originally Posted by Ajeh View Post
    Can you try starting with this USPS shipping module, customized for you, and see if the Custom Days work better for you?
    Ajeh,

    This works, but the only thing is that after adding the modification below, the First-Class only shows "Varies by destinations." I also would like to see the days "7-12 days" as you customized. I'm sure that you have a solution to this...

    Quote Originally Posted by Ajeh View Post
    Edit the file:
    /includes/modules/shipping/usps.php

    and add the code in RED:
    Code:
    // bof: check Product Qty in categories_id 25
    $chk_cat = 0;
    $chk_cats = $_SESSION['cart']->in_cart_check('master_categories_id','25');
    // eof: check Product Qty in categories_id 25
          for ($i=0; $i<$PackageSize; $i++) {
    Code:
              if ($this->usps_countries == 'US' && MODULE_SHIPPING_USPS_FIRST_CLASS_FILTER_US == 'True' && preg_match('#First\-Class#i', $type) && $cnt_first > 1) continue;
    
    // bof: only show First Class/First-Class when entire cart is categories_id 25
    if ($chk_cats != $_SESSION['cart']->count_contents() && preg_match('#First\-Class#i', $type)) {
    //  echo 'USPS skip $type: ' . $type . '<br>';
      // skip First Class
    } else {
    //  echo 'USPS DO NOT skip $type: ' . $type . '<br>';
              $methods[] = array('id' => $type_rebuilt,
                                 'title' => $title,
                                 'cost' => $cost,
                                );
    }
    // eof: only show First Class/First-Class when entire cart is categories_id 25
    

  10. #20
    Join Date
    Mar 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - No estimated transit time for International shipments

    Never mind... After switching the Transit Time Calc Mode to "Custom," the days "7-12" showed up. Another donation coming to your way!

    Thank you again for all of your help.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v139h New USPS shipping module not working for international orders
    By ts232 in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 14 Feb 2014, 02:26 AM
  2. v139h USPS NEW version J transit time problem with OLD settings
    By WiccanWitch420 in forum Addon Shipping Modules
    Replies: 12
    Last Post: 4 Aug 2013, 11:25 PM
  3. Usps shipping module not working for international orders
    By muah in forum Addon Shipping Modules
    Replies: 3
    Last Post: 31 Jul 2013, 02:58 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