Skip to content

Currency conversion not happening on email confirmations for bundle products. #33426

Closed
@lexiconnect

Description

@lexiconnect

Preconditions (*)
Magento 2.4.2
Steps to reproduce (*)
Set up currencies (ie, GBP and EUR)
Create a bundle product
Place an order for that product in anything other than the default currency

Expected result (*)
Price for the line item on the email confirmation should be converted to the correct currency.

Actual result (*)
Default price is shown, but with the correct currency symbol.

We have discovered an issue where by we sell in both GBP and EUR on different store views. The prices are based on the GBP as default, and then converted via the standard Magento currency rates.

When a bundle is purchased on the EUR store views, the correct amounts are charged to the customer, but the email confirmation has the default price rather than the converted price for each order item. I have tried to change $block->getItemPrice($_item) to $_order->formatPrice($item->getItemPrice($_item)) within module-bundle/view/frontend/templates/email/order/items/order/default.phtml but this does not appear to fix the issue.

For more details about the issue and configuration, please check this link

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CurrencySymbolComponent: EmailIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions