Currency in Event Cost field

Home Forums Ticket Products Eventbrite Tickets Currency in Event Cost field

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20298
    Michelle
    Participant

    Hi – is there a way I can include the currency in the Event Cost field? My events are worldwide so a whole lot of different currencies being used. Given that you can only put numerical data in the field from admin side I guess this would have to be included in the Single.php
    Thanks

    #20321
    Jonah
    Participant

    Hi Michelle,

    Yep, you’ll need to append the currency to the outputted cost.


    $cost = tribe_get_cost();
    echo '$' . $cost;

    Cheers,
    Jonah

    #20342
    Michelle
    Participant

    Hi Jonah – Thanks – but what about with multiple currencies? My events maybe Euro, US dollar, AU dollar etc and more. Is there a way I can factor in all the different possible currencies to the output and then choose the appropriate one via the admin?
    Cheers, Michelle

    #20370
    Jonah
    Participant

    Hi Michelle,

    Unfortunately the cost field is not that robust yet. My only idea would be to setup some separate custom fields to select the currency per event. http://www.advancedcustomfields.com/ is a fantastic plugin to do this with.

    Hope that helps!

    – Jonah

    #977034
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Currency in Event Cost field’ is closed to new replies.