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.
→ 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
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?
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.