[Skip to main content](#vessel-content)

#   amount with dot and comma, but only comma needed

##

- **[comyoo](/forum/user/1145-comyoo "View comyoo's Profile")**
- [![comyoo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1145.png)](/forum/user/1145-comyoo "View comyoo's Profile") Topic Author
- [ Offline](/forum/user/1145-comyoo)

Less More

- Posts: 97
- Thank you received: 0
-
-

12 years 1 month ago [\#173813](#173813) by [comyoo](/forum/user/1145-comyoo "View comyoo's Profile")  *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#173813 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")* was created by *[comyoo](/forum/user/1145-comyoo "View comyoo's Profile")*

-- HikaShop version -- : 2.3.3.
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : nothing

Hi,

We have a strange bug / situation;

When logged in prices in modules and in cart are shown like this;
8.,99 so with dot and comma, but we need only comma in The Netherland.

I've checked currency settings, but all is set right.

When you are logged out, the normal price is shown with only comma.

Where can I find this bug / setting?
We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.

Can you help me out?
Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 1 month ago [\#173850](#173850) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#173850 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi,

There is no bug on that end as far as we know and no one reported it before. So it's probably a currency display setting.
Please edit your currency via the menu System&gt;Currencies and check its options. If you don't find the problem, please provide a screenshot of that page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[comyoo](/forum/user/1145-comyoo "View comyoo's Profile")**
- [![comyoo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1145.png)](/forum/user/1145-comyoo "View comyoo's Profile") Topic Author
- [ Offline](/forum/user/1145-comyoo)

Less More

- Posts: 97
- Thank you received: 0
-
-

12 years 1 month ago [\#174049](#174049) by [comyoo](/forum/user/1145-comyoo "View comyoo's Profile")  Replied by *[comyoo](/forum/user/1145-comyoo "View comyoo's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#174049 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi Nicolas,

Please have a look at the 2 screenshots.

- [ ![de&#95;4e&#95;Musketier&#95;&#95;&#95;Administratie&#95;&#95;&#95;Valuta.png](/forum/attachment/19913) ](/forum/attachment/19913 "...e&#95;&#95;&#95;Valuta.png") [ ](/forum/attachment/19913?download=1 "...e&#95;&#95;&#95;Valuta.png")
- [ ![Boeken&#95;&#95;&#95;de&#95;4e&#95;Musketier.png](/forum/attachment/19914) ](/forum/attachment/19914 "...&#95;Musketier.png") [ ](/forum/attachment/19914?download=1 "...&#95;Musketier.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 1 month ago [\#174088](#174088) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#174088 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi,

Thanks to try to remove the dot for the option "Groups separation".
That should solve the problem, is not thanks to give us a screenshot of the EUR currency in the currency listing to see how it's formatted.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[comyoo](/forum/user/1145-comyoo "View comyoo's Profile")**
- [![comyoo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1145.png)](/forum/user/1145-comyoo "View comyoo's Profile") Topic Author
- [ Offline](/forum/user/1145-comyoo)

Less More

- Posts: 97
- Thank you received: 0
-
-

12 years 1 month ago [\#174212](#174212) by [comyoo](/forum/user/1145-comyoo "View comyoo's Profile")  Replied by *[comyoo](/forum/user/1145-comyoo "View comyoo's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#174212 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi Xavier,

Removing the dot results in 2 comma's. Removing the comma breaks every price.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 1 month ago [\#174216](#174216) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#174216 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi,

Thanks to give us a backend and a ftp access in order to see directly what's happening on your website.
Don't forget to give us the url of that topic.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jacekskarbek](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")**
- [![jacekskarbek's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")
- [ Offline](/forum/user/5049-jacekskarbek)

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 3 months ago [\#210496](#210496) by [jacekskarbek](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")  Replied by *[jacekskarbek](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#210496 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi,
-- HikaShop version -- : 2.4.0.
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.3.29

I have the same/similar problem. Have this been resolved?
Please look at:
[ www.portal-tlumaczy.pl/index.php?option=...slownikow&amp;Itemid=130](http://www.portal-tlumaczy.pl/index.php?option=com_hikashop&ctrl=product&task=show&product_id=1&name=sdl-trados-studio-2014-freelance-zestaw-slownikow&Itemid=130)
Prices are proper for main price of product and for first option, and wrong for 2,3 and 4 options.
Price with option value is displayed without decimals. If you select price from first option you get Price with option value with decimals only from option price,but still not from main price of product.
It is connected somehow with locals. It is OK for English and wrong for Polish (default language of our site).

Best regards
Jacek

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 3 months ago [\#210498](#210498) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#210498 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi,

We've added some fixes for that in the latest version of HikaShop which came from a server setup issue with the locale of the web server.
Update to the latest version and that should solve the issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jacekskarbek](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")**
- [![jacekskarbek's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")
- [ Offline](/forum/user/5049-jacekskarbek)

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 3 months ago [\#210615](#210615) by [jacekskarbek](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")  Replied by *[jacekskarbek](/forum/user/5049-jacekskarbek "View jacekskarbek's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#210615 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Thank you Nicolas,

I upgraded to 2.5.0 and now format of all prices are OK, but still there is a problem with calculating Price with option value. It takes decimal numbers only from 1st option prices, but without decimals from 2nd, 3th and 4th options.

What I noticed on Debuger window is that price array is created with mixed formats of prices (with dot or comma) i.e.:

var hikashop_options=Array();
hikashop_options[285]=121.77;
hikashop_options[286]=244.77;
hikashop_options[29]=207,87;
hikashop_options[30]=158,67;
hikashop_options[32]=343,17;
hikashop_options[34]=207,87;
hikashop_options[35]=158,67;
hikashop_options[36]=343,17;
hikashop_options[294]=183,27;
hikashop_options[3]=737,47323340471;
hikashop_options[2]=675,27;

And this probably reason of wrong Price with options calculations.

Best regards
Jacek

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 3 months ago [\#210625](#210625) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[amount with dot and comma, but only comma needed](/forum/27-checkout/871999-amount-with-dot-and-comma-but-only-comma-needed#210625 "-- HikaShop version -- : 2.3.3. -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : nothing  Hi,  We have a strange bug / situation;  When logged in prices in modules and in cart are shown like this; 8.,99 so with dot and comma, but we need only comma in The Netherland.  I've checked currency settings, but all is set right.  When you are logged out, the normal price is shown with only comma.  Where can I find this bug / setting? We had it with our previous version of Hikashop and I thought when I update to the most recent version it will be fixed. But that is not.  Can you help me out? Thank you.")*

Hi,

Edit the file "option" via the menu Display&gt;Views and change the code: Code:

]=".(float)$price.";

to: Code:

]=".(float)str_replace(',','.',$price).";

(twice in the file). That should fix the problem.
Please let us know how it goes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5OS1hbW91bnQtd2l0aC1kb3QtYW5kLWNvbW1hLWJ1dC1vbmx5LWNvbW1hLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.082 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
