fix(fulfillment) Variants changed from managed inventory to unmanaged are now fulfillable (#14056)

* (fix) Variants changed from managed inventory to unmanaged are now fulfillable

* Changeset

* Update dull-donkeys-ring.md
This commit is contained in:
Nathan John
2025-11-19 16:01:36 +00:00
committed by GitHub
parent 3a1ed74839
commit 929607f692
2 changed files with 7 additions and 2 deletions

View File

@@ -168,8 +168,8 @@ function prepareRegisterDeliveryData({
const iitem = iitems.find(
(i) => i.inventory.id === fitem.inventory_item_id
)
quantity = MathBN.div(quantity, iitem!.required_quantity)
if(iitem)
quantity = MathBN.div(quantity, iitem.required_quantity)
}
return {