How to remove or hide breadcrumbs for a particular page in magento

19k Views Asked by At

I am trying to hide the (Home > Catalog Advanced Search > Results) breadcrumbs alone in magento during the advanced search results. I don't want to navigate through the breadcrumbs in result page. Anybody help me to make this possible.

8

There are 8 best solutions below

1
On BEST ANSWER

Try using

<remove name="breadcrumbs" />

Within specific handle of your layout xml file. For example

<catalog_category_default>
<remove name="breadcrumbs" />
</catalog_category_default>

Or try using that within the cms page layout form in backend under CMS->Pages.

2
On

Edit catalogsearch.xml in /app/design/frontend/base/default/layout/

Add <remove name="breadcrumbs" /> within

  <catalogsearch_advanced_result translate="label">
   <label>Advanced Search Result</label>
    <update handle="page_two_columns_right" />
   <remove name="breadcrumbs" />
  </catalogsearch_advanced_result>

Refresh and check... Breadcrumbs will be removed in advanced search result alone.

0
On

For Magento2 Remove from specific CMS page. Add following on Design >>Layout section of you CMS page

  <referenceContainer name="page.top">
    <referenceBlock name="breadcrumbs" remove="true"/>
  </referenceContainer>
0
On

In layout update xml, per cms page:

<reference name="root">
<remove name="breadcrumbs"/>
</reference>
1
On

For Magento 2.1

Goto Admin->Store->General->Web->Default Pages->Show Breadcrumbs for CMS Pages

Select Option No for breadcrumbs

0
On

You can do by the admin:

CMS-> Pages:
Page Information
Design:
Custom Design
Custom Layout Update XML: <remove name="breadcrumbs" />
0
On

You can remove breadcrumbs in various ways in Magento.

For example if you want remove from a specific action like (Home > Catalog Advanced Search > Results) you just update catalogsearch_advanced_result in catalogsearch.xml file from your theme with:

 <catalogsearch_advanced_result translate="label">
     <remove name="breadcrumbs" />    
 </catalogsearch_advanced_result>

If you want to remove from all dynamic pages add this

 <default>
     <remove name="breadcrumbs" />
 </default>

If you want to remove from a CMS page, you just configure from admin panel. Go to

system->configuration and then web->Show Breadcrumbs for CMS Pages.

Refresh your cache and check.

0
On

Magento 2 Code to remove breadcrumbs for CMS Page

<referenceContainer name="page.top">
    <referenceBlock name="breadcrumbs" remove="true" />
</referenceContainer>