• Hello,

    I try to ignore space in the search bar. For example “TRIO290” I see only the correct category if I type “TRIO 290”. I tried multiple snippets. Nothing work. I use PRO version. All other snippets from documentation works well.

    add_filter( 'aws_search_terms', 'my_aws_search_terms' ); function my_aws_search_terms( $s ) { $new_s = implode( '', $s ); $s[] = $new_s; return $s; }

    add_filter( 'aws_special_chars', 'my_aws_special_chars' ); function my_aws_special_chars( $chars ) { unset( $chars[array_search( '&amp ;',$chars )] ); unset( $chars[array_search( '&',$chars )] ); return $chars; }

    Any ideas please ?

    • This topic was modified 1 year, 10 months ago by imloic.
  • The topic ‘Ignore space in the search bar’ is closed to new replies.