Forum Replies Created
-
AuthorPosts
-
September 1, 2017 at 9:25 am in reply to: Blank speces in search and copy and paste search terms #14576
leelnj
Participantright click and paste
September 1, 2017 at 9:09 am in reply to: Blank speces in search and copy and paste search terms #14574leelnj
ParticipantI Have 1 more issue. if i copy and paste anyhing into search box search does not always launch. have you any idea how to get it to launch all the time
September 1, 2017 at 9:05 am in reply to: Blank speces in search and copy and paste search terms #14573leelnj
Participantyes. its working now. i have had to run a query to put all of my order refs in my product tags stripped out of any dashes. Not ideal but works
August 31, 2017 at 12:45 pm in reply to: Blank speces in search and copy and paste search terms #14570leelnj
ParticipantI have just installed the latest version
If i enter B30-25-595-BLNKWT i get results
If i enter B30 25 595 BLNKWT I get results
If i enter B3025595BLNKWT i get no resultsThere must be a way of getting this to work
August 30, 2017 at 6:17 pm in reply to: Blank speces in search and copy and paste search terms #14565leelnj
Participantyes i am using index table engine. I really need some sort of solution please
August 30, 2017 at 2:50 pm in reply to: Blank speces in search and copy and paste search terms #14560leelnj
Participanthello. my client has bought your plugin and we have configured it but we have one issue. we have order references such as B30-25-595. if a client types in B30-25-595 it will display results but if they type in B3025595 it will show no results. It will work if i type in B30 25 595 which is great and needed as well but not when there is no space eg B3025595 . I have tried to use the following code from your knowledgebase to remove hypens but it doesnt work
// —- !!! ONLY COPY PASTE CODE BELOW THIS LINE to the functions.php in your theme directory !!! —-
add_filter(‘asp_search_phrase_before_cleaning’, ‘asp_replace_characters’, 10, 1);
add_filter(‘asp_query_args’, ‘asp_replace_characters’, 10, 1);
function asp_replace_characters( $s ) {
$characters = “‘,._-/?!”; // Type characters one after another
$replace_with = ”; // Replace them with this (space by default)
if ( is_array($s) ) {
if ( isset($s[‘s’]) && !$s[‘_ajax_search’] )
$s[‘s’] = str_replace(str_split($characters), $replace_with, $s[‘s’]);
} else {
$s = str_replace(str_split($characters), $replace_with, $s);
}
return $s;
}This is critical for my client so appreciate your response asap
2.) I really need my keyword suggestion to be using taxonomy term suggestions. has this been fixed?
” I’ve looked up the source, and it seems like that the taxonomy term suggestions does not respect the maximum suggestions count. As a temporary solution, I have disabled term suggestions for now:”August 9, 2017 at 1:06 pm in reply to: Blank speces in search and copy and paste search terms #14187leelnj
ParticipantYou cannot access this content.
August 8, 2017 at 4:29 pm in reply to: Blank speces in search and copy and paste search terms #14175leelnj
ParticipantYou cannot access this content.
-
AuthorPosts