-
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
Wrong row subtotal on invoice emails #38213
Comments
Hi @fmarangi. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @fmarangi. Thank you for your request. I'm working on Magento instance for you. |
Hi @fmarangi, here is your Magento Instance: https://2556e702fd5c7232f2ec813e554938b9.instances-prod.magento-community.engineering |
Hi @fmarangi, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. Steps to reproduce
The subtotal in the invoice email is only $34. Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible. Thanks. |
Hi @fmarangi, Kindly provide latest update on this comment #38213 (comment) still you are working on this issue if you are able to reproduce the issue please elaborate the steps to reproduce.Please let us know still if you are facing any issue. Thanks. |
@magento give me 2.4-develop instance |
Hi @fmarangi, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento give me 2.4-develop instance |
Hi @fmarangi. Thank you for your request. I'm working on Magento instance for you. |
Hi @fmarangi, here is your Magento Instance: https://2556e702fd5c7232f2ec813e554938b9.instances-prod.magento-community.engineering |
Hi @fmarangi, We have noticed that this issue has not been updated since long time. Hence we assume that this issue is fixed now, so we are closing it. Please feel to raise a fresh ticket or reopen this ticket if you need more assistance on this. Thanks |
Preconditions and environment
Steps to reproduce
Expected result
The row subtotal in the invoice email is $ 34.00
Actual result
The row subtotal in the invoice email is $ 68.00
Additional information
For some reason, the invoice item renderer uses
$block->getItemPrice($_item->getOrderItem())
instead of$block->getItemPrice($_item)
(compare https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Sales/view/frontend/templates/email/items/invoice/default.phtml with all other item renderer, ie order, credit memo, etc.)Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: