{"id":25473,"date":"2022-04-06T04:47:06","date_gmt":"2022-04-06T08:47:06","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=25473"},"modified":"2022-04-06T04:48:26","modified_gmt":"2022-04-06T08:48:26","slug":"layered-navigation-wont-display-on-the-frontend","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display","title":{"rendered":"Product Filter Toolbar Won&#8217;t Display on the Frontend"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn&#8217;t display on the frontend after installation of the <a href=\"\/magento-layered-navigation\">Magento 2 Layered Navigation &amp; Product Filter extension<\/a>, please follow the instructions below to display it manually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"displaying-layered-navigation-manually\">How to Display Layered Navigation Manually<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Find the following file of your theme:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\" data-line=\"\">\/app\/design\/frontend\/THEME_VENDOR\/theme_name\/Magento_Catalog\/templates\/product\/list.phtml<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Copy the following code:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\" data-line=\"\">&lt;?php echo $block-&gt;getAdditionalHtml() ?&gt;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">And add it after the code:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-php\" data-line=\"\">&lt;?php echo $block-&gt;getToolbarHtml() ?&gt;<\/code><\/pre><\/div>\n\n\n<div class=\"example-block\">\n<p class=\"example-block-title\">Code Result<\/p>\n<div class=\"wp-block-prismatic-blocks\">\n<div>&nbsp;<\/div>\n<pre data-line=\"10\"><code class=\"language-php\" data-line=\"\">&lt;?php\n        $_productCollection = $block-&gt;getLoadedProductCollection();\n        $_helper = $this-&gt;helper(&#039;MagentoCatalogHelperOutput&#039;);\n    ?&gt;\n    &lt;?php if (!$_productCollection-&gt;count()): ?&gt;\n        &lt;div class=&quot;message info empty&quot;&gt;&lt;div&gt;&lt;?php \/* @escapeNotVerified *\/\n            echo __(&#039;We can&#039;t find products matching the selection.&#039;) ?&gt;&lt;\/div&gt;&lt;\/div&gt;\n    &lt;?php else: ?&gt;\n        &lt;?php echo $block-&gt;getToolbarHtml() ?&gt;\n        &lt;?php echo $block-&gt;getAdditionalHtml() ?&gt;\n        &lt;?php\n            if ($block-&gt;getMode() == &#039;grid&#039;) {\n                $viewMode = &#039;grid&#039;;\n                $image = &#039;category_page_grid&#039;;\n                $showDescription = false;\n                $templateType = MagentoCatalogBlockProductReviewRendererInterface::SHORT_VIEW;\n         } else {\n                $viewMode = &#039;list&#039;;\n                $image = &#039;category_page_list&#039;;\n                $showDescription = true;\n                $templateType = MagentoCatalogBlockProductReviewRendererInterface::FULL_VIEW;\n         }<\/code><\/pre>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn&#8217;t display on the frontend after installation of the Magento 2 Layered Navigation &amp; Product Filter extension, please follow the instructions below to display it manually. How to Display Layered Navigation Manually Find the following file &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Product Filter Toolbar Won&#8217;t Display on the Frontend&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[347],"tags":[],"class_list":["post-25473","post","type-post","status-publish","format-standard","hentry","category-magento-layered-navigation-v4-troubleshooting","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v28.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Product Filter Toolbar Won&#039;t Display on the Frontend - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn&#039;t display on the frontend after installation of\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Product Filter Toolbar Won&#039;t Display on the Frontend\" \/>\n<meta property=\"og:description\" content=\"If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn&#039;t display on the frontend after installation of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-06T08:47:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-06T08:48:26+00:00\" \/>\n<meta name=\"author\" content=\"Plumrocket\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Product Filter Toolbar Won't Display on the Frontend - Plumrocket Documentation","description":"If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn't display on the frontend after installation of","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:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display","og_locale":"en_US","og_type":"article","og_title":"Product Filter Toolbar Won't Display on the Frontend","og_description":"If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn't display on the frontend after installation of","og_url":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display","og_site_name":"Plumrocket Documentation","article_published_time":"2022-04-06T08:47:06+00:00","article_modified_time":"2022-04-06T08:48:26+00:00","author":"Plumrocket","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display#article","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display"},"author":{"name":"Plumrocket","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"headline":"Product Filter Toolbar Won&#8217;t Display on the Frontend","datePublished":"2022-04-06T08:47:06+00:00","dateModified":"2022-04-06T08:48:26+00:00","mainEntityOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display"},"wordCount":80,"articleSection":["Troubleshooting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display","url":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display","name":"Product Filter Toolbar Won't Display on the Frontend - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"datePublished":"2022-04-06T08:47:06+00:00","dateModified":"2022-04-06T08:48:26+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"If you use a custom Magento 2 theme (e.g. not Luma), and, for some reason, the Product Filter Toolbar didn't display on the frontend after installation of","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting\/manual-display#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 Layered Navigation","item":"https:\/\/plumrocket.com\/magento-layered-navigation"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation"},{"@type":"ListItem","position":4,"name":"v4","item":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4"},{"@type":"ListItem","position":5,"name":"Troubleshooting","item":"https:\/\/plumrocket.com\/docs\/magento-layered-navigation\/v4\/troubleshooting"},{"@type":"ListItem","position":6,"name":"Product Filter Toolbar Won&#8217;t Display on the Frontend"}]},{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/30d7e8cb4567485b56880a1658849a1252ac12806e8f95b3be71e986bf5eabee?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/30d7e8cb4567485b56880a1658849a1252ac12806e8f95b3be71e986bf5eabee?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/30d7e8cb4567485b56880a1658849a1252ac12806e8f95b3be71e986bf5eabee?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=25473"}],"version-history":[{"count":2,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25473\/revisions"}],"predecessor-version":[{"id":25475,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25473\/revisions\/25475"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=25473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=25473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=25473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}