How to use Magento Advanced Search to search by attributes?

Magento advanced search is a standard feature for Magento CMS of Community and Enterprise editions. The main objective of Magento advanced search is to enable it to search for a product by several attributes. It looks like a separate page with a few lines to enter a query or to select one of the options. On the page of Magento advanced search only those attributes that are marked in the administrative interface for use in advanced search will be shown.

How to add an attribute to the Magento advanced search? For this go to: Catalog > Attributes > Manage Attributes, find the attribute in the list and open it for editing. Then find a block Frontend Properties and in the field "Use Advanced Search" set it to "Yes." Save the changes.

The key difference between Magento's basic search and advanced search lies in how queries are processed. Basic search (also called quick search) takes a single text input and matches it against product names, descriptions, and SKUs using either "Like" or "Fulltext" matching. Advanced search, on the other hand, allows customers to filter by specific product attributes such as price range, color, size, manufacturer, or any other attribute you have enabled. This makes advanced search particularly valuable for stores with large catalogs where customers may know exactly what specifications they need and want to narrow results without browsing through multiple category pages.

When configuring advanced search, it is important to be selective about which attributes you enable. Including too many attributes on the advanced search page can overwhelm customers and make the form difficult to use. Focus on the attributes that your customers are most likely to search by — typically price, brand or manufacturer, and the key distinguishing features of your product type. For example, an electronics store might enable attributes like screen size, storage capacity, and operating system, while a clothing store would focus on size, color, and material. You can also control the sort order in which attributes appear on the advanced search page by adjusting the "Position" field in each attribute's settings.

The advanced search page is accessible by default at yourstore.com/catalogsearch/advanced/ and can be linked from your site's footer, navigation, or any CMS block. In some Magento themes, a link to advanced search is already included in the footer. If it is missing from your theme, you can add it manually by editing the footer template or by inserting a static block with the link. Keep in mind that advanced search uses a GET request with parameters for each attribute, which means the resulting URLs can be bookmarked or shared by customers — a useful feature for B2B scenarios where buyers may want to save a specific product query for future reference.

For stores that find the default advanced search interface too rigid, consider customizing the search experience further. The advanced search template files are located in your theme's template/catalogsearch/ directory and can be modified to change the layout, add helper text, or group attributes into logical sections. If you need capabilities beyond what the built-in advanced search provides — such as layered navigation within search results, search by multiple attribute values, or AJAX-powered filtering — third-party search extensions can extend or replace the default functionality while still building on the same attribute framework that Magento's advanced search uses.

Loading...