• Resolved subhajitwisdm

    (@subhajitwisdm)


    I am using the WooCommerce Shipping plugin to generate the USPS shipping labels. After updating the plugin to version 2.5.7 the products are automatically grouping in the shipping label randomly. For example, if I ordered 60 quantity of product A, the product is grouping into 5 packages of 12 products. But the issue is that the box in which I am shipping this they can hold 10 quantity only. Any idea how to fix that and how to control that grouping of products?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey there, @subhajitwisdm! Thanks for contacting us. I’m happy to help you.

    Can you please share screenshots of your shipping settings so we can take a look?

    Please also share screenshots of the issue on your end. ??

    I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic. Please blur/remove any sensitive information before posting it here.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter subhajitwisdm

    (@subhajitwisdm)

    Hello @carolm29,

    Here is the screenshot of the shipping settings.

    Also, the problem is the product is randomly grouping in the shipping label and not me generate shipping labels according to my need. The example screenshot I have shared that order has 80 products. My each packaging box can hold 10 products, So I need 8 packages and 8 shipping label. But the plugin groups the 16 products within a package and made 5 packages. So now I can only generate 5 labels. Here is a screenshot of the shipping label generation tab for plugin version 2.6.0.
    And here is the screenshot of what it is looks like in the version 2.5.4.

    Thank you for looking into this matter.

    Hey, @subhajitwisdm!

    Thank you for the screenshots and information!

    In this screenshot, I see there’s an option to select the package, can you share what happens if you change the package there?

    Can you also please share what packages you have added under WooCommerce > Settings > Shipping > WooCommerce Shipping > Packages? It is below this.

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter subhajitwisdm

    (@subhajitwisdm)

    Hello @carolm29,

    Thank you for your help.

    If I select the package there then it will generate the shipping label for one package. But the package I used to ship this products can contain 10 items while the shipping label indicating to put 16 items.

    Also, I have many custom packages created under the WooCommerce > Settings > Shipping > WooCommerce Shipping > Packages. I use this packages to ship different products. Here is a full screenshot of it.

    Hope to get a reply soon!

    anastas10s

    (@anastas10s)

    Thank you for reaching back, with further details on this @subhajitwisdm .

    From what I gather, this is related with the logic change that was implemented in #2733 (direct link here), with the release of version 2.5.7 (GitHub link here, with further details).

    Could you peruse the PR #2733 (direct link here), and see if that applies to your particular scenario, indeed, please?

    I hope this helps! We look forward to your response. In the meantime, please let us know if you have any further questions or concerns.

    Plugin Author Gerhard Potgieter

    (@kloon)

    Hi @subhajitwisdm, you can use the following code snippet to up the maximum number of shipments for orders with large items from the default 5 to 10.

    add_filter( 'wc_connect_max_shipments_if_quantity_exceeds_threshold', function( $max_shipments ) {
    return 10;
    } 10, 1 );
    Thread Starter subhajitwisdm

    (@subhajitwisdm)

    Thank you for your replies @anastas10s and @kloon.

    What I have understood from the PR #2733 that the number of max_shipments has been added directly in the code with a filter hook and there is no option right now in the plugin to control the max_shipment number from the plugin settings? Please confirm if my understanding is correct.

    Thank you for the code snippet. That will greatly help to solve the problem.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @subhajitwisdm,

    Your understanding is correct! And I’m glad we were able to help! If you have a few minutes, we’d love if you could leave us a review: https://www.ads-software.com/support/plugin/woocommerce-services/reviews/#new-post.

    Cheers!
    -OP

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.