Page 26 of 34 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 336
  1. #251
    Join Date
    Aug 2011
    Location
    Pacific NW
    Posts
    28
    Plugin Contributions
    0

    Default Re: USPS RateV4, IntlRateV2 Language File

    Is that a mod to the old USPS file or the new one?

  2. #252
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: USPS RateV4, IntlRateV2 Language File

    It depends upon what you are calling the old and new one ??

    That code edits the USPS RateV4, IntlRateV2 module so that first class international package service changes on Jan 27, 2013 would be functional.

    The plugin has been updated & is available in the download area for that change to Int'l first class and also to remove 1st class and Priority small flat rate products if value exceeds $400 USD.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  3. #253
    Join Date
    Aug 2011
    Location
    Pacific NW
    Posts
    28
    Plugin Contributions
    0

    Default Re: USPS RateV4, IntlRateV2 Language File

    Never mind. I didn't see the new files that were available 2/3. I installed those and it works great! You guys are awesome!!! Thanks!

  4. #254
    Join Date
    Aug 2011
    Location
    Pacific NW
    Posts
    28
    Plugin Contributions
    0

    Default Re: USPS RateV4, IntlRateV2 Language File

    I guess I need a little more help. An international customer pointed out that first class wasn't showing as an option on one of my kits. I changed the code as per RixStix's post in the previous page. That fixed it to a point. If I add 2 kits to the shopping cart it doesn't show first class international. I did some trouble shooting and I believe it's volume related.

    My kits use this weight: 1.900000084 (1.9 lbs 84 in^3)

    My Package Dimension Config is:
    3x4x6;1.0
    12x9x3;20.0
    12x12x15;+

    When I add one kit, the debug output is (first class is shown as a shipping option):
    weight: 1.0lb, dimensions: 3x4x6
    weight: 10.0lb, dimensions: 12x9x3
    weight: +lb, dimensions: 12x12x15
    Setting dimensions: l=12 w=9 h=3 for Weight: 2.25
    Volume Filtering Enabled. Volume=84" cu
    Removed 'Priority Mail International Small Flat Rate Box**'

    But, when I add 2 kits the debug outputs (first class is not shown as a shipping option):
    weight: 1.0lb, dimensions: 3x4x6
    weight: 10.0lb, dimensions: 12x9x3
    weight: +lb, dimensions: 12x12x15
    Setting dimensions: l=12 w=9 h=3 for Weight: 4.15
    Volume Filtering Enabled. Volume=168" cu
    Removed 'Priority Mail International Small Flat Rate Box**'

    For trouble shooting, I added a lot of small products to the shopping cart to get the volume up over ~160 in^3 and the first class option disappears.

    Here is the mod to the code in the modules -> shipping - > UPSP.php

    'First-Class Package International Service**'=>
    array('maxWeight'=>70, 'maxGL'=>'', 'volume'=>200, 'maxLength'=>'', 'maxWidth'=>'','maxHeight'=>'', 'name'=>'First Class Mail Int Package'), // ID="15" **************I changed 12.5 to 200 to work with the kits. Kits are 84 in^3. But, if someone buys additional items the volume went over 85 in^2 SPIFF 020913**********************

    What am I missing?

  5. #255
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: USPS RateV4, IntlRateV2 Language File

    I think adding the second kit has exceeded the weight limit set by the USPS for FirstClass International Package Service which is 4 pounds.

    But, when I add 2 kits the debug outputs (first class is not shown as a shipping option):
    weight: 1.0lb, dimensions: 3x4x6
    weight: 10.0lb, dimensions: 12x9x3
    weight: +lb, dimensions: 12x12x15
    Setting dimensions: l=12 w=9 h=3 for Weight: 4.15
    Volume Filtering Enabled. Volume=168" cu
    Removed 'Priority Mail International Small Flat Rate Box**'
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  6. #256
    Join Date
    Aug 2011
    Location
    Pacific NW
    Posts
    28
    Plugin Contributions
    0

    Default Re: USPS RateV4, IntlRateV2 Language File

    Sounds good. That makes sense about the weight. I missed that.

    There still seems to be something not quite right about the volume filtering. I can add parts exceeding the 3x4x6 box volume and it still picks the 3x4x6. Also, after 160 in^3 international first class gets dropped even though the weight is well below the limit.

    For now, these scenarios haven't affected me so it's all good!!!

  7. #257
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: USPS RateV4, IntlRateV2 Language File

    I'm pretty sure that the volume filtering only works with the USPS flatrate products or classes that have a max volume entered within the code.

    Also, IIRC, when you have volume filtering enabled that any configuration entered into the weight area is ignored.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  8. #258
    Join Date
    Sep 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: USPS RateV4, IntlRateV2 Language File

    Big thanks to Marco B, Ajeh, and RixStix for the development, testing, and information in this thread.

    I am currently trying to upgrade from Ratev3 (@version $Id: usps.php 18348F 2012-01-22 01:22:00Z ajeh $ ) to the latest Ratev4 IntRateV2 on ZC V 1.3.9h. Since Parcel selection is not carrying over to the checkout page since the USPS change to Parcel Select.
    Following the instructions of the latest release download which looks to be 1.3 even though HTML file still reads 1.21 and 1.21a.

    I have followed the steps below:
    Uninstalled the USPS module.
    Migrated patch/upgrade files to the corresponding locations on my server.
    Installed USPS module.
    Entered configuration settings.
    Validated no conflicting shipping and/or payment modules exist.
    I chose not to install the volume based shipping SQL just yet.

    During testing the shipping estimator section in the checkout and Step 2 of checkout page I get a blank page which tells me I did something wrong. Checking the log files points to a getName() function as seen below.
    [03-Mar-2013 08:21:38] PHP Fatal error: Call to a member function getName() on a non-object in ../includes/modules/shipping/usps.php on line 904

    I have reverted back to my backup files and everything is functioning as it was previously. What step am I missing to complete the upgrade/conversion to Ratev4?

  9. #259
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: USPS RateV4, IntlRateV2 Language File

    I can't be of much help other than saying I didn't touch that part of the code for the recent USPS changes since we don't use Parcel Select.

    It looks like that line of the code deals with US Territories if that helps.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  10. #260
    Join Date
    Sep 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: USPS RateV4, IntlRateV2 Language File

    Quote Originally Posted by RixStix View Post
    I can't be of much help other than saying I didn't touch that part of the code for the recent USPS changes since we don't use Parcel Select.

    It looks like that line of the code deals with US Territories if that helps.
    Thanks for the response, Rix. I checked that the only region defined is a region for tax purposes. I doubt that is what the US Territories refers to and I am unable to debug further than this line. I tried deselecting the Parcel Select option and it returned with the same error. Would there be any need for me to install Ratev4 from version 1.0 and then upgrade to current? I didn't see anything additional in the versions in between in terms of update files other than the language file.

 

 
Page 26 of 34 FirstFirst ... 162425262728 ... LastLast

Similar Threads

  1. Optional Shipping Insurance Module [Support Thread]
    By jettrue in forum Addon Shipping Modules
    Replies: 414
    Last Post: 20 Mar 2025, 01:39 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