MrBaseball34 Posted April 11, 2011 Share Posted April 11, 2011 syntax error extraParams:{ajaxSearch:1,id_lang:} http://mystore.com/category.php?id_category=39 Line 336 Here's actual code from PS version 1.2.5 blocksearch template: $('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) }); Looks like default lang is not getting set in cookie. Any ideas as to why? Link to comment Share on other sites More sharing options...
Recommended Posts