Thread: USPS Question

Page 1 of 2 12 LastLast
Results 1 to 10 of 37

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    41
    Plugin Contributions
    0

    Default USPS Question

    Hey guys,

    I just have one quick question!

    I made a store for someone in the US and I'm located in Ireland. They use UPS for all US orders and USPS for everyone else. When I check how much it is to ship to Ireland its always $25.95 no matter what weight. This is using flat rate envelope. Is this due to zen-cart knowing if they'll actually fit. If so should I disable using this carrier method?

    Thanks!

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

    Default Re: USPS Question

    That is the same quote USPS gives ... up to about 65 or so pounds ...

    However, there is nothing in Zen Cart to manage dimensions ... so that can be an issue ...
    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!]
    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
    Aug 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: USPS Question

    Thanks for the reply Linda! (nice irish name btw )

    Just one more question. Is there any code I can add to the usps module that checks if there is a product from I.D 11 and 12 (in my case) and automatically gets rid of Express Mail International flat rate envelope from the list of available shipping methods?

    I tried one from this site but it didnt work.

    Thanks a million!

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

    Default Re: USPS Question

    A products_id 11 and 12 or something from a categories_id 11 and 12 and if a categories_id are those the master_categories_id?
    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!]
    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!

  5. #5
    Join Date
    Aug 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: USPS Question

    It's the top categories.



    Here's a picture to help!

    Thanks

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

    Default Re: USPS Question

    You would add the code to:
    Code:
            $methods = array();
            $size = sizeof($uspsQuote);
            for ($i=0; $i<$size; $i++) {
              list($type, $cost) = each($uspsQuote[$i]);
    
              // BOF: UPS USPS
              $title = ((isset($this->types[$type])) ? $this->types[$type] : $type);
              if(in_array('Display transit time', explode(', ', MODULE_SHIPPING_USPS_OPTIONS)))    $title .= $transittime[$type];
              /*
              $methods[] = array('id' => $type,
              'title' => ((isset($this->types[$type])) ? $this->types[$type] : $type),
              'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
              */
              global $cart;
    //          $chk_cats = $_SESSION['cart']->in_cart_check('master_categories_id','11')  + $_SESSION['cart']->in_cart_check('master_categories_id','12');
              echo 'shipping ' . $type . ' chk_cats: ' . $chk_cats . '<br>';
              if ($type == 'Express Mail International (EMS) Flat-Rate Envelope' && $chk_cats > 0) {
                // skip shipping
              } else {
              $methods[] = array('id' => $type,
                                 'title' => $title,
                                 'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
              }
            }
    The commented echo is if you need to see the name of the shipping type for testing other settings ... just uncomment and it will display on the shipping ... note: it will look pretty ugly but it is helpful ...
    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!]
    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!

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

    Default Re: USPS Question

    You are using the New USPS shipping module for January 4, 2010 correct?
    http://www.zen-cart.com/forum/showthread.php?t=144992
    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!]
    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. #8
    Join Date
    Aug 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: USPS Question

    Yep, I just updated to the new USPS module today. Realized there was an update and I didnt know!

    Yup its, store.wphlive.tv

    Thanks again!

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

    Default Re: USPS Question

    Do you have any Zones setup on USPS?

    Did you do a REMOVE ... INSTALL and reconfigure when you loaded the new version?
    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!]
    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!

  10. #10
    Join Date
    Aug 2009
    Posts
    41
    Plugin Contributions
    0

    Default Re: USPS Question

    I have two zones. One for the US and another for all other countries. I've it set so the US ships by UPS and all other countries by USPS.

    Yep, I removed the module and installed it again.

    I'll try it again.
    Last edited by yoppo; 8 Apr 2010 at 03:56 AM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. usps question
    By unmasked in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 21 Oct 2010, 07:13 AM
  2. USPS question
    By GraniteMan44 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 8 Apr 2008, 04:35 AM
  3. USPS Question
    By Tulameen in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 19 Oct 2006, 07:41 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