{"id":1355791,"date":"2017-09-27T13:57:35","date_gmt":"2017-09-27T20:57:35","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/"},"modified":"2017-09-27T14:03:15","modified_gmt":"2017-09-27T21:03:15","slug":"data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/","title":{"rendered":"Data from only single ticket field set retained when purchasing multiple tickets"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>We&#8217;ve encountered a significant issue with Event Tickets Plus that&#8217;s causing us a bit of a headache.<\/p>\n<p>Currently we&#8217;re using a range of your plugins to achieve purchasable tickets which each have user entered data associated with that ticket.<\/p>\n<p>Some added functionality we&#8217;re looking to achieve is displaying ticket data under each ticket name on the cart page, on the invoice emails and eventually on the order object in the WooCommerce Orders section.<\/p>\n<p>Field set data for all tickets purchased is carried through the cart, checkout and stored in successfully if a user selects their ticket quantity, inputs the fieldset data then either navigates to add other tickets or, goes to the cart etc.<\/p>\n<p>The main issue we&#8217;re encountering is when a user selects their ticket quantity, enters the data for the fieldsets, goes through to where ever then later, and before completing the purchase, they go back and select the same ticket on the same event, enter the fieldsets again and try to add another of those tickets to the cart. The cart will reflect the total number of tickets selected overall however, the fieldset data entered the second time around overrides the fieldset data entered the first time around. Instead of fieldset data being added to the _tribe_tickets_meta entry in the order meta data, it overwrites it. The end result, for example, is the ticket fieldset will state a single set of fieldset data showing as associated the ticket while the total number of tickets being theoretically infinite. <\/p>\n<p>A subsidiary issue we&#8217;ve encountered is that on the cart page, for any ticket that has associated fieldset data, when refreshing the page via either shortcut keys (ctrl + r, ctrl + f5), right click menu &gt; reload via either clicking the page or browser tab or, clicking the reload button, the ticket quantity is increased by 1 for each refresh made.<br \/>\nThis does not happen for tickets without those fieldsets added and interestingly, the quantity increments do not occur if the page is reloaded via the address bar and as such, will not increment after the $_POST data has been lost.<\/p>\n<p>To ensure this broken functionality is not theme or plugin specific we&#8217;ve deactivated all plugins not relevant and also are running theme Twenty Fourteen as requested.<\/p>\n<p>Thanks in advance for your help.<\/p>\n","protected":false},"template":"","class_list":["post-1355791","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>Data from only single ticket field set retained when purchasing multiple tickets -<\/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\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data from only single ticket field set retained when purchasing multiple tickets -\" \/>\n<meta property=\"og:description\" content=\"Hi there, We&#8217;ve encountered a significant issue with Event Tickets Plus that&#8217;s causing us a bit of a headache. Currently we&#8217;re using a range of your plugins to achieve purchasable tickets which each have user entered data associated with that ticket. Some added functionality we&#8217;re looking to achieve is displaying ticket data under each ticket [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-09-27T21:03:15+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=\"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\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/\",\"name\":\"Data from only single ticket field set retained when purchasing multiple tickets -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-09-27T20:57:35+00:00\",\"dateModified\":\"2017-09-27T21:03:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/#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\":\"Data from only single ticket field set retained when purchasing multiple tickets\"}]},{\"@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":"Data from only single ticket field set retained when purchasing multiple tickets -","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\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/","og_locale":"en_US","og_type":"article","og_title":"Data from only single ticket field set retained when purchasing multiple tickets -","og_description":"Hi there, We&#8217;ve encountered a significant issue with Event Tickets Plus that&#8217;s causing us a bit of a headache. Currently we&#8217;re using a range of your plugins to achieve purchasable tickets which each have user entered data associated with that ticket. Some added functionality we&#8217;re looking to achieve is displaying ticket data under each ticket [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/","article_modified_time":"2017-09-27T21:03:15+00:00","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\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/","name":"Data from only single ticket field set retained when purchasing multiple tickets -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-09-27T20:57:35+00:00","dateModified":"2017-09-27T21:03:15+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/data-from-only-single-ticket-field-set-retained-when-purchasing-multiple-tickets\/#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":"Data from only single ticket field set retained when purchasing multiple tickets"}]},{"@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\/1355791","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\/1355791\/revisions"}],"predecessor-version":[{"id":1355794,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1355791\/revisions\/1355794"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1355791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}