Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding a 2nd search engine bar

Adding a 2nd search engine bar

Views: 803

Results 1 to 6 of 6
5 Mar 2011, 8:43 PM
#1
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Adding a 2nd search engine bar

My site is https://www.tte.ca. I would like to add another search bar next to the one already on the site, I don't want to add it to the sidebox which I know I can do. The second search engine will have the text enter laptop info here, which will direct the visitor to the Battery and ac adapter page of that laptops model. Now I realize that both search bars will give me the same results. All I want to know is how do add the specific code to the search.php file. Also I would want to change the background color of the new search bar as well as the text.
Your help as usual is greatly appreciated.
Sincerely,
Robert

6 Mar 2011, 5:13 AM
#2
igofresh avatar

igofresh

Zen Follower

Join Date:
Oct 2010
Posts:
149
Plugin Contributions:
0

Re: Adding a 2nd search engine bar

Typically category specific searches use 'advanced search'
The customer can select "Batteries and adapters" as the category to search.

6 Mar 2011, 5:53 PM
#3
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Adding a 2nd search engine bar

I realize that. What we are attempting to do is give the site visitors an unknown option whereby when they enter their laptop name and model they will automatically be brought to our Battery and ac adapter page. I guess I would call it an attention getter.

13 Mar 2011, 8:26 PM
#4
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Adding a 2nd search engine bar

Is there NOBODY out there that can help. Just a suggestion or what file to alter the code in. Any help would be appreciated.
:unsure:

13 Mar 2011, 9:06 PM
#5
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Adding a 2nd search engine bar

Could start by downloading a search add on from the Free Software Add Ons to see what files make up the search functions within ZC.

like igofresh stated
Typically category specific searches use 'advanced search', maybe you should use the Developers Tool Kit and search for advanced search to see what files it returns

just a suggestion

14 Mar 2011, 11:58 PM
#6
igofresh avatar

igofresh

Zen Follower

Join Date:
Oct 2010
Posts:
149
Plugin Contributions:
0

Re: Adding a 2nd search engine bar

I'm no coder, but that was what I was thinking. copy the advanced search to the header or make a link to it?