Jump to content



Latest News: (loading..)

- - - - -

Search Box In Header 2.3

add search box to your header

  • Please log in to reply
8 replies to this topic

#1   fan4chevy

fan4chevy
  • Members
  • 367 posts
  • Real Name:Charles

Posted 27 February 2012 - 02:47 AM

I wanted to place a search box field in my header area but found no add ons for this. This is primarily for 2.3 but I am sure will work with 2.2.

This contrib will not change any existing scripts but rather simply adds simple fields in header.php and stylesheet.css. Real easy and quick.

Hope this helps,

Charles
fan4chevy

#2   fan4chevy

fan4chevy
  • Members
  • 367 posts
  • Real Name:Charles

Posted 27 February 2012 - 02:49 AM

Here is the link to the addon: http://addons.oscommerce.com/info/8351 You can also browse
Search Box In Header 2.3 in contributions under 2.3

#3   pederb

pederb
  • Members
  • 442 posts
  • Real Name:Peder
  • Gender:Male
  • Location:Oakland, CA

Posted 27 February 2012 - 08:35 PM

Cool, I alway thought that the search function sucked.

Any directions to site that is using this already?

Cheers
-Peder Beckman-
Kool Kat Jazz Records

#4   fan4chevy

fan4chevy
  • Members
  • 367 posts
  • Real Name:Charles

Posted 29 February 2012 - 04:01 AM

Mine has it and it works great! It will search keywords, titles and descriptions

#5   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 09 April 2012 - 12:59 AM

Thanks @fan4chevy great little add-on, makes a big difference :)
Find this post helpful? Click the 'Like this' button. :)

#6   ilosc6316

ilosc6316
  • Members
  • 18 posts
  • Real Name:joe

Posted 12 May 2012 - 01:04 PM

Hi,
Does anybody have hint on how to put search box in header,then make the search box autocomplete? just something like in the
following link,but with autocomplete suggest feature:
http://forums.oscommerce.com/topic/370273-jquery-ui-autocomplete-search-box/

I put search box in the header,and add the autocompelte feature to it,when I enter 2 letters in the search box,then a long list containing these two letter appear,but when I select one of them,this action does not fire any action,can not automatically produce search page on the select product.I don't know how to modify it to make it work.

Thanks!

Joe

Thanks!

Joe

#7   vampirehunter

vampirehunter
  • Members
  • 274 posts
  • Real Name:vampire

Posted 31 July 2012 - 11:51 AM

View Postfan4chevy, on 29 February 2012 - 04:01 AM, said:

Mine has it and it works great! It will search keywords, titles and descriptions

i put this on my header, but the search button does not have a hand hovering over it

how do you change this so that it does?

something is not right with this code

someone advise

#8   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 31 July 2012 - 02:36 PM

@vampirehunter

This type of button doesn't have a hand by default in the browser.You can add it in css.

Give the button an id and in css give it an attribute
cursor: pointer; 

Find this post helpful? Click the 'Like this' button. :)

#9   herbsandhelpers

herbsandhelpers
  • Members
  • 77 posts
  • Real Name:Lorraine Hodgkinson
  • Gender:Female

Posted 26 March 2013 - 08:51 PM

Hello

I've installed in my header but I can't click on it!

There's just an arrow when I place the cursor over it. I have an idea that the reply above solves but can't understand what to do.

Can someone be more explicit please.

Thank you!

Lorraine