Prevent SKU from being added to tickets Post date Home › Forums › Ticket Products › Event Tickets Plus › Prevent SKU from being added to tickets This topic has 3 replies, 3 voices, and was last updated 10 years ago by keystoliteracy. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts September 12, 2016 at 3:21 pm #1163036 keystoliteracyParticipant Whenever I add a new ticket, I leave the SKU field blank. But after saving, when I go back to view the ticket, a SKU has been auto generated for it (order number – ticket name). How can I prevent this from happening? Thanks! September 13, 2016 at 1:08 am #1163252 keystoliteracyParticipant I fixed it with this code function tribe_disable_sku_for_tickets( $ticket_id ) { update_post_meta( $ticket_id, '_sku', '' ); } add_action( 'wootickets_after_save_ticket', 'tribe_disable_sku_for_tickets' ); September 13, 2016 at 10:00 am #1163497 GeoffMember Heck yeah, nice work Abby! I appreciate you both following up and sharing this with us and the community — super helpful. 🙂 Cheers and have a great day. Definitely let us know if any other questions come up and we’d be happy to help. Geoff Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘Prevent SKU from being added to tickets’ is closed to new replies. → Please verify your API key is correctly entered on the settings