Page 1 of 1

1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 1:30 am
by MattGSX
Hi!

I'm trying to change the default search behavior to search product model, description, etc in all categories. I'm guessing I have to modify core files, but I'm not really sure where to start.

Has anyone else done this? I spent the last half hour searching, and was not able to find a "solution" that worked from start to finish.

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 1:35 am
by Xsecrets

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 1:56 am
by MattGSX
Huh. I wonder how many times I overlooked that. Thank you!

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 2:03 am
by Qphoria
And this one has model support as well Search Engine search descriptions by default.

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 3:37 am
by MattGSX
Works beautifully. Searches now by product model and in description.

Quick/related question: How do I change default behavior for my search bar to execute the search function when I hit the ENTER/Return key? Would I have to map it in the javascript?

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 5:07 am
by Qphoria
It has that by default in 1.4.6 and later

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 5:13 am
by MattGSX
Huh. It must just not be properly set up for my template, then.

Re: 1.4.7 Simplify Search Function

Posted: Tue Jun 15, 2010 5:53 am
by dpDesignz
I had the same problem. Read this to sort it out

http://forum.opencart.com/viewtopic.php?p=77829#p77829

Re: 1.4.7 Simplify Search Function

Posted: Wed Jun 16, 2010 2:15 am
by MattGSX
Strangely, that didn't work. I'll mention it to the template designer, as I think he had other fixes to be incorporated for 1.4.8's release.

Re: 1.4.7 Simplify Search Function

Posted: Wed Jun 16, 2010 2:41 pm
by dpDesignz
If you post the code here I may be able to sort it out for you if you like.