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

I'm trying to hide (mostly> advanced search directory> results) crackers only in magento during advanced search results. I don't want to navigate the breading in the results page. Can someone help me make this possible.

+3


source to share


6 answers


Try to use

<remove name="breadcrumbs" />

      

Inside a specific descriptor of your layout XML file. for example



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

      

Or try using this in the form of a cms page layout in the backend under CMS-> Pages.

+10


source


You can make an admin:



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

      

+3


source


You can remove breadcrumbs in a variety of ways in Magento.

For example, if you want to remove from a certain action like (Home> Advanced Catalog Search> Results), you simply update catalogsearch_advanced_result

in the 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 delete a CMS page, you simply configure it from the admin panel. Go to

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

      

Refresh your cache and check.

+2


source


For Magento 2.1

Go to Admin-> Store-> General-> Web-> Default Pages-> Show Breadcrumbs for CMS pages

Select option No. for bread crumbs

+1


source


Change directory. search.xml to / app / design / frontend / base / default / layout /

Add <remove name="breadcrumbs" />

inside

  <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 only be removed in advanced search results.

0


source


In xml layout update, per cms:

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

      

0


source







All Articles