Weight based shipping rates issue with draft orders orders

A merchant that’s using our app recently encountered an inconsistent bug that affects weight based shipping rates in generated draft orders. I’m hoping that the Shopify team or someone here is able to shed some light on this topic.

Basically, weight based shipping rules aren’t being applied according to the total weight that is specified in the generated order. This happens only in some cases that we can’t unfortunately pack into a reproducible scenario.

Here are some details straight from the shop:

Shipping rules are based on weight

→ As you can see in the screenshot the shipping rate for 1lb-2lb is $9.95 and for 2lb-4lb is $11.95.

Image A - expected behavior - generated draft order with the same line items, shipping is calculated as expected ($11.95) - Total weight is 36 oz so it fits within the 2lb-4lb rate

Image B - buggy behavior - generated draft order with the same line items, shipping is not calculated as expected ($9.95 instead of $11.95) - Total weight is 48 oz, the 1lb-2lb rate is applied

To Shopify team members: would love to share the order id so you could debug the order payload on your end.

Much thanks :folded_hands:

Hey @Conversion_Bear ,

Could you provide an x-request-id (found in the response header) of when you’re on the buggy order page, so I can investigate this further.

Thanks,
Seth.

Thanks @syf_1 !

x-request-id: f69a04fe-8f65-4847-b9ab-1ae1b74a4b5a

Let me know if you need anything else

Thanks for the request-id @Conversion_Bear .

I’ve taken a look at this and it looks like the 2 order items are being confused as being the same. That being said, is it possible to provide me with replication steps so I can test this behaviour out on my test store?

Looking forward to hearing back from you.

Thanks,
Seth.

Preliminaries:

  1. In your test store create product X - set the product weight to be 12oz.

  2. In your store shipping settings, create the following shipping rates:

  3. Install Honeycomb

  4. Create a cart page funnel that cross sells Product X with a discount of 20% and has a show to all trigger

Customer Scenario:

  1. As a customer visit the store and add product X to cart, increase the quantity to 2

  2. Proceed to checkout from the cart page

  3. View the upsell funnel and add 2 additional product X items to cart

  4. proceed to checkout

Actual result: shipping rate is miscalculated.

Please let me know if any further details are needed.

@syf_1 following up on my last message to see if you have a lead here. Please let me know if you need any further information.

Hi @Conversion_Bear ,

Sorry I didn’t get back earlier. I was able to reproduce the bug by following the steps you provided. Our dev team are looking into it and conducting their investigation. I don’t have an ETA as things stand now, but I’d let you know immediately an update is available.

Thanks,
Seth.

Hi Seth,

I appreciate you looking into it.

Is there any progress regarding this issue?

@Conversion_Bear ,

There hasn’t been any updates on this issue yet. I’d give the dev team a nudge to see if there are any updates to be communicated.

Thanks,
Seth.

Hi @syf_1 ,

Tom here from Digismoothie. Could you please check in on this? We are having a few merchants with exactly the same issue as described above.

Thanks!