I found this thread which allows me to add the category of “Ticket” to each event using Events Ticket Plus (needed a category so I can add a custom field in Woocommerce only on the ticket products with the category of “Ticket”) https://theeventscalendar.com/support/forums/topic/missing-function-in-event-tickets-plus/
by adding this to line 510
//add ticket category to ticket
wp_set_object_terms( $ticket->ID, ‘Ticket’, ‘product_cat’, true );
I added the code to the file in the plugins folder and naturally it worked. But I need to add it to the override folder inside my theme folder as directed in your Themer’s Guide.
I tried adding to [theme-name]/tribe-events/tickets/src/Tribe/Commerce/WooCommerce/main.php but it didn’t work. I am missing something? Should the first sub folder be called something else? I tried tickets-plus but that didn’t work either.
Thanks
Melanie