{"id":342,"date":"2018-04-05T11:37:57","date_gmt":"2018-04-05T11:37:57","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-advanced-categories\/?post_type=faq&#038;p=342"},"modified":"2020-07-30T15:10:53","modified_gmt":"2020-07-30T13:10:53","slug":"nested-categories","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/nested-categories\/","title":{"rendered":"WooCommerce Nested Categories"},"content":{"rendered":"<p>With our plugin you are able to show nested categories on a product category page. The normal WooCommerce behaviour,\u00a0 when you have set to show subcategories and products, would display categories first and then show all products from the category like this:<\/p>\n<figure id=\"attachment_5600\" aria-describedby=\"caption-attachment-5600\" style=\"width: 524px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5600\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/not-nested-categories.png\" alt=\"default woocommerce categories both display\" width=\"524\" height=\"836\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/not-nested-categories.png 524w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/not-nested-categories-247x394.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/not-nested-categories-510x814.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/not-nested-categories-188x300.png 188w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><figcaption id=\"caption-attachment-5600\" class=\"wp-caption-text\">default woocommerce categories both display<\/figcaption><\/figure>\n<p>When you enable the nested categories option within our plugin settings you can achieve a splitted view. This means the subcategories will be displayed step by step with their corresponding categories. This will look like this:<\/p>\n<figure id=\"attachment_5599\" aria-describedby=\"caption-attachment-5599\" style=\"width: 390px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5599\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/nested-categories-enabled.jpg\" alt=\"woocommerce nested categories example\" width=\"390\" height=\"892\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/nested-categories-enabled.jpg 390w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/nested-categories-enabled-247x565.jpg 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/nested-categories-enabled-131x300.jpg 131w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><figcaption id=\"caption-attachment-5599\" class=\"wp-caption-text\">woocommerce nested categories example<\/figcaption><\/figure>\n<p>To enable nested categories you can simply activate it in our plugin settings.<\/p>\n<figure id=\"attachment_5602\" aria-describedby=\"caption-attachment-5602\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5602\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-1024x457.png\" alt=\"enable woocommerce nested categories\" width=\"1020\" height=\"455\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-1024x457.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-247x110.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-510x227.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-300x134.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-768x343.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-1536x685.png 1536w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/enable-woocommerce-nested-categories-2048x913.png 2048w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5602\" class=\"wp-caption-text\">enable woocommerce nested categories<\/figcaption><\/figure>\n<p>You can enable or disable this setting also manually when you edit a product category. Always make sure the display type for a category is set to both.<\/p>\n<figure id=\"attachment_5601\" aria-describedby=\"caption-attachment-5601\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-5601\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both-1024x629.png\" alt=\"make sure categories display is set to both\" width=\"1020\" height=\"627\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both-1024x629.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both-247x152.png 247w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both-510x313.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both-300x184.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both-768x472.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2018\/04\/make-sure-categories-display-is-set-to-both.png 1250w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-5601\" class=\"wp-caption-text\">make sure categories display is set to both<\/figcaption><\/figure>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-342","faq","type-faq","status-publish","hentry","faq_topics-advanced-categories-getting-started"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=342"}],"version-history":[{"count":2,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/342\/revisions"}],"predecessor-version":[{"id":5604,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/342\/revisions\/5604"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}