Skip to content

Incorrect base currency used when configured at store view scope #40632

@kostyakltl

Description

@kostyakltl

Preconditions and environment

Magento version: 2.4.7
PHP version: 8.2.28
Deployment mode: developer & production
Multi-store setup with different base currencies per scope:
Store level base currency: USD
Store View level base currency: EUR

Steps to reproduce

Configure base currency at different scopes:
Set Store level base currency to USD
Set Store View level base currency to EUR
Open Admin Panel → Catalog → Products
Edit any product under the affected store view
Observe the currency used in price fields

Additionally, check via code:

$store->getBaseCurrencyCode();

Expected result

Product edit page should display prices in store view base currency (EUR)
$store->getBaseCurrencyCode() should return EUR when scoped to the store view
Backend behavior should match frontend (PDP), where correct currency is shown

Actual result

Product edit page displays store-level currency (USD) instead of store view currency
$store->getBaseCurrencyCode() returns USD, ignoring store view configuration
Frontend (PDP) correctly uses EUR, leading to inconsistency

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CatalogComponent: CurrencySymbolIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.7Indicates 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

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions