{"id":1051350,"date":"2016-01-06T10:25:35","date_gmt":"2016-01-06T18:25:35","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/"},"modified":"2016-02-18T08:34:10","modified_gmt":"2016-02-18T16:34:10","slug":"attendees-list-still-needs-last-name-column","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/","title":{"rendered":"Attendees List still needs Last Name Column"},"content":{"rendered":"<p>You sure are quick to close topics to further discussion!<\/p>\n<p>So,  I&#8217;ll have to respond to https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-tickets-split-first-name-last-name\/#post-1051182  by starting a new thread.<\/p>\n<p>One of the events for which we have used The Events Calendar and WooTickets  is a festival that takes place at many venues around our town,  sometimes with multiple events at the same time.   We use volunteers to check people in, and the low-tech  paper method works best, at least for now.   Volunteers at the box office of the theater handle the paper list better than all the technology.<\/p>\n<p>Woo Commerce still collects billing info as separate names,  so the content that I need is present in the system, I&#8217;ve just lost the ability to harvest it &#8212; and I guess RSVP &#8220;tickets&#8221; would still be  a single name field.<\/p>\n<p>In an earlier version I would modify the file  class-wootickets.php adding this line:<\/p>\n<p>\t$lname      = get_post_meta( $order_id, &#8216;_billing_last_name&#8217;, true );<\/p>\n<p>and then then in a file called tribe-tickets-attendees.php  I added  the next line to get the column in the report.  <\/p>\n<p>        &#8216;purchaser_lname&#8217;  =&gt; __( &#8216;Purchaser last name&#8217;, &#8216;tribe-events-calendar&#8217; ),<\/p>\n<p>With new Events Calendar and Events Tickets Plus installed, I tried the following, but it didn&#8217;t work: &#8212;  Can you point me to how I can harvest the last name from the order metadata (which WooCommerce has collected)?<\/p>\n<p>Plugins\/event-tickets-plus\/src\/Tribe\/Commerce\/WooCommerce\/Main.php<\/p>\n<p>add Line 944<br \/>\n$lname      = get_post_meta( $order_id, &#8216;_billing_last_name&#8217;, true );<\/p>\n<p>add Line 989<br \/>\n&#8216;purchaser_lname&#8217;    =&gt; $lname,<\/p>\n","protected":false},"template":"","class_list":["post-1051350","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Attendees List still needs Last Name Column -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Attendees List still needs Last Name Column -\" \/>\n<meta property=\"og:description\" content=\"You sure are quick to close topics to further discussion! So, I&#8217;ll have to respond to https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-tickets-split-first-name-last-name\/#post-1051182 by starting a new thread. One of the events for which we have used The Events Calendar and WooTickets is a festival that takes place at many venues around our town, sometimes with multiple events at the same [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:34:10+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/\",\"name\":\"Attendees List still needs Last Name Column -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-06T18:25:35+00:00\",\"dateModified\":\"2016-02-18T16:34:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Attendees List still needs Last Name Column\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Attendees List still needs Last Name Column -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/","og_locale":"en_US","og_type":"article","og_title":"Attendees List still needs Last Name Column -","og_description":"You sure are quick to close topics to further discussion! So, I&#8217;ll have to respond to https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-tickets-split-first-name-last-name\/#post-1051182 by starting a new thread. One of the events for which we have used The Events Calendar and WooTickets is a festival that takes place at many venues around our town, sometimes with multiple events at the same [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/","article_modified_time":"2016-02-18T16:34:10+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/","name":"Attendees List still needs Last Name Column -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-06T18:25:35+00:00","dateModified":"2016-02-18T16:34:10+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/attendees-list-still-needs-last-name-column\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"Attendees List still needs Last Name Column"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1051350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1051350\/revisions"}],"predecessor-version":[{"id":1052641,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1051350\/revisions\/1052641"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1051350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}