Tonn Talpsepp

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Change ticket number starting value #1251416
    Tonn Talpsepp
    Participant

    Thanks! Changing the number on line 118 helps to start issuing new tickets with a desired number. As I needed to jump from 10 to 1011 then I changed the number on line 120 temporarily to 1001, issued one ticket (which had number 1011) and changed the number on line 120 back to 1. So now ticket numbers will increment by 1 once again and there’re no changes to the code any more. That worked fine!

    in reply to: Change ticket number starting value #1250972
    Tonn Talpsepp
    Participant

    Ticket number is on the ticket (which is automatically sent to ticket buyers and all ticket buyers see their sequence number). If you are the first to buy tickets you get a ticket with number XXX-1, the second ticket is XXX-2 etc. We want to issue tickets with numbers e.g. XXX-1001, XXX-1002 etc.

    Current situation is that we have issued a small number of tickets (say, that the last one is XXX-10) and we would like to make the system to issue the next ticket with the number XXX-1011, then XXX-1012 etc. This can probably be achieved by changing something in the database because Event Tickets probably holds a reference to the last ticket number in the database and when issuing a new ticket increases the last known reference by 1.

    No, I am not asking about WooCommerce order numbering, it doesn’t have anything to do with my question.

Viewing 2 posts - 1 through 2 (of 2 total)