- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Advanced search not working on the other page
Hi guys! I'm trying to put-on on my HomePage and on the other Page the magento's advanced search. So the same advanced search form in mydomain/catalogsearch/advanced/ show up correctly the insert form instead on homepage or on the other custom page show up just a title and sub title "Catalog Advanced Search - Search Settings" and the search button.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
check below the block
Mage_CatalogSearch_Block_Advanced_Form
comment the _prepareLayout function and check it
If work then mark as solution.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
No :/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
issue with title right?
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
so, the first photo shows up the advaced search in mydomain/catalogsearch/advanced/ (it wokrs); the second photo show up the same advaced search in mydomain/prova (doesn't work)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
@vice83 image is not showing.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
can i know that code? so i suggest where is wrong
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
In
app/design/frontend/{package}/{theme}/template/catalogsearch/advanced/
I copied file form.phtml from app/design/frontend/base/template/catalogsearch/advanced/.
Replace
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
with
<form action="<?php echo $this->getUrl('catalogsearch/advanced/result') ?>" method="get" id="form-validate">
I Add this to on my page content.
{{block type="core/template" template="catalogsearch/advanced/home_form.phtml"}}
You need the form.phtml content?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Advanced search not working on the other page
please add into xml
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
if it will solve your problem then mark as solution.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer