Cost Format

Home Forums Calendar Products Events Calendar PRO Cost Format

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #989440
    Gregory
    Participant

    Before I updated to the latest version of Events the cost field was able to show text/words. With the most recent update to 3.11 the cost now only shows numbers.

    Can anyone give me an idea how I can change the format rules so cost field can show any type of character?

    Example: If I have NRO L-55 in the cost field in admin on the front end it shows 55.

    Thanks for any help.

    Greg

    #989464
    Elsbeth
    Participant

    I have this problem and I need it fixed too. I need the price/cost to show numbers and text.

    #989616
    Barry
    Member

    Hi guys,

    We did make some improvements to better support various cost formats (and cost ranges, where multiple prices exist for a single event).

    That may have got in the way here, but a short snippet like this one should provide the behaviour you are seeking:

    https://gist.github.com/barryhughes/21c4e2fc52aec514cc9c

    You could add this (typically, you can strip out the opening <?php tag) to your theme’s functions.php file, a custom plugin or any other suitable place.

    Does that help?

    #989630
    Gregory
    Participant

    Barry –

    Thanks so much. Worked perfectly!

    Greg

    #989651
    Elsbeth
    Participant

    Works for me thanks!

    #989680
    Barry
    Member

    Great!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Cost Format’ is closed to new replies.