cancel
Showing results for 
Search instead for 
Did you mean: 

Hungarian currency issue decimal

SOLVED

Hungarian currency issue decimal

Hi Guys


We have a problem with our Hungarian storeview. All prices are with a 0 decimal before the price? 

 

Udklip.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hungarian currency issue decimal

JPY, KRW, TWD, IDR and other integer currencies are same.

It's caused by 2.2 version of Magento framework.

 

To fix this issue, you need to rewrite Magento\Framework\Locale\Format::getPriceFormat().

CTO of Veriteworks Inc.

View solution in original post

6 REPLIES 6

Re: Hungarian currency issue decimal

JPY, KRW, TWD, IDR and other integer currencies are same.

It's caused by 2.2 version of Magento framework.

 

To fix this issue, you need to rewrite Magento\Framework\Locale\Format::getPriceFormat().

CTO of Veriteworks Inc.

Re: Hungarian currency issue decimal

Hi again Smiley Happy

 

Where can i find this file ?

Re: Hungarian currency issue decimal

You can find it under lib/internal directory.

Or use my extension

CTO of Veriteworks Inc.

Re: Hungarian currency issue decimal

Hi again


But i use 2.1 ? not 2.2 ? 

Re: Hungarian currency issue decimal

I strongly recommend to use 2.2.x. 2.2.x contains serialized data format changes. You need to convert serialized data from 2.1.x and 2.0.x to 2.2.x.

CTO of Veriteworks Inc.

Re: Hungarian currency issue decimal

Sorry i am on 2.2.1