{"data":{"id":"magento2-39497","source":"github-pr","sourceRef":"magento/magento2#39497","title":"Grouped Product Wishlist Validations are not working","pr":{"number":39497,"url":"https://github.com/magento/magento2/pull/39497","author":"Mohamed-Asar","mergedAt":"2026-07-28T12:06:30Z","mergeCommit":"a25511e48d2efa17b615f9f6ef0513363616d6ed","headCommit":"35984e0a4b6f9b09f026ce3e7246d8cb110d254a","baseRef":"2.4-develop","diffSha256":"6c9b60ab4b26cfb1977aa5c7f804ba6de8cc8467af3c47553ff570f2c9f5c0bd"},"issues":[{"number":39496,"url":"https://github.com/magento/magento2/issues/39496","title":"Grouped Product Wishlist Validations are not working","labels":["Area: Catalog","Component: Catalog","Issue: Confirmed","Priority: P2","Progress: PR Created","Progress: PR in progress","Progress: done","Reported on 2.4.7-p3","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":null,"containingTags":[],"reportedOn":"2.4.7-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":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"clean"},"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","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"],"components":["magento/module-wishlist"],"files":[{"path":"app/code/Magento/Wishlist/view/frontend/web/js/add-to-wishlist.js","change":"modified","package":"magento/module-wishlist"}],"stripped":{"tests":["dev/tests/js/jasmine/tests/app/code/Magento/Wishlist/view/frontend/web/js/add-to-wishlist.test.js"],"docs":[],"outsideCode":[]},"linesChanged":12,"mergeBatched":false,"excluded":null,"sections":{"description":"Adding products to wishlist and displaying price as zero, if negative Qty entered, wishlist displaying negative value in price","stepsToReproduce":"1. Create a Grouped Product and associate it with child products.\n2. Set the following quantity properties for one of the child products:\n   - Minimum Qty Allowed in Shopping Cart: 2\n   - Maximum Qty Allowed in Shopping Cart: 10\n   - Qty Increments: 2\n3. Open grouped product PDP, Don't fill any Qty or fill any invalid inputs like(-1, 3, 11)\n4. Click add to wishlist","expectedResult":"it should validate the inputs like simple product\n\n![image](https://github.com/user-attachments/assets/a6058cfa-7723-41ce-b14c-704ce5bdd345)","actualResult":"Adding products to wishlist and displaying price as zero, if negative Qty entered, wishlist displaying negative value in price\n\n![image](https://github.com/user-attachments/assets/d717c069-5f3e-40ef-85b4-8bedb1750289)","source":"issue"},"signatures":[],"labels":{"area":["Catalog"],"component":["Catalog"],"priority":"P2","severity":null,"reportedOn":["2.4.7-p3"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"371bcadd232d68e10817fe779b3070807ced8f5ca48319e362bebef1ff8fcbfb","isBugfix":0.977,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9454,"feature":0.0213,"refactor":0.0124,"tests_only":0.0118,"docs_only":0.0042,"dependency":0.0049},"confidence":0.8735},"scope":{"score":0.4346,"probabilities":{"0":0.6441,"1":0.2772,"2":0.0787},"confidence":0.2469},"risk":{"score":0.3294,"probabilities":{"0":0.7025,"1":0.2657,"2":0.0318},"confidence":0.3476},"area":{"choice":"frontend","probabilities":{"catalog":0.1091,"checkout":0.0189,"customer":0.0246,"admin":0.0132,"graphql_api":0.0058,"framework":0.0098,"frontend":0.7834,"other":0.0352},"confidence":0.5749},"securityRelevant":0.0089,"reportedVersion":{"choice":"2.4.7-p3","probabilities":{"2.4.0":0.002,"2.4.0-p1":0.0022,"2.4.1":0.0019,"2.4.1-p1":0.0021,"2.4.2":0.002,"2.4.2-p1":0.0022,"2.4.2-p2":0.0024,"2.4.3":0.0025,"2.4.3-p1":0.0027,"2.4.3-p2":0.0033,"2.4.3-p3":0.0031,"2.4.4":0.0023,"2.4.4-p1":0.0024,"2.4.4-p10":0.0032,"2.4.4-p11":0.0035,"2.4.4-p12":0.0031,"2.4.4-p13":0.0034,"2.4.4-p14":0.0029,"2.4.4-p15":0.0029,"2.4.4-p16":0.0031,"2.4.4-p17":0.0032,"2.4.4-p18":0.0026,"2.4.4-p2":0.0022,"2.4.4-p3":0.0023,"2.4.4-p4":0.0021,"2.4.4-p5":0.0025,"2.4.4-p6":0.0035,"2.4.4-p7":0.0029,"2.4.4-p8":0.0028,"2.4.4-p9":0.0026,"2.4.5":0.0026,"2.4.5-p1":0.0024,"2.4.5-p10":0.0027,"2.4.5-p11":0.003,"2.4.5-p12":0.0031,"2.4.5-p13":0.0031,"2.4.5-p14":0.0039,"2.4.5-p15":0.0031,"2.4.5-p16":0.0029,"2.4.5-p17":0.0027,"2.4.5-p2":0.0024,"2.4.5-p3":0.0027,"2.4.5-p4":0.0026,"2.4.5-p5":0.003,"2.4.5-p6":0.0033,"2.4.5-p7":0.0034,"2.4.5-p8":0.0028,"2.4.5-p9":0.0024,"2.4.6":0.0044,"2.4.6-p1":0.0036,"2.4.6-p10":0.0044,"2.4.6-p11":0.005,"2.4.6-p12":0.0054,"2.4.6-p13":0.0047,"2.4.6-p14":0.0047,"2.4.6-p15":0.0038,"2.4.6-p2":0.003,"2.4.6-p3":0.0046,"2.4.6-p4":0.0051,"2.4.6-p5":0.004,"2.4.6-p6":0.0043,"2.4.6-p7":0.0044,"2.4.6-p8":0.0032,"2.4.6-p9":0.0027,"2.4.7":0.057,"2.4.7-p1":0.0032,"2.4.7-p10":0.0037,"2.4.7-p2":0.0063,"2.4.7-p3":0.6256,"2.4.7-p4":0.0215,"2.4.7-p5":0.0086,"2.4.7-p6":0.0116,"2.4.7-p7":0.0077,"2.4.7-p8":0.0067,"2.4.7-p9":0.0049,"2.4.8":0.0063,"2.4.8-p1":0.0063,"2.4.8-p2":0.0061,"2.4.8-p3":0.0071,"2.4.8-p4":0.0057,"2.4.8-p5":0.0045,"2.4.9":0.005,"unspecified":0.0029},"confidence":0.3891},"backportWorthy":{"score":1.5611,"probabilities":{"0":0.0953,"1":0.2483,"2":0.6564},"confidence":0.2524}},"curated":null,"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-39497 details"}