Hello @jerrygapinkski,
Thanks for reaching out!
Great question, but at this time, there is not a function in OTCE that can do this.
Short answer is because of the way the reservation system is set up, the ticket product itself has no meaning without being tied to an actual event. Ticket products can also be connected to multiple events, so while the tickets are Woo products, they do not behave like standard Woo products.
We will see if we can consider this in a future update.
If there is anything else we can assist you with, please let us know! Thank you!
So, how does OTCE add tickets? I don’t mind writing a little code, just point me in right direction.
Thx
What file and/or function handles adding tickets to cart.
is it something like this:
$item_id = $this->_add_or_update_order_item( $order, $product, $res, array( ‘event_id’ => $event->ID ) );
TIA