Change price format

Home Forums Calendar Products Events Calendar PRO Change price format

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1100687
    Vivianne
    Participant

    I am looking for a way to change the price format for our project.
    The prices are in Euro´s, so we need the format of 79,00 EUR here.
    Focus is on the comma. At the moment prices are beeing displayed like this: 79.00 EUR
    Where can I change the point into the comma?

    #1101006
    Cliff
    Member

    Hi Vivianne.

    Are you using WooCommerce? If yes, please reference WooCommerce’s settings at https://docs.woothemes.com/document/shop-currency/

    If you’re referring to the Event Cost that’s part of The Events Calendar’s settings, please check out this post and see if it helps.

    #1101280
    Vivianne
    Participant

    I am referring to the Events Calendar part. It doesn´t work with the posted code, it breaks my price format completely.

    #1101639
    Cliff
    Member

    Hi Vivianne. Thanks for trying that other code.

    Here’s code that worked for me (see links to screenshots in the code snippet’s comments):

    https://gist.github.com/cliffordp/9ce9bcae4d3a08453b9062aeef12e3a8

    Please let me know how things go for you.

    #1101811
    Vivianne
    Participant

    Thanks for this code, this works. But only in the frontend.
    In the backend my client needs to write prices in this format “79.50” instead of “79,50”.
    Is there a workaround for that?

    #1102218
    Cliff
    Member

    Vivianne, here’s a video I recorded demonstrating that a comma entered into the Event Cost field in wp-admin does get displayed on the front-end — no special code required: http://cl.ly/1Z2D2h2z3q1p

    Please review and let me know if things are different for you.

    Thanks.

    #1102352
    Vivianne
    Participant

    Sorry, this doesn´t work in my case.
    If I write prices with a comma it doesn´t show the price anymore in the frontend.
    It only works with a point.

    #1102380
    Cliff
    Member

    Hi. Sorry you’re experiencing this.

    Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?

    Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.

    If it is, please follow our Testing for Conflicts Guide and see if that helps narrow down the cause of this.

    If it doesn’t, please share your System Information.

    Let us know what you find out.

    Thanks.

    #1102387
    Vivianne
    Participant

    I cannot make the updates before the project goes live.
    We are in a hurry to finish it.
    But I downloaded and installed the plugins just a few weeks ago, they´re not so old.
    And the problem occured right in the beginning.

    Is there some code which could fix this thing?

    #1102543
    Cliff
    Member

    Please share your System Information. That will give me a lot of extra information to help diagnose the problem.

    #1102545
    Vivianne
    Participant

    This reply is private.

    #1102757
    Cliff
    Member

    I doubt (but didn’t confirm) that the Event Cost field’s performance would be different from the current 4.1.x versions to your 4.0.x versions.

    As such, I’d advise you to follow our Testing for Conflicts Guide and see if that helps narrow down the cause of this.

    I understand you likely do not want to change the active theme or the active plugins, even for testing, but our support is limited to the latest versions of our plugins, per our Scope of Support / Terms.

    I hope updating to the latest versions of all our plugins, following our Testing for Conflicts Guide, or leaving the functionality as-is will work for you in the short-term.

    I look forward to hearing back when you’re able to go through everything thoroughly.

    Thanks.

    #1108846
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Change price format’ is closed to new replies.