the standard magento search function does not look at the 'category name' value only various product values.
i have 3 categories : car, van, bus
i have 10 SKU products : red car, blue car, green car, black car, red bus, black bus, blue bus, red van, silver van, gold van
if i enter 'van' into the magento search i get the following results :
product matches (3) :red van, silver van, gold van
i want to copy the built-in search feature but change the SQL to look only at the category name field. maybe the search could be called catalogsearch2
if i enter 'van' into the search i want the following results :
category matches (1) : van
this search feature will be hidden as we are using it from a barcode app that searches our website from a mobile device using the scanned value as the search string combined with the search URL. the category search feature can use the standard magento results page so no skin / theme work required.
i think this will just be a few files to copy paste so i dont need you to install only supply the instructions and updated code in a text doc. i am happy to copy files edit code and upload via ftp. this avoids any unnecessary access to our server.