Jump to content

[Need Help] Block search problem


Recommended Posts

Hi,

I have a problem with search block, if the move search block above the shopping cart and categories menu the dropdown menu and cart doesn't work. I find the piece of code of .tpl that causes the problem but I don't know how to solve.

The problem comes from this function:

        $('document').ready( function() {
           $("#search_query").autocomplete(
               '{/literal}{$base_dir}{literal}search.php', {
               minChars: 3,
               max:10,
               width:500,
               scroll: false,
               formatItem:formatSearch,
               extraParams:{ajaxSearch:1,id_lang:{/literal}{$cookie->id_lang}{literal[spam-filter]
           }).result(redirectSearch)
       });



What's the problem with the function? Someone help me please.

Thnks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...