-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
As a ___ I want to ___ so that ___.
Steps to reproduce:
-
Navigate to Marketing Menu-> Promotions -> Cart Price Rule
-
Add the New Rule
-
Add the One Rule and apply it on shipping Amount. Plz check the attached screenshot to add shipping rule
-
apply the same PROMO code on the shipping amount
-
check the graphql response
-
showing discounts null
"discounts": null,
"discount": {
"label": [
"FreeShip"
],
"amount": {
"value": -15
}
},
or
Run cart graphql query:
{
cart(cart_id: "croja3eQTvZe2OI26BoMyN94N9B2z3Fd") {
email
items {
uid
prices {
total_item_discount {
value
}
price {
value
}
discounts {
label
amount {
value
}
}
}
product {
name
sku
}
quantity
}
applied_coupons {
code
}
prices {
discounts {
amount {
value
}
label
}
grand_total {
value
}
}
}
}
Expected result:
All Graphql requests having discount field should return correct discount value in response
Additional Information:
Please refer the comment
Metadata
Metadata
Assignees
Labels
Type
Projects
Status