Changing Ticket #

Home Forums Ticket Products Event Tickets Plus Changing Ticket #

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1315214
    Adam
    Participant

    Hi there, just wondering where I can set the Ticket Number to an arbitrary number, rather than “TE-20”, for example in the image.

    I’d like it even more if it would choose a random number (like the security code), so that customers can’t see how many tickets we’ve sold – if they buy another ticket at a later time.

    You’ll see this in the ticket emails sent – see attached image.

    Thanks for your help!

    Adam

    #1315996
    Victor
    Member

    Hello Adam!

    Thanks for getting in touch with us!

    I believe you will find this post to be of help to achieve what you are looking for > https://theeventscalendar.com/support/forums/topic/change-ticket-number-starting-value/

    Here is a sample code that Cliff put up that will start the ticket number at something other than one using the ‘tribe_tickets_plus_inital_ticket_number’ filter hook.

    https://gist.github.com/cliffordp/91223c67e30e648257e47e50349d81f4#file-functions-php

    I hope that helps! Let me know if you have other questions.

    Best,
    Victor

    #1326394
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing Ticket #’ is closed to new replies.