{"data":{"id":"magento2-31231","source":"github-pr","sourceRef":"magento/magento2#31231","title":"Inconsistent labels for attributes in marketing rules","pr":{"number":31231,"url":"https://github.com/magento/magento2/pull/31231","author":"DmitryFurs","mergedAt":"2025-03-05T08:48:55Z","mergeCommit":"c6d874311aa5c5c4e1156eb33a36da7423ffc3db","headCommit":"afa0d8a6e5e76de0ca12fc6d77b2f5bf096729a5","baseRef":"2.4-develop","diffSha256":"e7f0a9a6f6fa51fe25242dad551729724d5e089c74257bf37a049133b9b95d0a"},"issues":[{"number":31232,"url":"https://github.com/magento/magento2/issues/31232","title":"[Issue] Inconsistent labels for attributes in marketing rules","labels":["Area: Admin UI","Component: SalesRule","Issue: Confirmed","Priority: P4","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Severity: S4","stale issue"],"kind":"pr-derived"}],"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":null,"codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","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":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","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-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-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-rule"],"files":[{"path":"app/code/Magento/SalesRule/Model/Rule/Condition/Product.php","change":"modified","package":"magento/module-sales-rule"},{"path":"app/code/Magento/SalesRule/i18n/en_US.csv","change":"modified","package":"magento/module-sales-rule"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":14,"mergeBatched":false,"excluded":null,"sections":{"description":"In task MAGETWO-94407, functionality was added for correct operation of marketing rules with configurable products. But additional labels for attributes are inconsistent. Some of them do not contain spaces, and some have a different style of writing words, some uppercase, and some uppercase letters.","stepsToReproduce":"1. Create **Cart Price Rule** or **Catalog Price Rule** rule\n2. Add **Product attribute combination** section\n3. Сheck the category and attribute options\n\n![image](https://user-images.githubusercontent.com/1055999/101656853-3cffe800-3a54-11eb-88af-8069577b3910.png)","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Admin UI"],"component":["SalesRule"],"priority":"P4","severity":"S4","reportedOn":["2.4.x"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"8911e0921329d443894a8ff00086f55930a3b8792e665b865a9b5d7aceeb445c","isBugfix":0.8895,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9241,"feature":0.0084,"refactor":0.0488,"tests_only":0.0047,"docs_only":0.0099,"dependency":0.0041},"confidence":0.8278},"scope":{"score":0.5317,"probabilities":{"0":0.5066,"1":0.4551,"2":0.0383},"confidence":0.1978},"risk":{"score":0.1873,"probabilities":{"0":0.8604,"1":0.0918,"2":0.0478},"confidence":0.6266},"area":{"choice":"admin","probabilities":{"catalog":0.0822,"checkout":0.0335,"customer":0.0087,"admin":0.7839,"graphql_api":0.0076,"framework":0.0155,"frontend":0.0178,"other":0.0508},"confidence":0.5721},"securityRelevant":0.0047,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0066,"2.4.0-p1":0.0073,"2.4.1":0.0097,"2.4.1-p1":0.0101,"2.4.2":0.0172,"2.4.2-p1":0.0241,"2.4.2-p2":0.0252,"2.4.3":0.0393,"2.4.3-p1":0.0355,"2.4.3-p2":0.0285,"2.4.3-p3":0.0132,"2.4.4":0.0387,"2.4.4-p1":0.0379,"2.4.4-p10":0.0086,"2.4.4-p11":0.0128,"2.4.4-p12":0.0091,"2.4.4-p13":0.0081,"2.4.4-p14":0.0097,"2.4.4-p15":0.0073,"2.4.4-p16":0.0086,"2.4.4-p17":0.0067,"2.4.4-p18":0.0057,"2.4.4-p2":0.0048,"2.4.4-p3":0.0068,"2.4.4-p4":0.008,"2.4.4-p5":0.007,"2.4.4-p6":0.008,"2.4.4-p7":0.007,"2.4.4-p8":0.0082,"2.4.4-p9":0.0059,"2.4.5":0.0159,"2.4.5-p1":0.0127,"2.4.5-p10":0.0055,"2.4.5-p11":0.0086,"2.4.5-p12":0.0075,"2.4.5-p13":0.006,"2.4.5-p14":0.0068,"2.4.5-p15":0.0057,"2.4.5-p16":0.0059,"2.4.5-p17":0.0059,"2.4.5-p2":0.0041,"2.4.5-p3":0.0068,"2.4.5-p4":0.0081,"2.4.5-p5":0.0072,"2.4.5-p6":0.0063,"2.4.5-p7":0.0063,"2.4.5-p8":0.0053,"2.4.5-p9":0.004,"2.4.6":0.0198,"2.4.6-p1":0.0161,"2.4.6-p10":0.0065,"2.4.6-p11":0.008,"2.4.6-p12":0.0091,"2.4.6-p13":0.0081,"2.4.6-p14":0.007,"2.4.6-p15":0.0057,"2.4.6-p2":0.0042,"2.4.6-p3":0.0058,"2.4.6-p4":0.0083,"2.4.6-p5":0.0061,"2.4.6-p6":0.0063,"2.4.6-p7":0.0065,"2.4.6-p8":0.0051,"2.4.6-p9":0.0034,"2.4.7":0.0055,"2.4.7-p1":0.0054,"2.4.7-p10":0.0043,"2.4.7-p2":0.0048,"2.4.7-p3":0.008,"2.4.7-p4":0.0096,"2.4.7-p5":0.0076,"2.4.7-p6":0.008,"2.4.7-p7":0.0065,"2.4.7-p8":0.0053,"2.4.7-p9":0.0031,"2.4.8":0.0059,"2.4.8-p1":0.0062,"2.4.8-p2":0.0067,"2.4.8-p3":0.0071,"2.4.8-p4":0.0074,"2.4.8-p5":0.0085,"2.4.9":0.0068,"unspecified":0.2031},"confidence":0.0425},"backportWorthy":{"score":0.5948,"probabilities":{"0":0.575,"1":0.2552,"2":0.1698},"confidence":0.1369}},"curated":{"title":"Fixes inconsistent Parent Only and Children Only labels in cart price rules","description":"Additional labels for attributes in marketing rules are inconsistent: some do not contain spaces, and some have a different style of writing words. The change fixes these labels in SalesRule Model Rule Condition Product.php and adds them to SalesRule en_US.csv.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-31231 details"}