{"data":{"id":"magento2-38320","source":"github-pr","sourceRef":"magento/magento2#38320","title":"Backend order overview screen: Backordered quantity not visible on order item level","pr":{"number":38320,"url":"https://github.com/magento/magento2/pull/38320","author":"dverkade","mergedAt":"2024-07-04T16:37:35Z","mergeCommit":"52229c08973c7bb2f1063dc4660e6459654e194b","headCommit":"a68f23a4d491fcdf963ae08066d7d14cfce971a5","baseRef":"2.4-develop","diffSha256":"f8c08b96e1463a524ed492f6416e5be5651289355add03c46cb86ed430a04e87"},"issues":[{"number":38252,"url":"https://github.com/magento/magento2/issues/38252","title":"Backend order overview screen: Backordered quantity not visible on order item level","labels":["Area: Order","Component: order status","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.6-p3","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":"2.4.6-p3","codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/module-sales"],"files":[{"path":"app/code/Magento/Sales/view/adminhtml/templates/items/column/qty.phtml","change":"modified","package":"magento/module-sales"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":28,"mergeBatched":false,"excluded":null,"sections":{"description":"The quantity column shows that the number of items that is ordered, invoiced & shipped, but doesn't show the number of backordered items","stepsToReproduce":"- Have a product which allows backorders\n- Create an order with a product that allows backorders and make sure there's no current inventory for that item\n- When the order has an invoice the item status is \"invoiced\" and doesn't show that the order has been backordered\n- The quantity column shows that the number of items that is ordered, invoiced & shipped, but doesn't show the number of backordered items","expectedResult":"Show the number of items that are in backorder based on the data in the sales_order_item table.","actualResult":"The quantity column shows that the number of items that is ordered, invoiced & shipped, but doesn't show the number of backordered items\n\n![image](https://github.com/magento/magento2/assets/1058480/f9eddd41-7fc9-47ec-94fa-5a6a640611db)","source":"issue"},"signatures":[],"labels":{"area":["Order"],"component":["order status"],"priority":"P2","severity":null,"reportedOn":["2.4.6-p3"]},"categories":["Order/Checkout"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"4201646f931f8a40ac382ac19f4770263077c2bea19f393f4549b59bdbc65eed","isBugfix":0.9676,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9343,"feature":0.0234,"refactor":0.0137,"tests_only":0.0063,"docs_only":0.0058,"dependency":0.0055,"cleanup":0.011},"confidence":0.8528},"scope":{"score":0.7413,"probabilities":{"0":0.3735,"1":0.5117,"2":0.1148},"confidence":0.1217},"risk":{"score":0.393,"probabilities":{"0":0.6326,"1":0.3418,"2":0.0256},"confidence":0.2765},"area":{"choice":"admin","probabilities":{"catalog":0.0193,"checkout":0.0516,"customer":0.0076,"admin":0.8686,"graphql_api":0.0064,"framework":0.0101,"frontend":0.0221,"other":0.0143},"confidence":0.724},"securityRelevant":0.006,"reportedVersion":{"choice":"2.4.6-p3","probabilities":{"2.4.0":0.0021,"2.4.0-p1":0.0024,"2.4.1":0.0021,"2.4.1-p1":0.0024,"2.4.2":0.0022,"2.4.2-p1":0.0025,"2.4.2-p2":0.0026,"2.4.3":0.0026,"2.4.3-p1":0.003,"2.4.3-p2":0.0032,"2.4.3-p3":0.0035,"2.4.4":0.0022,"2.4.4-p1":0.0027,"2.4.4-p10":0.003,"2.4.4-p11":0.0033,"2.4.4-p12":0.0031,"2.4.4-p13":0.0033,"2.4.4-p14":0.0031,"2.4.4-p15":0.003,"2.4.4-p16":0.0032,"2.4.4-p17":0.0028,"2.4.4-p18":0.0027,"2.4.4-p2":0.0024,"2.4.4-p3":0.0029,"2.4.4-p4":0.0023,"2.4.4-p5":0.0025,"2.4.4-p6":0.003,"2.4.4-p7":0.0026,"2.4.4-p8":0.0028,"2.4.4-p9":0.0026,"2.4.5":0.0027,"2.4.5-p1":0.0036,"2.4.5-p10":0.0029,"2.4.5-p11":0.0036,"2.4.5-p12":0.0047,"2.4.5-p13":0.0034,"2.4.5-p14":0.0031,"2.4.5-p15":0.003,"2.4.5-p16":0.0032,"2.4.5-p17":0.0028,"2.4.5-p2":0.0028,"2.4.5-p3":0.0031,"2.4.5-p4":0.0028,"2.4.5-p5":0.0029,"2.4.5-p6":0.0038,"2.4.5-p7":0.0029,"2.4.5-p8":0.0031,"2.4.5-p9":0.0023,"2.4.6":0.0182,"2.4.6-p1":0.0061,"2.4.6-p10":0.0032,"2.4.6-p11":0.003,"2.4.6-p12":0.0028,"2.4.6-p13":0.0035,"2.4.6-p14":0.0025,"2.4.6-p15":0.0027,"2.4.6-p2":0.0051,"2.4.6-p3":0.7088,"2.4.6-p4":0.0071,"2.4.6-p5":0.0063,"2.4.6-p6":0.0077,"2.4.6-p7":0.0051,"2.4.6-p8":0.0043,"2.4.6-p9":0.0039,"2.4.7":0.0038,"2.4.7-p1":0.0036,"2.4.7-p10":0.0036,"2.4.7-p2":0.0033,"2.4.7-p3":0.0044,"2.4.7-p4":0.0044,"2.4.7-p5":0.0038,"2.4.7-p6":0.005,"2.4.7-p7":0.0032,"2.4.7-p8":0.0029,"2.4.7-p9":0.0026,"2.4.8":0.0034,"2.4.8-p1":0.0035,"2.4.8-p2":0.0037,"2.4.8-p3":0.0042,"2.4.8-p4":0.0045,"2.4.8-p5":0.0041,"2.4.9":0.0038,"unspecified":0.0031},"confidence":0.4977},"backportWorthy":{"score":1.4098,"probabilities":{"0":0.1455,"1":0.2992,"2":0.5553},"confidence":0.1286}},"curated":{"title":"The order overview does not show the backordered quantity of an order item","description":"In the backend order overview, the quantity column shows ordered, invoiced and shipped items but not the number of backordered items. The Sales qty.phtml column template now adds a Backordered row for every order item with a backordered quantity.","categories":["Order/Checkout"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38320 details"}