Advanced Search sidebar box

I was playing a bit with that advanced search form in Magento, so i thought it would be nice touch to add it to left or right column of the store.

Since that multiple selects were causing problems and i also had to get rid of breadcrumb, i created block which extends Mage_CatalogSearch_Block_Advanced_Form functionality, added a little javascript  and packed it all to small example module:

advanced-search-sidebar.zip

Unpack zip file, copy files at its appropriate place following directory structure, refresh cache to rebuild configs, layouts, blocks, and you’re on.

advanced-search-sidebar-box-2

I left few comments in the code, thought someone may find them useful. Also be sure to copy template/sidebarsearch/advanced/sidebar.phtml and layout/sidebarsearch.xml to your current theme and modify them to suit your shop needs, since css is hardcoded in template for example. Regards.

You made it all the way down here so you must have enjoyed this post! You may also like:

Solr and Magento – search by department Domagoj Potkoc
, | 1

Solr and Magento – search by department

Optimize Elasticsearch autocomplete URL for Google Analytics Matej Djakovic
Matej Djakovic, | 2

Optimize Elasticsearch autocomplete URL for Google Analytics

3 things you should do today with your Magento store to improve your sales Toni Anicic
, | 10

3 things you should do today with your Magento store to improve your sales

51 comments

  1. Hello, this extension is working fine.
    I want to show categories list also at layer navigation, please let me know how can i show Category list at Advance search page left sidebar.
    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.