Skip to content

Wrong price upon selecting product options after switching currency #7371

Closed
@eldonbite

Description

@eldonbite

Encountered an issue when selecting product options using the swatches in product details page wherein the price of the item in a previously selected currency gets displayed instead of the corresponding price in the currently selected currency. Disabling Block HTML cache type seems to prevent this issue from happening.

Preconditions

  1. Magento 2.1.x
  2. Store supports multiple currencies
  3. All cache types are enabled

Steps to reproduce

  1. Select a currency (e.g., GBP) then view a product's details:
    image
  2. Select product options in the current product details page :
    image
  3. Switch to a different currency (e.g., JPY):
    image
  4. Select a product variant; the price reverts back to the previous currency's value but with the current currency's symbol:
    image

Expected result

Correct equivalent price in the current currency should be displayed

Actual result

The price in the previously selected currency gets displayed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions