{"id":1046453,"date":"2015-12-25T05:49:11","date_gmt":"2015-12-25T13:49:11","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/"},"modified":"2016-01-06T23:06:51","modified_gmt":"2016-01-07T07:06:51","slug":"default-tickets-set-to-0","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/","title":{"rendered":"Default tickets set to 0"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I raised this issue a while back but didn&#8217;t have time at that point to implement the advice I was given. I&#8217;d like to change the default value in the tickets field for woocommerce from 0 to 1. This is because if the user clicks add to cart with 0 in the field they get to a page that says &#8216;Your cart is currently empty.&#8217; and &#8216;return to shop&#8217; &#8211; which takes them to an empty products archive for those of us just selling tickets : ) &#8211; I think you guys should change it during one of your updates to default to 1 as I&#8217;ve seen this issue come up in many threads.<\/p>\n<p>Anyway, the fix I was given no longer applies since wootickets is gone and I&#8217;m using Event Tickets now. I found Tickets.php in this folder &#8211; event-tickets\/src\/template-tags\/tickets.php &#8211; but there is no mention of &#8216;input_value&#8217; that can be changed to 1 instead of 0 which is the advice given to someone in a previous thread here &#8211; https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-doesnt-work-with-quantity-set-to-0\/.<\/p>\n<p>So how do I go about changing the default value in the tickets field to 1 now?<\/p>\n<p>Thanks,<br \/>\nMat <\/p>\n","protected":false},"template":"","class_list":["post-1046453","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>Default tickets set to 0 -<\/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\/default-tickets-set-to-0\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Default tickets set to 0 -\" \/>\n<meta property=\"og:description\" content=\"Hi, I raised this issue a while back but didn&#8217;t have time at that point to implement the advice I was given. I&#8217;d like to change the default value in the tickets field for woocommerce from 0 to 1. This is because if the user clicks add to cart with 0 in the field they [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-01-07T07:06:51+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\/default-tickets-set-to-0\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/\",\"name\":\"Default tickets set to 0 -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-12-25T13:49:11+00:00\",\"dateModified\":\"2016-01-07T07:06:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/#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\":\"Default tickets set to 0\"}]},{\"@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":"Default tickets set to 0 -","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\/default-tickets-set-to-0\/","og_locale":"en_US","og_type":"article","og_title":"Default tickets set to 0 -","og_description":"Hi, I raised this issue a while back but didn&#8217;t have time at that point to implement the advice I was given. I&#8217;d like to change the default value in the tickets field for woocommerce from 0 to 1. This is because if the user clicks add to cart with 0 in the field they [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/","article_modified_time":"2016-01-07T07:06:51+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\/default-tickets-set-to-0\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/","name":"Default tickets set to 0 -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-12-25T13:49:11+00:00","dateModified":"2016-01-07T07:06:51+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/default-tickets-set-to-0\/#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":"Default tickets set to 0"}]},{"@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\/1046453","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\/1046453\/revisions"}],"predecessor-version":[{"id":1048591,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1046453\/revisions\/1048591"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1046453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}