Currency (again)

Home Forums Calendar Products Events Calendar PRO Currency (again)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #107986
    pheck
    Participant

    Hello,

    following problem:

    Currency symbol set to “EUR” in the settings – but no currency symbol shown at all (also not the “$” sign for the default value)

    Tried the snippet in https://theeventscalendar.com/support/forums/topic/event-details-not-showing-currency-symbol/ – without success.

    Figured out, how to change this in the list view by edit the single-event.php file by just placing the “EUR” in front of the <?php echo tribe_get_cost( null, true ); ?> statement.

    Works fine in List view, but when I click on the event for the detailed view (example: http://www.hanglage.de/event/suedafrika-australien/ ), the currency is shown without the “EUR”.

    Searched for hours yesterday evening, but didn’t find the place where this could be changed.
    Anyone could give me a hint, where I can change this?

    Best regards
    Peter

    #108800
    Kelly
    Participant

    Hi, Peter. Great question! 🙂

    Actually, as stated in the last post on the thread you linked to, the snippet is no longer required in our plugin. Would you mind removing all the mods that you made and testing again? As far as I can see in my testing, the currency symbol (in this case EUR), is displayed in both locations.

    Thanks!

    #109012
    pheck
    Participant

    Hello Kelly,

    I added the snippet as it didn’t work – now I removed it and it still didn’t work.

    Check at http://www.hanglage.de/events/ – the EUR you see here is because I changed the following line in “/list/single-event.php”:

    <span>EUR <?php echo tribe_get_cost( null, true ); ?></span>

    When you click on an event, the first currency symbol in the subtitle ( <h3> Tag) was also added by me, changing “single-event.php”:

    <span class=”tribe-events-cost”>EUR <?php echo tribe_get_cost( null, true ) ?></span>

    The only thing missing now is the EUR in front of the cost displayed below in the table.

    Cheers Peter

    #109288
    Kelly
    Participant

    Hi, Peter. Thanks again for your excellent query. It turns out that this is something that I was personally unclear on, so I learned more about the product as a result of your inquiry. Bonus! 🙂

    Anyhow, the upshot is that the “Default currency symbol” setting is only used for presetting the symbol for existing events. Once an event is created, the currency symbol is set at the Event Editing screen and unaffected by changes to the Default currency symbol field in Settings. The rationale here is that for one site, it may be that you have events for which the cost is set in different currencies, e.g. if you were hosting an event in the Republic of Ireland (and using Euros), you might also have a sister event across the line in the UK (and use pounds sterling).

    I’m sorry that it was so unintuitive. I will definitely make a note that we need to clarify the behavior so that other users don’t experience the same issue.

    All that said, please remove the snippets and try changing the currency symbol in your existing events. New events will respect the Default currency symbol setting that existed at the time of their creation.

    Thanks! 🙂

    #109554
    pheck
    Participant

    Hello Kelly,

    understood and reproducable. What not works: If I change the currency symbol in an existing event, nothing happens. When I create a new event, the currency symbol is shown – but only in this case, not for existing events. I will now re-create all my events to display the symbol.

    Cheers Peter

    #109606
    Kelly
    Participant

    Thanks for confirming, Peter! 🙂

    Please let us know if anything else comes up that we can help with!

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