Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price change in admin when save product #27

Closed
allinvinod opened this issue Mar 10, 2018 · 13 comments
Closed

Price change in admin when save product #27

allinvinod opened this issue Mar 10, 2018 · 13 comments

Comments

@allinvinod
Copy link

I have installed this extension which is working fine on frontend. But When I am saving the product in admin, product price changed from 7,499 to 7.
I am using Magento 2.1.8

@cdiacon
Copy link
Contributor

cdiacon commented Mar 21, 2018

@allinvinod can you post the settings you have for the price decimal ?

I think you can get this only if you have Decimal Length = 0, you should use the 3 in your case.

@allinvinod
Copy link
Author

Yes, I have Decimal Length = 0

@cdiacon
Copy link
Contributor

cdiacon commented Mar 22, 2018

@allinvinod you will still have the 7,499 saved in database but the displayed value will be 7, it's the matter of how many decimals you want to show.

@maettuw
Copy link

maettuw commented Apr 5, 2018

I have a similar problem. The price is correct on first save of a product.
If I change something other like SKU, then the price will be rounded down to $10 from starting $10,900. The price will also be changed in frontend so it is saved to database.

@allinvinod
Copy link
Author

allinvinod commented Apr 5, 2018 via email

@maettuw
Copy link

maettuw commented Apr 5, 2018

@allinvinod do you have an other extension for the same purpose?

@allinvinod
Copy link
Author

allinvinod commented Apr 5, 2018 via email

@lillik
Copy link
Owner

lillik commented Apr 6, 2018

Thanks @allinvinod.

@lillik
Copy link
Owner

lillik commented Apr 6, 2018

Theme Issue.

@lillik lillik closed this as completed Apr 6, 2018
@fsrojash
Copy link

I have this same issue, i try to override vendor/magento/module-catalog/view/base/web/js/price-utils.js into this route -> my-theme/Magento_Catalog/web/js/price-utils.js, and setting requiredPrecision = 0... But, it's not working, it still changing the price from 7,499 to 7... Any thoughts?

@amcastror
Copy link

Hi @fsrojash, were you able to fix this? Thanks a lot.

@lillik lillik reopened this Jul 27, 2018
@fsrojash
Copy link

fsrojash commented Aug 3, 2018

Hi @amcastror, nop, still with the issue...So, to keep a price like $7.499 i have to delete the comma before saving...

@lillik
Copy link
Owner

lillik commented Oct 23, 2018

Fixed in version 1.0.6

@lillik lillik closed this as completed Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants