Description
Preconditions (*)
- Magento 2.3.3 CE & 2.4-develop
- ElasticSearch Version 6.8.x
Steps to reproduce (*)
-
Create two storeviews under the same website and same store.
-
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) -
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) -
Set the Currency Rates USD -> AED = 3.67 (Approx.)
-
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 -
Perform the reindex
php bin/magento indexer:reindex
-
Open the frontend site and switched to UAE storeview
-
From UAE Storeview, Open previously saved bundle product page.
Pricing will be shown in the AED format -
Now, Open Bundle Product on the ElasticSearch indexes.
Expected result (*)
-
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 -
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
Actual result (*)
- For English Store view, price fields values from
price_0_1 to price_3_1
are showing in the US dollar currency. - For AED Store view, price fields values from
price_0_1 to price_3_1
showing in the US dollar currency only.