cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced search not working on the other page

Re: Advanced search not working on the other page

which xml you are referring to? catalogsearch.xml in the folder "layout"?

Re: Advanced search not working on the other page

@vice83

 

just call below code where you want to add (into phtml file)

 

<?php echo $this->getLayout()->createBlock('catalogsearch/advanced_form')->setTemplate('catalogsearch/advanced/form.phtml')->toHtml(); 

Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Advanced search not working on the other page

ok, i will add in my custom page. Regarding  the last post? you are talking about a XML file.

Re: Advanced search not working on the other page

No need to edit into xml file.
Just write into phml code

Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Advanced search not working on the other page

@vice83

 

is that work then mark as solution.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Advanced search not working on the other page

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 40961 bytes) in /web/htdocs/www.markaracing.com/home/shop3/app/code/core/Mage/Core/Block/Template.php on line 219

 

Smiley Sad

Re: Advanced search not working on the other page

@vice83 seems like lot of attribute and that options are there so page go down.

 

increase memory limit or add into index.php

ini_set("memory_limit","3G");

Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Advanced search not working on the other page

Always the same error :/