{"data":{"id":"magento2-38510","source":"github-pr","sourceRef":"magento/magento2#38510","title":"Check if OpenGraph can show price","pr":{"number":38510,"url":"https://github.com/magento/magento2/pull/38510","author":"barryvdh","mergedAt":"2025-06-26T11:02:15Z","mergeCommit":"37aee962ab8d5f1e5d9d1e8329e837006f46d30f","headCommit":"60c086412652d7afd04a1472f35221fdd017a26b","baseRef":"2.4-develop","diffSha256":"424f4326dbbfa428403145b3a7d17554a44925697e6b6564d20b7b2279db3dc9"},"issues":[{"number":38512,"url":"https://github.com/magento/magento2/issues/38512","title":"[Issue] Check if OpenGraph can show price","labels":["Area: Catalog","Component: View","Issue: Confirmed","Issue: ready for confirmation","Priority: P2","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"pr-derived"}],"fixedIn":"2.4.9","containingTags":["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":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","2.4.7-p4":"conflict","2.4.7-p5":"conflict","2.4.7-p6":"conflict","2.4.7-p7":"conflict","2.4.7-p8":"conflict","2.4.7-p9":"conflict","2.4.7-p10":"conflict","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":[],"components":["magento/module-catalog"],"files":[{"path":"app/code/Magento/Catalog/view/frontend/templates/product/view/opengraph/general.phtml","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":17,"mergeBatched":false,"excluded":null,"sections":{"description":"This checks if the price can be shown","stepsToReproduce":"- Create a plugin which hides the price, or use https://github.com/karliuka/m2.ProductAvailable\n- Check that the price is hidden\n- Check that without this change, the price is still visible in the OG tag.","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Catalog"],"component":["View"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"8fda5e49fe3b18086fcd83d04088b50923e0cd0e550ec487ee85a74b6b96c354","isBugfix":0.8541,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9218,"feature":0.0377,"refactor":0.016,"tests_only":0.0034,"docs_only":0.0035,"dependency":0.0036,"cleanup":0.014},"confidence":0.8269},"scope":{"score":0.6792,"probabilities":{"0":0.4136,"1":0.4935,"2":0.0929},"confidence":0.1349},"risk":{"score":0.4538,"probabilities":{"0":0.5909,"1":0.3645,"2":0.0446},"confidence":0.226},"area":{"choice":"frontend","probabilities":{"catalog":0.3405,"checkout":0.0058,"customer":0.0038,"admin":0.0052,"graphql_api":0.0039,"framework":0.0067,"frontend":0.6268,"other":0.0073},"confidence":0.4389},"securityRelevant":0.0108,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0041,"2.4.0-p1":0.0043,"2.4.1":0.0044,"2.4.1-p1":0.0046,"2.4.2":0.0062,"2.4.2-p1":0.006,"2.4.2-p2":0.0071,"2.4.3":0.0106,"2.4.3-p1":0.0106,"2.4.3-p2":0.0137,"2.4.3-p3":0.0079,"2.4.4":0.0156,"2.4.4-p1":0.0103,"2.4.4-p10":0.007,"2.4.4-p11":0.0085,"2.4.4-p12":0.0071,"2.4.4-p13":0.0073,"2.4.4-p14":0.0084,"2.4.4-p15":0.0062,"2.4.4-p16":0.0068,"2.4.4-p17":0.0061,"2.4.4-p18":0.0055,"2.4.4-p2":0.0028,"2.4.4-p3":0.0034,"2.4.4-p4":0.0038,"2.4.4-p5":0.0038,"2.4.4-p6":0.0047,"2.4.4-p7":0.0046,"2.4.4-p8":0.0053,"2.4.4-p9":0.0044,"2.4.5":0.0172,"2.4.5-p1":0.0122,"2.4.5-p10":0.0078,"2.4.5-p11":0.0112,"2.4.5-p12":0.0099,"2.4.5-p13":0.0093,"2.4.5-p14":0.0088,"2.4.5-p15":0.0077,"2.4.5-p16":0.0077,"2.4.5-p17":0.0071,"2.4.5-p2":0.004,"2.4.5-p3":0.0055,"2.4.5-p4":0.0056,"2.4.5-p5":0.0045,"2.4.5-p6":0.0064,"2.4.5-p7":0.0063,"2.4.5-p8":0.0049,"2.4.5-p9":0.0054,"2.4.6":0.0312,"2.4.6-p1":0.0167,"2.4.6-p10":0.0088,"2.4.6-p11":0.0117,"2.4.6-p12":0.0141,"2.4.6-p13":0.0105,"2.4.6-p14":0.0105,"2.4.6-p15":0.0087,"2.4.6-p2":0.0047,"2.4.6-p3":0.0075,"2.4.6-p4":0.0099,"2.4.6-p5":0.0076,"2.4.6-p6":0.0078,"2.4.6-p7":0.0084,"2.4.6-p8":0.0069,"2.4.6-p9":0.0061,"2.4.7":0.0161,"2.4.7-p1":0.0138,"2.4.7-p10":0.0084,"2.4.7-p2":0.0076,"2.4.7-p3":0.0117,"2.4.7-p4":0.016,"2.4.7-p5":0.0121,"2.4.7-p6":0.0137,"2.4.7-p7":0.0132,"2.4.7-p8":0.0104,"2.4.7-p9":0.0087,"2.4.8":0.0224,"2.4.8-p1":0.0174,"2.4.8-p2":0.0185,"2.4.8-p3":0.0179,"2.4.8-p4":0.0149,"2.4.8-p5":0.0144,"2.4.9":0.0162,"unspecified":0.2329},"confidence":0.052},"backportWorthy":{"score":1.408,"probabilities":{"0":0.15,"1":0.2919,"2":0.5581},"confidence":0.1287}},"curated":{"title":"Fixes the OpenGraph price tag appearing when the product price is hidden","description":"When a plugin hides the product price, the price is still visible in the OG tag on the product page. The opengraph general.phtml now shows the product:price:amount meta tag only when getCanShowPrice() on the product is not false.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38510 details"}