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

Decimals issue with no solution yet v-1.7.6.2 #16805

Closed
QueeNFrisk opened this issue Dec 13, 2019 · 1 comment
Closed

Decimals issue with no solution yet v-1.7.6.2 #16805

QueeNFrisk opened this issue Dec 13, 2019 · 1 comment
Labels
1.7.6.2 Affects versions Bug Type: Bug FO Category: Front Office No change required Resolution: issue closed because expected as is Old Products Page Concerns the old product page Taxes and Prices Component: Which BO section is concerned

Comments

@QueeNFrisk
Copy link

I have a problem and i don't know if is a bug.
The problem it's on currency decimals.

image

Real Price is "$1,122.51" (MXN)

I see in forums the same problem and possible solution and i did tried but isn't works:
I have "main--es-ES--numbers" file but not exist
image

modifying "/localization/CLDR/core/common/main/" with this reference
This is my file:
image

modifying "_js/tools.js"
image
image

and modifying database:
image

PrestaShop version: 1.7.6.2
PHP version: 7.3

@khouloudbelguith
Copy link
Contributor

Hi @P41N3ST,

PrestaShop is not compatible with PHP 7.3, in fact, PrestaShop 1.7.0 to 1.7.3 is compatible with PHP 7.1 and PrestaShop 1.7.4 & 1.7.5 & PS1.7.6 are compatible with PHP 7.2.
For more details, you can follow this link: http://build.prestashop.com/news/prestashop-1-7-is-moving-to-symfony-3-4-and-php-5-6/
Next Major release PS1.7.7 will be compatible with PHP7.3.
Please downgrade your PHP version.
The first part of feature #10052 is almost done which the implementation of the CLDR (the data needed to manage a maximum of currencies), Check the PR #10455

It's planned to remove the number of the decimal parameter in Shop parameters > General, as you can see here: #12223
And it's also planned to add this feature in CLDR part 2: #11660

Thanks to check & feedback.

@khouloudbelguith khouloudbelguith added 1.7.6.2 Affects versions Bug Type: Bug FO Category: Front Office NMI Status: issue needs more information Old Products Page Concerns the old product page Taxes and Prices Component: Which BO section is concerned labels Dec 16, 2019
@khouloudbelguith khouloudbelguith added No change required Resolution: issue closed because expected as is and removed NMI Status: issue needs more information labels Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.6.2 Affects versions Bug Type: Bug FO Category: Front Office No change required Resolution: issue closed because expected as is Old Products Page Concerns the old product page Taxes and Prices Component: Which BO section is concerned
Projects
None yet
Development

No branches or pull requests

2 participants