liqiusheng / silverstripe-ecommerce

Automatically exported from code.google.com/p/silverstripe-ecommerce
0 stars 0 forks source link

Prices is displayed multiplied by 100 #601

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
e-commerce version: 3.1 23/10/2013

SilverStripe version: 3.1 from github

See screenshots.

It seems the problem has to do with the active locale in the operating system.
Can it be?
What do you think?

Regards,
Jose A.

Original issue reported on code.google.com by supp...@sendasoft.com on 24 Oct 2013 at 7:35

Attachments:

GoogleCodeExporter commented 8 years ago
I wonder if this is a ecommerce or a SS problem. In what language is the price 
displayed?

Original comment by nfranc...@gmail.com on 26 Oct 2013 at 8:03

GoogleCodeExporter commented 8 years ago
In Spanish.

Original comment by supp...@sendasoft.com on 26 Oct 2013 at 6:46

GoogleCodeExporter commented 8 years ago
Now works properly.

Nicolaas Thank you so much!

Regards,
Jose A.

Original comment by supp...@sendasoft.com on 28 Oct 2013 at 1:39

GoogleCodeExporter commented 8 years ago
No , sorry, I was wrong.
This problem is not solved yet. :(

Regards,
Jose A.

Original comment by supp...@sendasoft.com on 28 Oct 2013 at 1:51

GoogleCodeExporter commented 8 years ago
This problem is because the silverstripe-fluent module uses setlocale(LC_ALL, 
$locale).
Apparently the framework is not well prepared for changes of locale using this 
function.
It's something that should solve silverstripe.

https://github.com/silverstripe/silverstripe-framework/issues/2606

Regards,
Jose A.

Original comment by supp...@sendasoft.com on 29 Oct 2013 at 6:55