{"id":1390127,"date":"2017-11-23T08:51:49","date_gmt":"2017-11-23T16:51:49","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/"},"modified":"2017-11-23T09:00:17","modified_gmt":"2017-11-23T17:00:17","slug":"automatization-ticket-plus-with-custom-field-data-from-event-post","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/","title":{"rendered":"Automatization Ticket Plus with Custom Field Data from Event-Post"},"content":{"rendered":"<p>I bought the plugin Event Tickets Plus for WooCommerce 2 days ago.<\/p>\n<p>My goal ist an automatization of the Ticket creation process with custom meta data from every event post.<\/p>\n<p>The setting: a user submits an event post by filling out a gravity form for usergenerated content on our page with his event dates. After submitting the form Gravity generates a normal WordPress post and stores custom inputs from the form in several custom meta fields attached to the post (like ticket price, max number of attendees = amount of tickets to generate, ticket location, event date, starting time and some more).<\/p>\n<p>The posts are firstly in review mode und not visible on the page.<\/p>\n<p>How can i trigger to autogenerate the tickets for each event in review mode using the custom meta data for price, amount and all other settings for the tickets from the post stored data created from the form?<\/p>\n<p>And how can i use these custom meta data for the Templates creating the PDF-Tickets oder e-tickets to send via mail to the customers?<\/p>\n<p>It would be so awesome if you can think you into this process and give me a hint to put some stuff to my functions.php to get this setup rolling:<\/p>\n<p>User creates Event -&gt; Event creates Ticket -&gt; Ticket template pulls the needed data from Event AND Ticket.<\/p>\n<p>I am able to code in php with several years of experience. I need some hints how to connect your plugin with the custom fields of my modified event posts. Maybe with some hook functions or extending the class for the ticket to use the custom data inside my functions.php to keep the plugin updatable.<\/p>\n<p>Many greets from germany and regards<\/p>\n<p>Markus<\/p>\n","protected":false},"template":"","class_list":["post-1390127","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>Automatization Ticket Plus with Custom Field Data from Event-Post -<\/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\/automatization-ticket-plus-with-custom-field-data-from-event-post\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatization Ticket Plus with Custom Field Data from Event-Post -\" \/>\n<meta property=\"og:description\" content=\"I bought the plugin Event Tickets Plus for WooCommerce 2 days ago. My goal ist an automatization of the Ticket creation process with custom meta data from every event post. The setting: a user submits an event post by filling out a gravity form for usergenerated content on our page with his event dates. After [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-23T17:00:17+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\/automatization-ticket-plus-with-custom-field-data-from-event-post\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/\",\"name\":\"Automatization Ticket Plus with Custom Field Data from Event-Post -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-11-23T16:51:49+00:00\",\"dateModified\":\"2017-11-23T17:00:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/#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\":\"Automatization Ticket Plus with Custom Field Data from Event-Post\"}]},{\"@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":"Automatization Ticket Plus with Custom Field Data from Event-Post -","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\/automatization-ticket-plus-with-custom-field-data-from-event-post\/","og_locale":"en_US","og_type":"article","og_title":"Automatization Ticket Plus with Custom Field Data from Event-Post -","og_description":"I bought the plugin Event Tickets Plus for WooCommerce 2 days ago. My goal ist an automatization of the Ticket creation process with custom meta data from every event post. The setting: a user submits an event post by filling out a gravity form for usergenerated content on our page with his event dates. After [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/","article_modified_time":"2017-11-23T17:00:17+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\/automatization-ticket-plus-with-custom-field-data-from-event-post\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/","name":"Automatization Ticket Plus with Custom Field Data from Event-Post -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-11-23T16:51:49+00:00","dateModified":"2017-11-23T17:00:17+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/automatization-ticket-plus-with-custom-field-data-from-event-post\/#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":"Automatization Ticket Plus with Custom Field Data from Event-Post"}]},{"@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\/1390127","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\/1390127\/revisions"}],"predecessor-version":[{"id":1390133,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1390127\/revisions\/1390133"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1390127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}