Ticket set to global capacity stays set to global capacity upon change

Home Forums Calendar Products Events Calendar PRO Ticket set to global capacity stays set to global capacity upon change

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1436425
    Dan Feeley
    Participant

    We recently updated to the latest version of the plugins and noticed a change in behavior.

    If you have a ticket that is set for “Shared Capacity” (global) and change the capacity to “This ticket only” the event stays set with global enabled. The postmeta for the event “_tribe_ticket_use_global_stock” is set at 1.

    In other words:

    Create a ticket (non-global) (_tribe_ticket_use_global_stock = 0)
    Change ticket to global stock (_tribe_ticket_use_global_stock = 1)
    Change ticket back to non-global (_tribe_ticket_use_global_stock = 1)

    #1437385
    Victor
    Member

    Hi Dan!

    Thanks for taking your time to report this.

    I have been able to replicate this on my end, but I could not think of any implications of this behaviour. Have you experienced any issue that might relate to this? Please let us know.

    In the meantime, I will reach out to the dev team to let them know about this and we’ll keep you posted about it.

    Thanks,
    Victor

    #1437825
    Dan Feeley
    Participant

    I use it to determine if an event is using global stock or not.

    Is there another/better way that would work?

    #1438199
    Dan Feeley
    Participant

    OK, I poked around in the code and came across this for determining stock mode.

    $ticket->global_stock_mode()

    It appears do to the job.
    Thanks.

    #1446060
    Victor
    Member

    Hi Dan!

    I’m sorry for the delay in getting back to you. We’ve been out on the team trip and we are slowly catching up now.

    It’s great that you could find the code to do the job. Thanks for letting us know about it.

    I’ll close this thread now, but don’t hesitate to reach us out anytime if anything comes up and we’ll be happy to help.

    Best,
    Victor

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Ticket set to global capacity stays set to global capacity upon change’ is closed to new replies.