Closed

Description
Preconditions (*)
- v2.3.4
Steps to reproduce (*)
- Create a catalog price rule (e.g. 20% off of gear)
- Add an applicable item to cart
- Do a graphql query
query {
cart(cart_id: "...") {
items {
prices {
discounts {
amount {
value
}
label
}
price {
value
}
row_total {
value
}
row_total_including_tax {
value
}
total_item_discount {
value
}
}
}
}
}
Expected result (*)
- Receive price values that include catalog price discount
Actual result (*)
- Receive price values that don't include discount
Additional info from engcom
We have created a product with a price of 100 and applied a discount of 20%
From the Storefront, the added products price is 80 + 5 shipping, correct 👍
The cart query displays the wrong ❌ price: 100
discount: null
{
"data": {
"cart": {
"items": [
{
"prices": {
"discounts": null, #<-----
"price": {
"value": 100 #<-----
},
"row_total": {
"value": 100
},
"row_total_including_tax": {
"value": 100
},
"total_item_discount": {
"value": 0
}
}
}
]
}
}
}
Metadata
Metadata
Assignees
Labels
GraphQLThe issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branch