{"id":9007989,"date":"2017-04-07T20:28:57","date_gmt":"2017-04-07T20:28:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/bug-in-product-archive-pages-with-wc3-01\/"},"modified":"2017-04-07T20:28:57","modified_gmt":"2017-04-07T20:28:57","slug":"bug-in-product-archive-pages-with-wc3-01","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/bug-in-product-archive-pages-with-wc3-01\/","title":{"rendered":"BUG in product archive pages with WC3.01"},"content":{"rendered":"<p>We noticed big bug in product archive pages.<\/p>\n<p>By default we set woocommerce to hide the products that are out of stock.<\/p>\n<p>The products are hidden, but instead of going directly to the next product that is ON stock, product archive pages show empty space for out of stock products.<br \/>\nAlso noticed the out of stock products are being counted in info (showing x out of xx results)<\/p>\n<p>Our shop has more than 5.5K products, of which we have around 3.8K on stock.<\/p>\n<p>Or to summarize:<br \/>\nIn settings we set to hide out of stock products, they are being counted and displayed with blank space in product archives.<\/p>\n<p>P\/S<br \/>\nIn WC 2.6 the loop and count was automatically skipping these products.<\/p>\n","protected":false},"template":"","class_list":["post-9007989","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9007989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9007989\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9007989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}