{"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":"2c6d71cf5b92cf07d42589f3546118e622ecc139fce922adc76f3aa2da13029d","isBugfix":0.9702,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9452,"feature":0.0221,"refactor":0.014,"tests_only":0.0065,"docs_only":0.0063,"dependency":0.0059},"confidence":0.873},"scope":{"score":0.7097,"probabilities":{"0":0.389,"1":0.5122,"2":0.0988},"confidence":0.1352},"risk":{"score":0.3882,"probabilities":{"0":0.6355,"1":0.3408,"2":0.0237},"confidence":0.2809},"area":{"choice":"admin","probabilities":{"catalog":0.0177,"checkout":0.0453,"customer":0.0075,"admin":0.8765,"graphql_api":0.0061,"framework":0.0099,"frontend":0.0221,"other":0.0149},"confidence":0.7388},"securityRelevant":0.0059,"reportedVersion":{"choice":"2.4.6-p3","probabilities":{"2.4.0":0.0021,"2.4.0-p1":0.0024,"2.4.1":0.0022,"2.4.1-p1":0.0024,"2.4.2":0.0023,"2.4.2-p1":0.0027,"2.4.2-p2":0.0028,"2.4.3":0.0027,"2.4.3-p1":0.0031,"2.4.3-p2":0.0034,"2.4.3-p3":0.0035,"2.4.4":0.0023,"2.4.4-p1":0.0027,"2.4.4-p10":0.0031,"2.4.4-p11":0.0035,"2.4.4-p12":0.0032,"2.4.4-p13":0.0034,"2.4.4-p14":0.0031,"2.4.4-p15":0.0028,"2.4.4-p16":0.0031,"2.4.4-p17":0.0028,"2.4.4-p18":0.0027,"2.4.4-p2":0.0025,"2.4.4-p3":0.0029,"2.4.4-p4":0.0023,"2.4.4-p5":0.0024,"2.4.4-p6":0.0029,"2.4.4-p7":0.0025,"2.4.4-p8":0.003,"2.4.4-p9":0.0025,"2.4.5":0.0027,"2.4.5-p1":0.0035,"2.4.5-p10":0.0028,"2.4.5-p11":0.0033,"2.4.5-p12":0.0035,"2.4.5-p13":0.0032,"2.4.5-p14":0.003,"2.4.5-p15":0.003,"2.4.5-p16":0.0032,"2.4.5-p17":0.0027,"2.4.5-p2":0.0028,"2.4.5-p3":0.003,"2.4.5-p4":0.0029,"2.4.5-p5":0.0028,"2.4.5-p6":0.004,"2.4.5-p7":0.0029,"2.4.5-p8":0.003,"2.4.5-p9":0.0024,"2.4.6":0.022,"2.4.6-p1":0.0063,"2.4.6-p10":0.0032,"2.4.6-p11":0.003,"2.4.6-p12":0.0029,"2.4.6-p13":0.0037,"2.4.6-p14":0.0027,"2.4.6-p15":0.0026,"2.4.6-p2":0.0053,"2.4.6-p3":0.7107,"2.4.6-p4":0.0065,"2.4.6-p5":0.0063,"2.4.6-p6":0.0066,"2.4.6-p7":0.005,"2.4.6-p8":0.0043,"2.4.6-p9":0.0036,"2.4.7":0.0038,"2.4.7-p1":0.0036,"2.4.7-p10":0.0034,"2.4.7-p2":0.0032,"2.4.7-p3":0.0042,"2.4.7-p4":0.0036,"2.4.7-p5":0.0033,"2.4.7-p6":0.0049,"2.4.7-p7":0.0035,"2.4.7-p8":0.0031,"2.4.7-p9":0.0026,"2.4.8":0.0032,"2.4.8-p1":0.0032,"2.4.8-p2":0.004,"2.4.8-p3":0.0037,"2.4.8-p4":0.0038,"2.4.8-p5":0.0037,"2.4.9":0.0035,"unspecified":0.003},"confidence":0.5005},"backportWorthy":{"score":1.4273,"probabilities":{"0":0.1355,"1":0.3017,"2":0.5628},"confidence":0.1392}},"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"}