Skip to main content

Price field does not allow dot or comma

ClassiBase classifieds script Forums General help Price field does not allow dot or comma

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  TJ Public 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1357 Reply

    TJ Public


    There are products for example with 0.60 Euro.
    If I add 0.60 at the price field when I create an ad, the price wont show up.

    Also if I type 7.5 Euro it comes up 7 Euro on the listing pages. Why?
    This is not correct, how can I correct this?


    #1358 Reply

    TJ Public

    At the currency Ive set:
    Decimals: 2
    Decimal point:.
    Thousands seperator:,

    Prices are showing up as: 10.00
    but if I add a price for example 10.52 it still shows up 10.00

    any idea why?

    #1360 Reply


    You are right price is currently stored as integer. We will store it as float in our next release.

    This was due to different decimal point identifiers for different countries. in some it is 1.60, in others 1,60. That is why we converted prices to integer initially. Now we can define decimal point identifier in “Admin panel” -> “Settings” -> “Currency” page “Decimal point” value for each locale so we can use that identifier to know decimal point and store load values for price field.

    Our next release should be ready in couple days.

    #1361 Reply

    TJ Public

    Thanks for the reply.

    Please make sure when you release the next update to tell us which files has been affected as we have modified a lot a theme files and some core files.


Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Price field does not allow dot or comma
Your information:

  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.