{"id":1246114,"date":"2017-02-26T23:56:05","date_gmt":"2017-02-27T07:56:05","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/"},"modified":"2017-02-26T23:56:05","modified_gmt":"2017-02-27T07:56:05","slug":"add-to-cart-with-0-zero-tickets-selected-2","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/","title":{"rendered":"Add to Cart with 0 (zero) Tickets selected"},"content":{"rendered":"<p>+ same issue here.<\/p>\n<p>My suggestion for a solution:<br \/>\ninstead of setting a minimum quantity of 1 as a default value, I&#8217;d recommend adding an info message, when the user tries to add 0 tickets to cart reading the following:<br \/>\nPlease select the desired amount of tickets first, then click the add to cart button again. Thank you.<\/p>\n<p>Or something alike.<br \/>\nThis message should be in the form of the common woocommerce error notices , that also appear in usual product pages when trying to add the amount of 0 items to cart.<\/p>\n<p>It is als not a good idea to set 1 as a minimum, because how would the script behave if we had more than one ticket type for an event? in that case all ticket types would be added to the cart, if we set 1 as mininum on each amount selector&#8230;<\/p>\n<p>Please make the connection to woocommerce smoother and more polished in general.<br \/>\nThanks<\/p>\n<p>========================<br \/>\nPLEASE LEAVE FOR SUPPORT<br \/>\nReporting the same issue as:\u00a0https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected\/<\/p>\n","protected":false},"template":"","class_list":["post-1246114","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>Add to Cart with 0 (zero) Tickets selected -<\/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\/add-to-cart-with-0-zero-tickets-selected-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add to Cart with 0 (zero) Tickets selected -\" \/>\n<meta property=\"og:description\" content=\"+ same issue here. My suggestion for a solution: instead of setting a minimum quantity of 1 as a default value, I&#8217;d recommend adding an info message, when the user tries to add 0 tickets to cart reading the following: Please select the desired amount of tickets first, then click the add to cart button [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/\" \/>\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\/add-to-cart-with-0-zero-tickets-selected-2\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/\",\"name\":\"Add to Cart with 0 (zero) Tickets selected -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-02-27T07:56:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/#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\":\"Add to Cart with 0 (zero) Tickets selected\"}]},{\"@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":"Add to Cart with 0 (zero) Tickets selected -","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\/add-to-cart-with-0-zero-tickets-selected-2\/","og_locale":"en_US","og_type":"article","og_title":"Add to Cart with 0 (zero) Tickets selected -","og_description":"+ same issue here. My suggestion for a solution: instead of setting a minimum quantity of 1 as a default value, I&#8217;d recommend adding an info message, when the user tries to add 0 tickets to cart reading the following: Please select the desired amount of tickets first, then click the add to cart button [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/","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\/add-to-cart-with-0-zero-tickets-selected-2\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/","name":"Add to Cart with 0 (zero) Tickets selected -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-02-27T07:56:05+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-to-cart-with-0-zero-tickets-selected-2\/#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":"Add to Cart with 0 (zero) Tickets selected"}]},{"@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\/1246114","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\/1246114\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1246114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}