• Resolved rudolfl

    (@rudolfl)


    Hi,

    I have misspelling fix set to OFF.

    I am trying to search for “on-line” and I am getting all the products that do not have this, but match “online”. The problem is that I need to find the exact match

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    By default the plugin strips some special characters like -. To change this you can use the following code snippet:

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

    You need to add it somewhere outside the plugins folder. For example, inside functions.php file of your theme or use some plugin for adding code snippets.

    Also, after adding this code, you need to re-index the plugin table.

    Regards

    • This reply was modified 2 months ago by ILLID.
    Thread Starter rudolfl

    (@rudolfl)

    Thank you,

    I am comfortable with adding PHP, so I should be OK from here

    Rudolf

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