{"id":1446211,"date":"2018-02-07T06:05:16","date_gmt":"2018-02-07T14:05:16","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/"},"modified":"2018-02-07T06:05:16","modified_gmt":"2018-02-07T14:05:16","slug":"buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/","title":{"rendered":"Buy Now button disappears if regular price field is blank in WooCommerce product"},"content":{"rendered":"<p>I am using event ticket plus with WooCommerce. When the price field is left blank on the product the Buy Now button does not appear on the event listing page.<\/p>\n<p>I need to leave the pricing field blank (not even &#8216;0&#8217;) because I am using a currency plugin which allows me to set the price of the product in currencies different to the WooCommerce base currency for events in different countries.<\/p>\n<p>I have tried disabling the currency plugin to ensure it is not something that is doing directly and the problem still remains.<\/p>\n<p>Essentially, if I put zero or another number in the regular price field on the ticket product in WooCommerce the button displays. If I leave the regular pricing field blank it does not.<\/p>\n<p>Please can you advise whether this is something you can fix or at least point me to where a check is being made on the regular price field which might cause this.<\/p>\n","protected":false},"template":"","class_list":["post-1446211","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>Buy Now button disappears if regular price field is blank in WooCommerce product -<\/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\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Buy Now button disappears if regular price field is blank in WooCommerce product -\" \/>\n<meta property=\"og:description\" content=\"I am using event ticket plus with WooCommerce. When the price field is left blank on the product the Buy Now button does not appear on the event listing page. I need to leave the pricing field blank (not even &#8216;0&#8217;) because I am using a currency plugin which allows me to set the price [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/\" \/>\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\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/\",\"name\":\"Buy Now button disappears if regular price field is blank in WooCommerce product -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-02-07T14:05:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/#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\":\"Buy Now button disappears if regular price field is blank in WooCommerce product\"}]},{\"@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":"Buy Now button disappears if regular price field is blank in WooCommerce product -","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\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/","og_locale":"en_US","og_type":"article","og_title":"Buy Now button disappears if regular price field is blank in WooCommerce product -","og_description":"I am using event ticket plus with WooCommerce. When the price field is left blank on the product the Buy Now button does not appear on the event listing page. I need to leave the pricing field blank (not even &#8216;0&#8217;) because I am using a currency plugin which allows me to set the price [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/","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\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/","name":"Buy Now button disappears if regular price field is blank in WooCommerce product -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-02-07T14:05:16+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/buy-now-button-disappears-if-regular-price-field-is-blank-in-woocommerce-product\/#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":"Buy Now button disappears if regular price field is blank in WooCommerce product"}]},{"@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\/1446211","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\/1446211\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1446211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}