Support » Plugin: Paid Memberships Pro » EUR currency symbol and decimals are wrong in PMP, how to fix?

  • Hi, when I choose euro’s for currency, the euro symbol is placed left instead of right. Also, the US way of using decimals is used, not the European way. This results in the wrong prices.

    How can I fix this? I tried to adjust currencies.php by changing ‘right’ into ‘left’, but this gives a 500 internal server error.

    Any help would be very mucht appreciated and thanks for the plugin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @eigenwijsheid,

    You are able to add the following code to your functions.php file (No need to edit currencies.php)

    
    function my_pmpro_force_right_for_euro( $position ){
        return 'right';
    }
    
    add_filter( 'pmpro_euro_position', 'my_pmpro_force_right_for_euro' );
    
    

    Hope this helps! 🙂

    • This reply was modified 2 years, 6 months ago by  Andrew Lima.

    Thanks very much Andrew! I added your code to the WP functions.php file, but it didn’t make a difference unfortunately 🙁

    • This reply was modified 2 years, 6 months ago by  EigenWijsheid.
    Plugin Author Andrew Lima

    (@andrewza)

    Have you made any changes to the currencies.php file as I tested this on my local environment and it works! 🙂

    You can edit the currencies.php file directly but it’s not recommended.

    Please keep me posted.

    Mmm, not intentionally, but I did try to fix the issue with changes to currencies.php, so maybe I made a mistake.

    I’ll reinstall the plugin and try again Andrew, thanks.

    Plugin Author Andrew Lima

    (@andrewza)

    Any news on this @eigenwijsheid :)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘EUR currency symbol and decimals are wrong in PMP, how to fix?’ is closed to new replies.