Formatting dutch price #1140
-
I am not sure if this is a bug or a configuration issue so I will post it here first as a question. I store my prices in cents in the database. In the front-end my prices are formatted like this: €4,027.00 In my Laravel configuration I use 'locale' => 'nl', In the Netherlands. The formatting should be €4.027,00 (dot for thousand separator and a comma for cents). In the simple-commerce config I use 'currency' => 'EUR', Is there any way to modify the separator? Regards, |
Beta Was this translation helpful? Give feedback.
Answered by
duncanmcclean
Aug 21, 2024
Replies: 1 comment 1 reply
-
Yes, you can change the separators in your config file: // config/simple-commerce.php
'sites' => [
'nl' => [
'currency' => 'EUR',
'currency_formatting' => [
'decimal_separator' => ',',
'thousand_separator' => '.',
],
],
], |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
duncanmcclean
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can change the separators in your config file: