Skip to content

Currency Price issue for Bundle Product with ElasticSearch 6.8.x in Multi Store views #26371

Open
@sandip5678

Description

@sandip5678

Preconditions (*)

  1. Magento 2.3.3 CE & 2.4-develop
  2. ElasticSearch Version 6.8.x

Steps to reproduce (*)

  1. Create two storeviews under the same website and same store.

  2. Set different Default Display Currency for each Store View
    i.e. (For English storeview set US Dollar and For UAE storeview set United Arab Emirates Dirham)

  3. Set Allowed Currencies as follows by switching to separate storeview
    i.e. (For English storeview set US Dollar and For UAE storeview set United Arab Emirates Dirham)

  4. Set the Currency Rates USD -> AED = 3.67 (Approx.)

  5. Create a Bundle Product with Fixed Price Model or Dynamic Price Model and Save it
    I have created bundle product with fixed price model and give SKU - pastel and price $123

  6. Perform the reindex php bin/magento indexer:reindex

  7. Open the frontend site and switched to UAE storeview

  8. From UAE Storeview, Open previously saved bundle product page.
    Pricing will be shown in the AED format

  9. Now, Open Bundle Product on the ElasticSearch indexes.

Expected result (*)

  1. For English StoreView, price fields values from price_0_1 to price_3_1 are showing in the US dollar currency.
    http://127.0.0.1:9200/magento2_product_1_v19/_search?q=pastel&pretty=true

  2. AED StoreView, price fields values from price_0_1 to price_3_1 should show in the AED currency instead of US Dollar. It should show price 451.41.
    http://127.0.0.1:9200/magento2_product_2_v19/_search?q=pastel&pretty=true

AED_StoreView

Actual result (*)

  1. For English Store view, price fields values from price_0_1 to price_3_1 are showing in the US dollar currency.
  2. For AED Store view, price fields values from price_0_1 to price_3_1 showing in the US dollar currency only.

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