{"id":1363609,"date":"2017-10-13T22:01:26","date_gmt":"2017-10-14T05:01:26","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/"},"modified":"2017-10-17T00:13:31","modified_gmt":"2017-10-17T07:13:31","slug":"book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/","title":{"rendered":"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I&#8217;m not sure if this issue happened after I updated WooCommerce to version 3.2.0, or if after I modified the Product permalinks Custom Base (although reverting back to what it used to be didn&#8217;t solve the issue)&#8230; But my event tickets are now leading to a page not found, even though they get added to the cart.<\/p>\n<p>The 404 Not Found link looks like this: https:\/\/valleyfirstaidtraining.ca\/course\/ofa-level-2-full-time-langley-171204\/%3Cbr%20\/%3E%3Cb%3ENotice%3C\/b%3E:%20%20WC_Cart::get_cart_url%20is%20%3Cstrong%3Edeprecated%3C\/strong%3E%20since%20version%202.5!%20Use%20wc_get_cart_url%20instead.%20in%20%3Cb%3E\/home\/valleyfi\/public_html\/wp-includes\/functions.php%3C\/b%3E%20on%20line%20%3Cb%3E3831%3C\/b%3E%3Cbr%20\/%3Ehttps:\/\/valleyfirstaidtraining.ca\/cart\/?wootickets_process=1<\/p>\n<p>(Note: I can see this in Safari, but on Chrome the Book Now button doesn&#8217;t redirect anywhere, and the Cart page remains unchanged).<\/p>\n<p>After refreshing the Permalinks and even changing the Product Custom Base the error persists. When I go to the Cart page the ticket shows there as if it&#8217;s been added successfully, but when you click the &#8220;Book Now&#8221; button you get the error.<\/p>\n<p>One page you could try clicking the &#8220;Book Now&#8221; button as a test is this https:\/\/valleyfirstaidtraining.ca\/course\/ofa-level-2-full-time-langley-171204\/<\/p>\n<p>Since last weekend, I added some WooCommerce products to this website, so now people can purchase Course tickets (like the page above) as well as Equipments, from this page (not yet promoted to the public): https:\/\/valleyfirstaidtraining.ca\/equipment-sales.<\/p>\n<p>I&#8217;m not sure what went sideways. Can you please help??<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1363609","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>Book Now button leads to page not found. WC_Cart::get_cart_url deprecated -<\/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\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated -\" \/>\n<meta property=\"og:description\" content=\"Hi there, I&#8217;m not sure if this issue happened after I updated WooCommerce to version 3.2.0, or if after I modified the Product permalinks Custom Base (although reverting back to what it used to be didn&#8217;t solve the issue)&#8230; But my event tickets are now leading to a page not found, even though they get [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-10-17T07:13:31+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\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/\",\"name\":\"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-10-14T05:01:26+00:00\",\"dateModified\":\"2017-10-17T07:13:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/#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\":\"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated\"}]},{\"@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":"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated -","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\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/","og_locale":"en_US","og_type":"article","og_title":"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated -","og_description":"Hi there, I&#8217;m not sure if this issue happened after I updated WooCommerce to version 3.2.0, or if after I modified the Product permalinks Custom Base (although reverting back to what it used to be didn&#8217;t solve the issue)&#8230; But my event tickets are now leading to a page not found, even though they get [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/","article_modified_time":"2017-10-17T07:13:31+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\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/","name":"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-10-14T05:01:26+00:00","dateModified":"2017-10-17T07:13:31+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/book-now-button-leads-to-page-not-found-wc_cartget_cart_url-deprecated\/#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":"Book Now button leads to page not found. WC_Cart::get_cart_url deprecated"}]},{"@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\/1363609","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\/1363609\/revisions"}],"predecessor-version":[{"id":1364433,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1363609\/revisions\/1364433"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1363609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}