I'm Trying To change Subtotal For The item In Credit Memo Email

enter image description here

Product Price:- 4.99

I am creating a credit memo for 10 product but Subtotal is a mismatch

The grand total is correct.

how can I change subtotal?

有帮助吗?

解决方案

I Don't Know Its Magento Functionality Or Issue But Found The Solution :-

Just Copy This File In Theme

vendor/magento/module-sales/view/frontend/templates/email/items/creditmemo/default.phtml

In Line No. 34

In This Line Print Item Ordered Total

From :-

$block->getItemPrice($_item->getOrderItem())

To :-

$block->getItemPrice($_item)
许可以下: CC-BY-SA归因
scroll top