-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PROMO code apply on the shipping showing null in graphql responce #35545
Comments
Hi @Abhay-Agrawal. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-November. Thank you for working on this issue.
|
✅ Jira issue https://jira.corp.magento.com/browse/AC-3182 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
It is same #31270 |
@magento give me 2.4-develop instance |
Hi @artskirk. Thank you for your request. I'm working on Magento instance for you. |
@magento I am working on this |
Hi @artskirk, here is your Magento Instance: https://2bf5c86cb5618be4bbdc1d648e595617.instances.magento-community.engineering |
… already calculated discounts instead
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
![Screenshot (1)](https://user-images.githubusercontent.com/55655451/170628184-0dc76802-30e0-4646-9420-8f6785360dfe.png)
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
The text was updated successfully, but these errors were encountered: