Question

I have moved the advance search form on home page with the custom template as:

  <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout  /etc/page_configuration.xsd">
     <referenceContainer name="page.wrapper">
        <block class="Magento\CatalogSearch\Block\Advanced\Form" name="catalogsearch_advanced_form"
           template="Your_Theme::advance-search.phtml"/>
     </referenceContainer>
  </page>

Now issue is whenever i visit an page from home page the breadcrumb always includes the advance search in it like this: enter image description here

How this can be fixed? so it can show what page user on in the breadcrumb?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top