This is a discussion on Comma and point in quantity field (,.) within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi, In my shop I want to use point and comma in quantity field (eg. 1,5 and 1.5) because in ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, In my shop I want to use point and comma in quantity field (eg. 1,5 and 1.5) because in my country we use comma as decimal separator (eg. 1,7cm). In google I found this: Quote:
I will be thankful for your any help or suggestion. Ps. sorry for my English. I hope that you understand me |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| First of all make sure your properly setting the in your main language file - ie: english.php or french.php: @setlocale(LC_TIME, 'fr_FR.ISO_8859-1'); See if finding the correct ISO local might change that for you - but I thought this was for date display. |
|
#3
| |||
| |||
| In polish.php I have: setlocale(LC_TIME, 'pl_PL'); I was trying @setlocale(LC_TIME, 'pl_PL.ISO_8859-2'); but nothing change - when I use comma (,) i quantity field, eg. 1,5cm in shopping cart show 1cm. |
|
#4
| ||||
| ||||
| I tried entering fraction and all I get is whole numbers. French does numbers the same way as your self and that is what came to my mind with commas. You can set your dollars/money to use commas - but for qty they do not STORE fracrtion and only use interger number. I think thyou need to change intergers to FLOATS. Look at: osCommerce: Order fractions or Decimal Quantity Good luck! |
|
#5
| |||
| |||
| It's strange but nothing change after installing this contribution. But thanks for your help. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Set Start Point Order Number | torweb | osCMax v2 Features Discussion | 1 | 06-30-2006 04:54 PM |
| Point of Sale program that will use Oscmax database? | Redeye_Joe | osCMax v2 Customization/Mods | 3 | 02-08-2006 12:18 AM |
| Point of Sale | KCount | osCMax v1.7 Discussion | 0 | 11-14-2004 08:39 AM |
| Point to Verify help | judoka | osCommerce 2.2 Modification Help | 1 | 07-08-2003 09:31 PM |