Support » Plugin: WooCommerce Shipping & Tax » Problem with Shipping calculation with multiple packages

  • Resolved zanza321


    I found a logic error in the calculation of shipping which makes it more expensive for the customer.

    For example, that this scenario for mail (Canada for example):
    Item A: 20lbs fits Medium Flat Rate box
    Item B: .5 lbs, fits small envelope (6×9″)

    shipping item A only: Flat Rate: Priority Mail International: $47.75
    shipping item B only: First-Class Package International Service: $10.00
    shipping 1 of each A + B: Flat Rate: Priority Mail International: $72.70

    So, as you can see shipping is more expensive for 2 items combined compared to each item individually.

    So, I think I figured out the reason for this error. By the way, its the same logic error for USA/Domestic also, I just used Canada as an example because one of my customers is just complaining about it to me from Canada.

    The reason is: The calculation can correctly determine the cheapest rate for single items. For example flat rate box or first class mail for the examples above. However, when the are combined, it first calculates the Priority Mail rate for the item A (correct), however then it does not give the normal First-Class rate option for the second package. It automatically defaults to force Priority Mail for the second package as well, thus in most cases forcing into a higher combined price class.

    So, somehow the shipping logic will force all packages in the order to be Priority Mail if at least 1 (for first?) package is also Priority Mail.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Paul Dechov


    Hi zanza321,

    What you’re observing is a consequence of the shipping service selection per cart, rather than per item. We don’t currently offer (but can look into adding in the future) the cheapest rate per package as an option alongside (or instead of) the individual services.

    As a somewhat more manual alternative (in case this suits your needs), the Advanced Shipping Packages plugin gives you quite a bit of flexibility in splitting items among “shipping packages” that you configure, each of which will have its own shipping rate selection in the cart / at checkout.

    Hope that helps somewhat, and thanks for reaching out and reporting this!



    Thread Starter zanza321


    will check it out thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with Shipping calculation with multiple packages’ is closed to new replies.