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

#   How to change the separator "."

##

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

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 11 months ago [\#31648](#31648) by [slydog](/forum/user/4407-slydog "View slydog's Profile")  *[How to change the separator "."](/forum/4-how-to/31648-how-to-change-the-separator#31648 "Perhaps the question may seem silly. Can I change the separator between the integer and fractional parts from &quot;.&quot; by &quot;,&quot; in the entire system? Or, at least in some fields for the export (price, quantity, etc.)")* was created by *[slydog](/forum/user/4407-slydog "View slydog's Profile")*

Perhaps the question may seem silly.
Can I change the separator between the integer and fractional parts from "." by "," in the entire system? Or, at least in some fields for the export (price, quantity, etc.)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNjQ4LWhvdy10by1jaGFuZ2UtdGhlLXNlcGFyYXRvcj90bXBsPW1hcmtkb3du) 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
-
-

14 years 11 months ago [\#31659](#31659) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to change the separator "."](/forum/4-how-to/31648-how-to-change-the-separator#31659 "Perhaps the question may seem silly. Can I change the separator between the integer and fractional parts from &quot;.&quot; by &quot;,&quot; in the entire system? Or, at least in some fields for the export (price, quantity, etc.)")*

Yes, you can do that editing your currency via the menu System-&gt;Currency.

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

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

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 11 months ago [\#31781](#31781) by [slydog](/forum/user/4407-slydog "View slydog's Profile")  Replied by *[slydog](/forum/user/4407-slydog "View slydog's Profile")* on topic *[Re: How to change the separator "."](/forum/4-how-to/31648-how-to-change-the-separator#31781 "Perhaps the question may seem silly. Can I change the separator between the integer and fractional parts from &quot;.&quot; by &quot;,&quot; in the entire system? Or, at least in some fields for the export (price, quantity, etc.)")*

I know that, thanks.
I mean, not for a particular currency, and for the whole system.
This is probably not a good idea? ![:)](/media/kunena/emoticons/3.png ":)")
Or, for example, do this at least for this additional plugin (custom_quantity_weight - [ www.hikashop.com/en/support/forum/2-gene...w-feature.html#24390](http://www.hikashop.com/en/support/forum/2-general-talk-about-hikashop/24377-new-feature.html#24390))
That is, the user entering number in the field could use as separator "," (comma).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNjQ4LWhvdy10by1jaGFuZ2UtdGhlLXNlcGFyYXRvcj90bXBsPW1hcmtkb3du) 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
-
-

14 years 11 months ago [\#31830](#31830) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to change the separator "."](/forum/4-how-to/31648-how-to-change-the-separator#31830 "Perhaps the question may seem silly. Can I change the separator between the integer and fractional parts from &quot;.&quot; by &quot;,&quot; in the entire system? Or, at least in some fields for the export (price, quantity, etc.)")*

There is not such option for the whole system.
For that plugin, you could add the code:
$product-&gt;ordered_weight=str_replace(',','.',$product-&gt;ordered_weight);
at the beginning of both hikashop_product_price_for_quantity_in_cart and hikashop_product_price_for_quantity_in_order functions and that will put a dot for the calculations and probably for the data in the order once created.

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

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

Less More

- Posts: 45
- Thank you received: 0
-
-

14 years 11 months ago [\#31845](#31845) by [slydog](/forum/user/4407-slydog "View slydog's Profile")  Replied by *[slydog](/forum/user/4407-slydog "View slydog's Profile")* on topic *[Re: How to change the separator "."](/forum/4-how-to/31648-how-to-change-the-separator#31845 "Perhaps the question may seem silly. Can I change the separator between the integer and fractional parts from &quot;.&quot; by &quot;,&quot; in the entire system? Or, at least in some fields for the export (price, quantity, etc.)")*

Thanks, it worked.
I want to say that I am glad that I found your product. With it I can do my very unusual project.
Special thanks to you, Nicolas, for your patience and quick help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxNjQ4LWhvdy10by1jaGFuZ2UtdGhlLXNlcGFyYXRvcj90bXBsPW1hcmtkb3du) 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.104 seconds

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