{"id":1348749,"date":"2017-09-13T10:44:49","date_gmt":"2017-09-13T17:44:49","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/"},"modified":"2017-09-13T10:44:49","modified_gmt":"2017-09-13T17:44:49","slug":"view-purchased-tickets-on-custom-post-type","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/","title":{"rendered":"View Purchased Tickets on Custom Post Type"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I just updated to the latest Event Tickets and Event Tickets Plus plugins and noticed that on my custom event post type page, a link appears above the Add to Cart form that shows that I have purchased tickets to this event and is supposed to allow me to view them. After some searching in the forums, it appears that this link has been around for some time yet for some reason it only appeared on my page for the first time after upgrading the plugins a couple of days ago.<\/p>\n<p>The problem I&#8217;m having is that clicking on the link which appends &#8220;?tribe-edit-orders=1&#8221; to the event page&#8217;s URL does nothing other than refresh the current page. I&#8217;m assuming that this has something to do with the fact that I have a custom post type and I&#8217;m using a custom single-page PHP template file to output the content. I may be missing something in my template that is needed to display the purchased tickets edit form? <\/p>\n<p>I did revert the stock 2015 theme and clicking on the view tickets link does indeed bring up a list of the tickets purchased and allows the attendee data to be updated. The only problem on the 2015 theme is that besides showing the purchased tickets, I&#8217;m also getting multiple (3) Add to Cart forms displayed on the page.<\/p>\n<p>Can you tell me if there is something that I need to add to my template file in order to get this feature to appear on my page? If I can&#8217;t get it to work, would it be possible to eliminate the link altogether by calling <code>remove_action(&#039;tribe_tickets_before_front_end_ticket_form&#039; );<\/code> or by overriding a view template?<\/p>\n<p>If I do remove the link from the page, I assume customers would still be able to go to their account page and see their tickets?<\/p>\n<p>Thank you<\/p>\n","protected":false},"template":"","class_list":["post-1348749","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>View Purchased Tickets on Custom Post Type -<\/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\/view-purchased-tickets-on-custom-post-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"View Purchased Tickets on Custom Post Type -\" \/>\n<meta property=\"og:description\" content=\"Hi, I just updated to the latest Event Tickets and Event Tickets Plus plugins and noticed that on my custom event post type page, a link appears above the Add to Cart form that shows that I have purchased tickets to this event and is supposed to allow me to view them. After some searching [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/\",\"name\":\"View Purchased Tickets on Custom Post Type -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-09-13T17:44:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/#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\":\"View Purchased Tickets on Custom Post Type\"}]},{\"@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":"View Purchased Tickets on Custom Post Type -","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\/view-purchased-tickets-on-custom-post-type\/","og_locale":"en_US","og_type":"article","og_title":"View Purchased Tickets on Custom Post Type -","og_description":"Hi, I just updated to the latest Event Tickets and Event Tickets Plus plugins and noticed that on my custom event post type page, a link appears above the Add to Cart form that shows that I have purchased tickets to this event and is supposed to allow me to view them. After some searching [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/","name":"View Purchased Tickets on Custom Post Type -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-09-13T17:44:49+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/view-purchased-tickets-on-custom-post-type\/#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":"View Purchased Tickets on Custom Post Type"}]},{"@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\/1348749","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\/1348749\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1348749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}