{"id":1964895,"date":"2025-04-24T10:09:10","date_gmt":"2025-04-24T14:09:10","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1964895"},"modified":"2025-04-24T10:09:12","modified_gmt":"2025-04-24T14:09:12","slug":"show-event-title-for-tickets-in-woocommerce-product-list","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/show-event-title-for-tickets-in-woocommerce-product-list\/","title":{"rendered":"Show Event Title for Tickets in WooCommerce Product List"},"content":{"rendered":"\n<p>If you&#8217;re using WooCommerce alongside the Event Tickets Plus plugin, you might have noticed a common challenge when managing <span style=\"text-decoration: underline;\"><a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/ticket-products-event-tickets-plus-integration-with-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ticket Products<\/a><\/span>. When multiple events offer tickets with the same name, such as &#8220;General Entry,&#8221; it can be challenging to quickly identify which ticket belongs to which event in the WooCommerce Products list.<\/p>\n\n\n\n<p>To improve this experience, you can add a new column to the product table in your WordPress admin. This short guide walks you through how to implement this enhancement with a simple code snippet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-add-an-event-title-column\">Why Add an &#8220;Event Title&#8221; Column?<\/h2>\n\n\n\n<p>By default, all ticket products appear under the Products tab in WooCommerce. When ticket names are reused across events, it becomes time-consuming and confusing to identify which event each ticket belongs to.<\/p>\n\n\n\n<p>Adding an <strong>Event Title<\/strong> column:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Makes it easy to link ticket products to their respective events at a glance.<\/li>\n\n\n\n<li>Reduces confusion when managing tickets with the same name.<\/li>\n\n\n\n<li>Improves backend organization and saves time during product management.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/04\/POxbeEjOtS-1024x329.png\" alt=\"WooCommerce product list with the new 'Event Title' column displaying event names next to ticket products\" class=\"wp-image-1964896\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/04\/POxbeEjOtS-1024x329.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/04\/POxbeEjOtS-300x96.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/04\/POxbeEjOtS-768x247.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/04\/POxbeEjOtS-1536x494.png 1536w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/04\/POxbeEjOtS.png 1686w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-here-comes-the-snippet\">Here Comes the Snippet<\/h2>\n\n\n\n<p>Add the following code to your site, and you\u2019ll see the event title appear right next to each ticket title:<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/masoodahmed\/bdfeabfd4132ed3d8db211a78d95047b.js\"><\/script>\n\n\n\n<p>Add the code snippet to the <em>functions.php<\/em> file of your theme, or use your preferred method for integrating snippets into your WordPress site, such as the free <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener\">Code Snippets<\/a> plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-for-developers\">For Developers<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/developer.wordpress.org\/reference\/hooks\/manage_screen-id_columns\/\">manage_{$screen-&gt;id}_columns<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/developer.wordpress.org\/reference\/hooks\/manage_post-post_type_posts_custom_column\/\">manage_{$post-&gt;post_type}_posts_custom_column<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/functions\/tribe_events_product_is_ticket\/\">tribe_events_product_is_ticket<\/a><\/span><\/li>\n\n\n\n<li><span style=\"text-decoration: underline;\"><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/functions\/tribe_events_get_ticket_event\/\">tribe_events_get_ticket_event<\/a><\/span><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using WooCommerce alongside the Event Tickets Plus plugin, you might have noticed a common challenge when managing Ticket Products. When multiple events offer tickets with the same name, such as &#8220;General Entry,&#8221; it can be challenging to quickly identify which ticket belongs to which event in the WooCommerce Products list. To improve this&#8230;<\/p>\n","protected":false},"author":59,"featured_media":1955565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[24,59,79],"tags":[20,25,58,212,106],"stellar-product-taxonomy":[156],"class_list":["post-1964895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-customizing-resources","category-snippets","tag-code","tag-customizations","tag-php","tag-snippets","tag-woocommerce","stellar-product-taxonomy-event-tickets-plus"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":59,"label":"PHP &amp; Functions"},{"value":79,"label":"Snippets"}],"post_tag":[{"value":20,"label":"Code"},{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"},{"value":212,"label":"snippets"},{"value":106,"label":"WooCommerce"}],"stellar-product-taxonomy":[{"value":156,"label":"Event Tickets Plus"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Masood","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/masood\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":110,"filter":"raw","term_order":"0","cat_ID":24,"category_count":110,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":59,"name":"PHP &amp; Functions","slug":"customizing-resources","term_group":0,"term_taxonomy_id":59,"taxonomy":"category","description":"","parent":24,"count":101,"filter":"raw","term_order":"0","cat_ID":59,"category_count":101,"category_description":"","cat_name":"PHP &amp; Functions","category_nicename":"customizing-resources","category_parent":24},{"term_id":79,"name":"Snippets","slug":"snippets","term_group":0,"term_taxonomy_id":79,"taxonomy":"category","description":"","parent":0,"count":136,"filter":"raw","term_order":"0","cat_ID":79,"category_count":136,"category_description":"","cat_name":"Snippets","category_nicename":"snippets","category_parent":0}],"tag_info":[{"term_id":20,"name":"Code","slug":"code","term_group":0,"term_taxonomy_id":20,"taxonomy":"post_tag","description":"","parent":0,"count":33,"filter":"raw","term_order":"0"},{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":177,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":128,"filter":"raw","term_order":"0"},{"term_id":212,"name":"snippets","slug":"snippets","term_group":0,"term_taxonomy_id":212,"taxonomy":"post_tag","description":"","parent":0,"count":17,"filter":"raw","term_order":"0"},{"term_id":106,"name":"WooCommerce","slug":"woocommerce","term_group":0,"term_taxonomy_id":106,"taxonomy":"post_tag","description":"","parent":26,"count":40,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1964895"}],"version-history":[{"count":5,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964895\/revisions"}],"predecessor-version":[{"id":1964906,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1964895\/revisions\/1964906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1964895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1964895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1964895"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1964895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}