{"id":1074832,"date":"2016-02-18T04:44:10","date_gmt":"2016-02-18T12:44:10","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/"},"modified":"2016-03-09T08:35:07","modified_gmt":"2016-03-09T16:35:07","slug":"sort-tickets-using-sale-end-field","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/","title":{"rendered":"Sort Tickets using Sale End field"},"content":{"rendered":"<p>Hi, <\/p>\n<p>As Event Tickets (running via woocomemrce) doesn&#8217;t allow for tickets to be linked to individual recurring instances I am wondering if it&#8217;s possible to run a ticket sort via functions using the &#8220;sale end&#8221; field?<\/p>\n<p>At present some of our courses have 3 tickets per event and multiple events. The tickets all show in one block at the bottom of the page, and they can only be sorted by price or name, both of which are useless users are looking for a specific date. At the moment all the dates are mixed up as the date field is irrelevant to the sorting.<\/p>\n<p>Looking at the options, one field that we can use to make the tickets vanish after the event is &#8216;sale end&#8217;, so my thinking is that this must be linked to the ticket, and therefore sortable by that? <\/p>\n<p>If you could let me know if you have a workaround for this that would be great as I can&#8217;t be the only person having this issue \ud83d\ude42<\/p>\n<p>Thanks, Iain<\/p>\n","protected":false},"template":"","class_list":["post-1074832","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>Sort Tickets using Sale End 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\/sort-tickets-using-sale-end-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sort Tickets using Sale End field -\" \/>\n<meta property=\"og:description\" content=\"Hi, As Event Tickets (running via woocomemrce) doesn&#8217;t allow for tickets to be linked to individual recurring instances I am wondering if it&#8217;s possible to run a ticket sort via functions using the &#8220;sale end&#8221; field? At present some of our courses have 3 tickets per event and multiple events. The tickets all show in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-09T16:35:07+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\/sort-tickets-using-sale-end-field\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/\",\"name\":\"Sort Tickets using Sale End field -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-02-18T12:44:10+00:00\",\"dateModified\":\"2016-03-09T16:35:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-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\":\"Sort Tickets using Sale End 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":"Sort Tickets using Sale End 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\/sort-tickets-using-sale-end-field\/","og_locale":"en_US","og_type":"article","og_title":"Sort Tickets using Sale End field -","og_description":"Hi, As Event Tickets (running via woocomemrce) doesn&#8217;t allow for tickets to be linked to individual recurring instances I am wondering if it&#8217;s possible to run a ticket sort via functions using the &#8220;sale end&#8221; field? At present some of our courses have 3 tickets per event and multiple events. The tickets all show in [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/","article_modified_time":"2016-03-09T16:35:07+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\/sort-tickets-using-sale-end-field\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/","name":"Sort Tickets using Sale End field -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-02-18T12:44:10+00:00","dateModified":"2016-03-09T16:35:07+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sort-tickets-using-sale-end-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":"Sort Tickets using Sale End 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\/1074832","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\/1074832\/revisions"}],"predecessor-version":[{"id":1077336,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1074832\/revisions\/1077336"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1074832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}