search with only search product name in magento

search with only search product name in magento

In this post we will show you how to search product name in magento store. hear we will give you tip for search with only product name in magento. seach product using only product name at that time thi step will help you to solve proble of search.

Magento provides very smart search practicality for product name advance Search and that we will add or take away the product attributes from the search.

In this post we describing a way to remove the product attributes from the search! so Magento search works consistent with the particular attributes that is enclosed into the search terms.

In this case we want to Searh solely by the product name within the advance search. Bydefault Magento advance search works on the basis of Product Name Short, Product Description and Product Description, So it will returns the result on the basis of the product oduct Name Short, Product Description and Product Description and that we solely desires that Magento advance search works on the premise of the Product Name only not together with the opposite product attributes.

Here are the steps for product name advance Search ::

Step 1 :: Login with Magento admin Panel
Step 2 :: GO to Navigate Menu, Catalog >> Attributes >> Manage Attributes, Now search for the “short_description” of the Attribute Code and that we can get the results of the Short Description.

search product name Manage Attributes
product name advance Search Manage Attributes
search product name short_description
product name advance Search short_description

Step 3 :: Click on the Short Description and Look into the Properties of the Short Description
Step 4 :: Now we tend to would like to travel the Frontend Properties from the correct Panel.

search product name quick Search
product name advance Search quick Search

Step 5 :: Here we can get the dropdown heading as “Use in quick Search” simply modification Use in fast Search “Yes” to “NO”

Step 6 :: Follow Step 4 and 5 with “sku” and “description” for search product name only.

Next Process for search product name

go to “app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php” and copy to “app/code/local/Mage/CatalogSearch/Model/Resource” and go to function prepareResult() and conver “OR” with “AND”.

if ($like) {
// old code with OR
// $likeCond = '(' . join(' OR ', $like) . ')';

//NEW	code with AND
$likeCond = '(' . join(' AND ', $like) . ')';

}

GO to Navigate Menu, system >> Configuration and in Configuration goto CATALOG >> CATALOG >> Catalog Search

search with only search product name
search with only search product name
search with only search product name
search with only search product name
search with only search product name
search with only search product name

You also like :: product name Mini Search in Magento

Leave a Comment

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

7  +  2  =  

We accept paid advance and paid guest Posting on our Site : Contact US