Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1097300

    Hello,
    Ajax product search to show down the products when 1 letter is pressed instead of minimum 3 letters. Right now it shows products with image when 3 letters are pressed. Is it possible to show that when even 1 letter is pressed. Any jquery or other code to do that? Right now i’m working on localhost.

    Here it is what i mean: https://www.screencast.com/t/bx76lz6ZVxnF

    TIA

    #1097551

    Hey alvi147,

    Thanks for the update.

    That is possible but you need to modify the js > avia.js file directly. Look for the AviaAjaxSearch function around line 35:

     //creates ajax search
    new $.AviaAjaxSearch({scope:'#header, .avia_search_element'});
    

    Set the minChars option to 1 instead of 3:

    //creates ajax search
    new $.AviaAjaxSearch({scope:'#header, .avia_search_element', minChars: 1});
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.