{"id":1107435,"date":"2016-04-26T16:22:43","date_gmt":"2016-04-26T23:22:43","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/"},"modified":"2016-05-12T09:35:04","modified_gmt":"2016-05-12T16:35:04","slug":"importing-tickets-what-is-the-custom-field","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/","title":{"rendered":"Importing Tickets &#8211; What is the custom field?"},"content":{"rendered":"<p>As has been stated elsewhere, it&#8217;s not currently possible to import tickets. I&#8217;m trying to do so through a WooCommerce product import CSV. <\/p>\n<p>Using this post &#8211; https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-options\/ &#8211; I&#8217;ve been able to set up a Custom Field that accepts _tribe_wooticket_for_event. I can then associate the product with the correct event in my CSV file, and voila, I have a ticket for all of the 400 events I&#8217;m importing.<\/p>\n<p>The problem is coming when I try to import <strong>_tribe_tickets_meta<\/strong> from the Event Tickets Plus plugin. This is a big array that gets serialized in the DB. <\/p>\n<p>In order to get that to import, I would first have to deserialize the array and fit it into a single cell (I think). I&#8217;m having a terrible time figuring out how I&#8217;d do that.<\/p>\n<p>Here is the serialized cell: <\/p>\n<p>a:2:{i:0;a:5:{s:4:&#8221;type&#8221;;s:4:&#8221;text&#8221;;s:8:&#8221;required&#8221;;s:2:&#8221;on&#8221;;s:5:&#8221;label&#8221;;s:44:&#8221;Please tell us what sewing machine you have.&#8221;;s:4:&#8221;slug&#8221;;s:43:&#8221;please-tell-us-what-sewing-machine-you-have&#8221;;s:5:&#8221;extra&#8221;;a:0:{}}i:1;a:5:{s:4:&#8221;type&#8221;;s:4:&#8221;text&#8221;;s:8:&#8221;required&#8221;;s:2:&#8221;on&#8221;;s:5:&#8221;label&#8221;;s:12:&#8221;Phone Number&#8221;;s:4:&#8221;slug&#8221;;s:12:&#8221;phone-number&#8221;;s:5:&#8221;extra&#8221;;a:0:{}}}<\/p>\n<p>It seems that instead of deserializing the above, I could just give it JSON key-&gt;value pairs that it would serialize the right way. Any suggestions on how I&#8217;d go about this? <\/p>\n<p>Once this is answered, there may be a good way to import tickets en masse, which I&#8217;m sure would be helpful to a lot of us.<\/p>\n<p>Thanks! <\/p>\n","protected":false},"template":"","class_list":["post-1107435","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>Importing Tickets - What is the custom field? -<\/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\/importing-tickets-what-is-the-custom-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Importing Tickets - What is the custom field? -\" \/>\n<meta property=\"og:description\" content=\"As has been stated elsewhere, it&#8217;s not currently possible to import tickets. I&#8217;m trying to do so through a WooCommerce product import CSV. Using this post &#8211; https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-options\/ &#8211; I&#8217;ve been able to set up a Custom Field that accepts _tribe_wooticket_for_event. I can then associate the product with the correct event in my CSV file, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-12T16:35:04+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\/importing-tickets-what-is-the-custom-field\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/\",\"name\":\"Importing Tickets - What is the custom field? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-04-26T23:22:43+00:00\",\"dateModified\":\"2016-05-12T16:35:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/#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\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Importing Tickets &#8211; What is the custom field?\"}]},{\"@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":"Importing Tickets - What is the custom field? -","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\/importing-tickets-what-is-the-custom-field\/","og_locale":"en_US","og_type":"article","og_title":"Importing Tickets - What is the custom field? -","og_description":"As has been stated elsewhere, it&#8217;s not currently possible to import tickets. I&#8217;m trying to do so through a WooCommerce product import CSV. Using this post &#8211; https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-options\/ &#8211; I&#8217;ve been able to set up a Custom Field that accepts _tribe_wooticket_for_event. I can then associate the product with the correct event in my CSV file, [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/","article_modified_time":"2016-05-12T16:35:04+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\/importing-tickets-what-is-the-custom-field\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/","name":"Importing Tickets - What is the custom field? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-04-26T23:22:43+00:00","dateModified":"2016-05-12T16:35:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/importing-tickets-what-is-the-custom-field\/#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":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Importing Tickets &#8211; What is the custom field?"}]},{"@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\/1107435","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1107435\/revisions"}],"predecessor-version":[{"id":1107618,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1107435\/revisions\/1107618"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1107435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}