Page 3 of 34 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 336
  1. #21
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    I have the latest module installed and it works so much better! I want to offer flat rate priority mail service, but for every cart it offers small, medium and large boxes and I'm sure my customers will choose the cheaper option. Is there a way to control which option is presented to the customers by some attribute?

  2. #22
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    Quote Originally Posted by kwrosenzweig View Post
    For every cart it offers small, medium and large boxes and I'm sure my customers will choose the cheaper option. Is there a way to control which option is presented to the customers by some attribute?
    With the current module functionality - no.

    The moment one of the dimensions goes over 12" it will disable all the flat-rate or "regular" size options.

    I will post an update this weekend which fixes:
    The minor bug mentioned in the previous post.
    Speed improvement going from checkout_shipping --> checkout_payment page.
    Adding USPS specified dimensions to the flat rat boxes so the dimension config can be used to filter them by weight.

    I haven't looked into the USPS envelope sizing limits/exceptions for various services. If USPS put all this info in one convenient spot I would really appreciate it. It seems like it's all over the place!

    I might add an option that allows people to enable or disable size-limit checking for envelopes and packages so the functionality doesn't get in the way.

  3. #23
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    Just a quick update.

    Weight filtering is going and someone is helping me test that feature.

    I also implemented quote caching to speed stop the same quote from being retrieved more than once in a customers session. This should speed up going from 'checkout_shipping' to 'checkout_payment'.

    I decided to hold off from releasing to get another option going.
    Filtering shipping quotes by volume. (see attached)

    To use this feature there is a small patch to apply to the shop database. It's harmless and doesn't change your data. It only converts the products_weight field to "double" precision and keeps all existing data. It allows me to store the volume in the additional digits.

    I just thought of this - but if you use product attributes my volume handling code will work for that too, since an attribute can add extra weight to a product it can also add the extra volume simultaneously!

    The beauty of this approach: I don't need to edit any core files or change the product admin section to implement it.

    Here is the SQL Query you will need to run:
    Code:
    ALTER TABLE products CHANGE products_weight products_weight DOUBLE NOT NULL DEFAULT '0';
    UPDATE products SET products_weight=ROUND(`products_weight`,5);
    ALTER TABLE products_attributes CHANGE products_attributes_weight products_attributes_weight` DOUBLE NOT NULL DEFAULT '0';
    UPDATE products_attributes SET products_attributes_weight=ROUND(`products_attributes_weight`,5);
    Attached Images Attached Images  

  4. #24
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    I am using this module and finally got it to work. Not because of the plugin but stupid USPS took forever to activate my web tools ID.

    Now it works I would need to do the following:
    I have stuff to ship that needs to be delivered next day.
    Therefore I want only rates to show up that makes next day delivery
    possible.
    How can I narrow down to show only the "1 day" options?
    I have to consider also 1 day might be available for one customer but not for another depending where the destination area is.

    Thanks for any help

  5. #25
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    This module can't filter by transit time. You will have to check with usps to find out what areas around your location are covered by 1 day delivery guarantee.

    I'm leaning on the side of using another module at the moment, perhaps something like http://www.zen-cart.com/forum/showthread.php?t=63608

    Find out if it can disable shipping if it doesn't recognize a zip code and bring up a note saying shipping isn't supported for that region.

    I might add filtering by state or zip code ranges to my module at some point. Maybe after I've tested and gotten the product volume/quote filtering system going.

  6. #26
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    If you really want to use the usps module for this you can modify the module.


    Find the following code around line 410.
    PHP Code:
            for ($i=0$i<$size$i++) {
              list(
    $type$cost) = each($uspsQuote[$i]); 
    and add the following underneath so it looks like this:
    PHP Code:
            for ($i=0$i<$size$i++) {
              list(
    $type$cost) = each($uspsQuote[$i]);
              if (!
    strstr($transittime[$type],'Tomorrow')) {
                if ((
    $i+1)==$size && empty($methods)) {
                  
    $this->quotes = array(
                    
    'module' => $this->title,
                    
    'error' => 'Sorry, Overnight Shipping is not available to your location.');
                }
                continue;
              } 
    And that should do what you need, though it relies on the 'Display Transit times' option to be ticked in the module config.

    And if that works for you buy me a couple drinks!

  7. #27
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    Thank you for the quick reply.
    Understand the logic behind your suggestions and guess it will work this way.
    Just have the issue I can't find the code you mentioned above.
    I am using the latest update from the plugin and not the one that was posted here in the beginning of the thread. I looked at the PHP file and the version = version $Id: usps.php 65043 2011-26-05.
    It seems the coding is a little different.

    Could you please point me where I should put your suggested coding?

    Thanks again
    Michael

  8. #28
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    92
    Plugin Contributions
    1

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    Hi Michael,

    The new code starts at line 384 in that file version.

    Though you could have used the search function in the text editor for that! Thats why I said 'around line 410.'

    Since I was working with my current development copy.

    Marco

    Theres a decent text editor you can use. For windows I recommend Notepad++
    Last edited by Marco B; 26 Jun 2011 at 06:15 AM.

  9. #29

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    Hello everyone,

    Using Zen Cart 1.39h and the May 26 version of this module.

    We had problems from the beginning. First, I was told I could not connect to the the testing server.

    When I registered with USPS, the confirmation email told me to use a different dll for the testing server (shippingAPITest.dll instead of shippingAPI.dll), so I changed the dll name on line 682 and we started connecting.

    Now, I'm getting "RateV4 is not a valid API name for this protocol" errors.

    For reference, I started with the January 2011 version of this module and received the exact same error with RateV3.

    Any suggestions?

    Beth

  10. #30

    Default Re: USPS Shipping Module - RateV4, IntlRateV2 - Support Thread

    After a lot of head banging, USPS moved me to the production server, which solved the invalid API problem.

 

 
Page 3 of 34 FirstFirst 1234513 ... LastLast

Similar Threads

  1. Optional Shipping Insurance Module [Support Thread]
    By jettrue in forum Addon Shipping Modules
    Replies: 396
    Last Post: 31 Mar 2023, 05:35 PM
  2. Replies: 29
    Last Post: 24 Sep 2014, 09:59 PM
  3. v151 USPS Shipping RateV4-IntlRateV2
    By Christian_Wagner in forum Addon Shipping Modules
    Replies: 2
    Last Post: 17 May 2013, 04:43 PM
  4. v151 USPS Shipping Module Update - RateV4 - IntlRateV2
    By omegaman66 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Oct 2012, 08:40 PM
  5. USPS RateV4, IntlRateV2 support and etc..
    By Marco B in forum Addon Shipping Modules
    Replies: 8
    Last Post: 30 May 2011, 10:55 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