Event cost retains value after tickets are deleted

Home Forums Ticket Products Event Tickets Plus Event cost retains value after tickets are deleted

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1002804
    John
    Participant

    Hi,

    I have found that if you setup an event with tickets and then subsequently delete all tickets the _EventCost meta data still retains a value and so calling tribe_get_formatted_cost or tribe_get_cost will return a value, even though the event is in effect now free.

    A way around this could be to check if event has tickets before displaying event cost but really I think this value should be cleared once and event has no tickets. It must be getting updated when you add tickets, as it always shows the lowest price based on tickets for the event regardless of order of tickets created, so on ticket delete can you check and action then as well please.

    Kind regards.

    John

    #1003009
    George
    Participant

    Interesting find, John – I agree with some of the points you’ve made here in relation to this, and I’m going to do some digging and see what mechanisms are at play here.

    To that end, would you be willing to share your “system information” with us? Here’s how to do so → https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Cheers!
    George

    #1007823
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Event cost retains value after tickets are deleted’ is closed to new replies.