Open 'SearchScript.pl' in a plain text editor such as 'Notepad'.
Search for:-
sub DisplayResults
then the line: -
my @Results = sort
Amend that line to:
The after the line: -
add the following code below it: -
Once you have done this save and close the file.
Upload the site for the changes to take place.
Search for:-
sub DisplayResults
then the line: -
my @Results = sort
Amend that line to:
Code:
my @TempResults = sort
Code:
keys %mapProdRefToSortOrders; # get product references then sort
Code:
my @Results; if ($::g_InputHash{FT} ne "GF") # not General Filter search? { @Results = map {(index($_, "!") eq -1) ? $_ : ()} @TempResults; # remove duplicate products from search results } else { @Results = @TempResults; # don't remove duplicate products from search results }
Upload the site for the changes to take place.