{"data":{"id":"magento2-38427","source":"github-pr","sourceRef":"magento/magento2#38427","title":"Tier Price is not being deleted from Configurable Product","pr":{"number":38427,"url":"https://github.com/magento/magento2/pull/38427","author":"zeel1012","mergedAt":"2024-05-16T19:44:51Z","mergeCommit":"02b67fad70f0b24e2d9ae4fe4a52c8411cb413e8","headCommit":"4470413df05c7a64e3ca83b60c6ebffb95ecce53","baseRef":"2.4-develop","diffSha256":"bf635dced71dc80804fdf04bf75a49ee74093533c903724212337aaa08600119"},"issues":[{"number":38390,"url":"https://github.com/magento/magento2/issues/38390","title":"Tier Price is not being deleted from Configurable Product","labels":["Area: Catalog","Component: Pricing","Issue: Confirmed","Priority: P2","Progress: done","Reported on 2.4.6-p2","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-p2","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-configurable-product"],"files":[{"path":"app/code/Magento/ConfigurableProduct/Plugin/Catalog/Model/Product/Attribute/Backend/TierPrice/UpdateHandlerPlugin.php","change":"added","package":"magento/module-configurable-product"},{"path":"app/code/Magento/ConfigurableProduct/etc/di.xml","change":"modified","package":"magento/module-configurable-product"}],"stripped":{"tests":["app/code/Magento/ConfigurableProduct/Test/Unit/Plugin/Catalog/Model/Product/Attribute/Backend/TierPrice/UpdateHandlerPluginTest.php"],"docs":[],"outsideCode":[]},"linesChanged":57,"mergeBatched":false,"excluded":null,"sections":{"description":"The tier price of the configurable product is not deleted when a product is converted from a simple product to a configurable product. It is showing the tier price of a configurable product as a minimum price.","stepsToReproduce":"1. Create a simple product with a tier price.\n2. Edit that simple product and convert it into a configurable product by creating some variants with a price greater than the tier price and make sure that any variant should not have any tier price.\n3. Observe in the database that table `catalog_product_entity_tier_price` still has the entry for the particular product with the tier price.\n4. Visit the particular product on a listing page and product page and observe the price.","expectedResult":"The tier price of the configurable product should also get deleted when a product is converted from a simple product to a configurable product. It should show the minimum price of the variants instead of a tier price of the parent configurable product at the frontend.","actualResult":"The tier price of the configurable product is not deleted when a product is converted from a simple product to a configurable product. It is showing the tier price of a configurable product as a minimum price.","source":"issue"},"signatures":[],"labels":{"area":["Catalog"],"component":["Pricing"],"priority":"P2","severity":null,"reportedOn":["2.4.6-p2"]},"categories":["Catalog/Product","Price/Tax"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"8e37c2629e4ea8b989bfe4d15ee786a27dab61f418510686f329fe4365b40aa4","isBugfix":0.9828,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9586,"feature":0.0106,"refactor":0.0135,"tests_only":0.0093,"docs_only":0.0035,"dependency":0.0045},"confidence":0.9032},"scope":{"score":0.7282,"probabilities":{"0":0.4806,"1":0.3106,"2":0.2088},"confidence":0.0566},"risk":{"score":1.1065,"probabilities":{"0":0.3765,"1":0.1404,"2":0.4831},"confidence":0.0923},"area":{"choice":"catalog","probabilities":{"catalog":0.8531,"checkout":0.0199,"customer":0.007,"admin":0.0424,"graphql_api":0.0062,"framework":0.0371,"frontend":0.0183,"other":0.016},"confidence":0.6937},"securityRelevant":0.007,"reportedVersion":{"choice":"2.4.6-p2","probabilities":{"2.4.0":0.0018,"2.4.0-p1":0.0022,"2.4.1":0.002,"2.4.1-p1":0.0023,"2.4.2":0.0023,"2.4.2-p1":0.0026,"2.4.2-p2":0.0033,"2.4.3":0.0022,"2.4.3-p1":0.0026,"2.4.3-p2":0.0031,"2.4.3-p3":0.0026,"2.4.4":0.0024,"2.4.4-p1":0.0027,"2.4.4-p10":0.0029,"2.4.4-p11":0.0032,"2.4.4-p12":0.0035,"2.4.4-p13":0.0032,"2.4.4-p14":0.0034,"2.4.4-p15":0.003,"2.4.4-p16":0.0032,"2.4.4-p17":0.0032,"2.4.4-p18":0.0028,"2.4.4-p2":0.0027,"2.4.4-p3":0.0021,"2.4.4-p4":0.0022,"2.4.4-p5":0.0027,"2.4.4-p6":0.0032,"2.4.4-p7":0.0027,"2.4.4-p8":0.0035,"2.4.4-p9":0.0028,"2.4.5":0.0034,"2.4.5-p1":0.0032,"2.4.5-p10":0.0025,"2.4.5-p11":0.0031,"2.4.5-p12":0.0042,"2.4.5-p13":0.0031,"2.4.5-p14":0.0043,"2.4.5-p15":0.0029,"2.4.5-p16":0.0028,"2.4.5-p17":0.0028,"2.4.5-p2":0.0029,"2.4.5-p3":0.0024,"2.4.5-p4":0.0028,"2.4.5-p5":0.0031,"2.4.5-p6":0.0038,"2.4.5-p7":0.0031,"2.4.5-p8":0.0033,"2.4.5-p9":0.0023,"2.4.6":0.0203,"2.4.6-p1":0.0142,"2.4.6-p10":0.0028,"2.4.6-p11":0.0031,"2.4.6-p12":0.0038,"2.4.6-p13":0.0034,"2.4.6-p14":0.0031,"2.4.6-p15":0.0029,"2.4.6-p2":0.6824,"2.4.6-p3":0.0102,"2.4.6-p4":0.0065,"2.4.6-p5":0.0067,"2.4.6-p6":0.0093,"2.4.6-p7":0.0056,"2.4.6-p8":0.0051,"2.4.6-p9":0.0039,"2.4.7":0.0041,"2.4.7-p1":0.0039,"2.4.7-p10":0.0037,"2.4.7-p2":0.0037,"2.4.7-p3":0.0042,"2.4.7-p4":0.0046,"2.4.7-p5":0.0038,"2.4.7-p6":0.0051,"2.4.7-p7":0.0036,"2.4.7-p8":0.0036,"2.4.7-p9":0.0026,"2.4.8":0.0034,"2.4.8-p1":0.0041,"2.4.8-p2":0.0048,"2.4.8-p3":0.0049,"2.4.8-p4":0.0059,"2.4.8-p5":0.0043,"2.4.9":0.0045,"unspecified":0.0035},"confidence":0.461},"backportWorthy":{"score":1.5765,"probabilities":{"0":0.0639,"1":0.2957,"2":0.6404},"confidence":0.2525}},"curated":{"title":"The tier price stays after converting a simple product to a configurable product","description":"When a simple product with a tier price is converted into a configurable product, the tier price remains in catalog_product_entity_tier_price and is the minimum price on the listing page and product page. A new ConfigurableProduct UpdateHandlerPlugin on the tier price UpdateHandler sets tier_price to an empty array when the product is configurable and has tier price orig data.","categories":["Catalog/Product","Price/Tax"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.7-p10":{"before":"not-runnable","after":"pass","adapted":false,"runAt":"2026-10-06T09:29:16.965Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"unit":{"before":"not-runnable","after":"pass","runAt":"2026-10-06T09:29:16.965Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38427 details"}