• Resolved kokopelli2

    (@kokopelli2)


    Under “Payment Settings” I have set the currency to EUR. In German, a comma is set for decimal places instead of a point. How can I adjust this, so that it 52.00 EUR is set correctly to 52,00 EUR?

    Alternatively, I could do without decimals altogether, if the solution would be easier?

    Thank you very much for helping

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @kokopelli2,

    We have used the number_format() function for decimal points in the Ultimate WordPress auction plugin. If you want to display the “,” instead of “.”, you need to customize the plugin files.

    We have used the number_format() function in the below files of the auction plugin.

    auction-description-tabs.php
    auction-feeder-page.php
    auction-shortcode.php
    auctions-listing-with-attributes.php
    expired-auctions.php

    You need to change the code below. Replace the “.” with “,” in the below code.

    From
    number_format( $number , 2, '.', ',')
    
    To
    number_format( $number  , 2, ',', ',')

    You need to replace these changes at every place in those files.

    Thank You

    Thread Starter kokopelli2

    (@kokopelli2)

    Thanks you fpr your great help!!!! I implemented it and it works.
    I assume though that the php files will be overwritten when I update the plugin?

    Hi @kokopelli2,

    You have changed the code in the core file of the auction plugin. So, when you update the auction plugin, these changes will be removed.

    We are planning to provide the options for this in the auction plugin. So, the admin can select “.” or “,” for the product price. We will provide this setting in the next update of the auction plugin.

    Thank You

    Thread Starter kokopelli2

    (@kokopelli2)

    Thank you very very much! That is great!

    Plugin Author Nitesh

    (@nitesh_singh)

    This issue has been resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing curreny from $ to EURO’ is closed to new replies.