PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

[SOLVED] $("#search_query").autocomplete is not a function ?

3 replies to this topic
#1
Shaun

    PrestaShop Apprentice

  • Members
  • PipPip
  • 161 posts
[SOLVED]

I'm seeing this error a lot in FireFox, does anyone know what this Javascript error is?
Prestashop ver. 1.3.1
CC Processing (USA) - http://www.creditcar...com/?agent=0425

#2
Krimson

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts
add this line :

[script type="text/javascript" src="{$content_dir}js/jquery/jquery.autocomplete.js"][/script]


with "<" instead of "["


into 'header.tpl' file between the 'heads' tags. You can find this file into themes/prestashop or themes/yourtheme.

That will load autocomplete functions.
I'm not sure that is the best way to fix the problem, but it works.

Sorry for my rubbish english writing !!

#3
rocky

    PrestaShop Superstar

  • US Moderators
  • 9988 posts
This error occurs when the autocomplete Javascript is missing. Go to Modules > Positions, click "Transplant a module", then choose "Quick search block" as the "Module" and "Header of pages" as the Hook, then click Save.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

#4
Shaun

    PrestaShop Apprentice

  • Members
  • PipPip
  • 161 posts
You guys rock!! Worked perfectly, thanks...
Prestashop ver. 1.3.1
CC Processing (USA) - http://www.creditcar...com/?agent=0425