Closed
Description
When we set multi currency custom option with percentage price type, the price calculation is wrong.
Preconditions (*)
- Magento V2.3.0 with sample data
- PHP 7.1
Steps to reproduce (*)
Set multi currency in Magento from Stores > Configuration > General > Currency setup (I have set indian Rupee)
- Set Currency Rates in Magento from Stores > Currency Rates ( Ist -> 70.09, Usd -> 1)
- Goto Catalog > Product and edit any Simple product.
- Set custom option typed ‘dropdown’ and add options with Price type ‘percentage’.
- Go to Front end product details page in which you have created custom options.
- Change currency from Currency drop down.
- Now option price is changed with wrong value.
- It is converted twice time from previous currency.
Expected result (*)
Product Price= 34$ => 2383.06 RS.
Custom option price: 10% =3.4$ => 238.30RS
Here option price should be 238.3 RS because I have set 10% price of this option.
Actual result (*)
Product Price= 34$ => 2383.06 RS.
Custom option price: 10% =3.4$ => 238.30RS
Here option price displayed 16702.87 RS which is wrong because it is converted twice time.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.2 release lineThe issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates that Pull Request has been created to fix issueThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release