-
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
Graphql price tiers returning data from previous item in foreach #32279
Comments
Hi @treestonemedia. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 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, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@Usik2203 can you please take a look at this? |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hello @treestonemedia Thank you for your report. We have reproduced the reported issue on the latest 2.4-develop. {
"data": {
"products": {
"items": [
{
"id": 43,
"price_tiers": []
},
{
"id": 2047,
"price_tiers": []
},
{
"id": 12,
"price_tiers": []
},
{
"id": 13,
"price_tiers": []
},
{
"id": 7,
"price_tiers": []
},
{
"id": 4,
"price_tiers": []
},
{
"id": 42,
"price_tiers": []
},
{
"id": 2,
"price_tiers": []
},
{
"id": 19,
"price_tiers": []
},
{
"id": 40,
"price_tiers": []
},
{
"id": 18,
"price_tiers": []
},
{
"id": 20,
"price_tiers": []
},
{
"id": 24,
"price_tiers": []
},
{
"id": 23,
"price_tiers": []
},
{
"id": 44,
"price_tiers": []
},
{
"id": 17,
"price_tiers": []
},
{
"id": 14,
"price_tiers": []
},
{
"id": 9,
"price_tiers": []
},
{
"id": 16,
"price_tiers": []
},
{
"id": 37,
"price_tiers": []
}
]
}
}
} After adding tier price to products 24-MB01 and 24-MB04 {
"data": {
"products": {
"items": [
{
"id": 43,
"price_tiers": []
},
{
"id": 2047,
"price_tiers": []
},
{
"id": 12,
"price_tiers": []
},
{
"id": 13,
"price_tiers": []
},
{
"id": 7,
"price_tiers": []
},
{
"id": 4,
"price_tiers": []
},
{
"id": 42,
"price_tiers": []
},
{
"id": 19,
"price_tiers": []
},
{
"id": 40,
"price_tiers": []
},
{
"id": 2,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 18,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 20,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 24,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 23,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 44,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 17,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 14,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 9,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 16,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
},
{
"id": 37,
"price_tiers": [
{
"quantity": 2,
"final_price": {
"value": 10
}
}
]
}
]
}
}
} |
✅ Confirmed by @engcom-Bravo Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
@magento I am working on this |
@magento give me 2.4.2 instance |
Hi @SirCoolness. Thank you for your request. I'm working on Magento instance for you. |
Hi @SirCoolness, here is your Magento Instance: https://94028dee356da859c035aa0995f5f019-2-4-2.instances.magento-community.engineering |
Hi @treestonemedia. Thank you for your report.
The fix will be available with the upcoming 2.4.3 release. |
Preconditions
Steps to reproduce (*)
cc: @Usik2203
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: