{"id":1253588,"date":"2017-03-13T16:20:15","date_gmt":"2017-03-13T23:20:15","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/"},"modified":"2017-03-13T16:20:15","modified_gmt":"2017-03-13T23:20:15","slug":"how-to-access-original-event-page-details-using-woocommerce-order-details","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/","title":{"rendered":"How to access original Event Page details using Woocommerce order details"},"content":{"rendered":"<p>Hi all!<\/p>\n<p>I&#8217;m having issues getting to ACF fields on the event listing after purchase&#8230; let me explain&#8230;<\/p>\n<p>I have an event page with Woocommerce tickets. After ordering I tap into the <code>mysite_woocommerce_order_status_completed<\/code> hook to send some emails and save some data to a Google Spreadsheet.<\/p>\n<p>At this point i have access to all the purchase information, user name, payment etc etc but I want to access ACF field data from the event post itself.<\/p>\n<p>Any idea how I can get there? I have the Woo Order ID and with this I can query for the Ticket ID (order_item_id) but still no closer to getting the original Event ID so I can access the ACF fields&#8230;<\/p>\n<p>Hope this makes sense!<\/p>\n<p>Cheers<br \/>\nRob<\/p>\n","protected":false},"template":"","class_list":["post-1253588","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>How to access original Event Page details using Woocommerce order details -<\/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\/how-to-access-original-event-page-details-using-woocommerce-order-details\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to access original Event Page details using Woocommerce order details -\" \/>\n<meta property=\"og:description\" content=\"Hi all! I&#8217;m having issues getting to ACF fields on the event listing after purchase&#8230; let me explain&#8230; I have an event page with Woocommerce tickets. After ordering I tap into the mysite_woocommerce_order_status_completed hook to send some emails and save some data to a Google Spreadsheet. At this point i have access to all the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/\" \/>\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\/how-to-access-original-event-page-details-using-woocommerce-order-details\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/\",\"name\":\"How to access original Event Page details using Woocommerce order details -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-03-13T23:20:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/#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\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to access original Event Page details using Woocommerce order details\"}]},{\"@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":"How to access original Event Page details using Woocommerce order details -","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\/how-to-access-original-event-page-details-using-woocommerce-order-details\/","og_locale":"en_US","og_type":"article","og_title":"How to access original Event Page details using Woocommerce order details -","og_description":"Hi all! I&#8217;m having issues getting to ACF fields on the event listing after purchase&#8230; let me explain&#8230; I have an event page with Woocommerce tickets. After ordering I tap into the mysite_woocommerce_order_status_completed hook to send some emails and save some data to a Google Spreadsheet. At this point i have access to all the [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/","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\/how-to-access-original-event-page-details-using-woocommerce-order-details\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/","name":"How to access original Event Page details using Woocommerce order details -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-03-13T23:20:15+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-access-original-event-page-details-using-woocommerce-order-details\/#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":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"How to access original Event Page details using Woocommerce order details"}]},{"@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\/1253588","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1253588\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1253588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}