Wrong customizable option price after saving product
When updating a product, the customizable option prices are not updated correctly if the price is greater than $999. This is because the price of the customizable option is formatted with comma for thousands separator.
Preconditions
- Magento 2.1.3
- Australia/Melbourne locale
Steps to reproduce
- Edit a product with customizable option
- Set the price (over $999)
- Save the product
- Edit the product again. The price will have comma separators.
- Save the product again. Check the option's price. It will be $1.
Expected result
- The price of the options should be saved correctly (instead of being truncated)
Actual result
- The price of the option is truncated (from being converted from string to float)
No, the problem is fixed in Magento 2.1.4.
On 28 Feb 2017, at 5:41 pm, ginny <[email protected]mailto:[email protected]> wrote:
Same problem here. Does it also happen on Magento 2.1.4?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/magento/magento2/issues/8652#issuecomment-282956322, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACVFbW5ZeLkeDrPLGDH6DTjUCMHLu3Sdks5rg8F8gaJpZM4MIwrf.
I am working on Magento2 ver 2.1.5 and this problem is occurring for me exactly as described.
Same problem on Magento 2.1.7
Create dropdown customizable prices - Option Type dropdown
Same as siven76:
Steps to reproduce
Edit a product with customizable option Set the price (over $999) Save the product Edit the product again. The price will have comma separators. Save the product again.
Hi @siven76. Thanks for reporting this issue. Internal ticket MAGETWO-70296 was created.
@siven76, thank you for your report. We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue. We tested the issue on 2.3.0-dev, 2.2.0, 2.1.9
This is still an issue...Magento ver. 2.1.5
Still same issue in 2.1.7. Kindly share solution please