Hi,
Please use following code snippet
add_filter( 'aws_search_results_products', 'my_aws_search_results_products' );
function my_aws_search_results_products( $products ) {
usort($products, function ($item1, $item2) {
$a = intval( $item1['f_price'] * 100 );
$b = intval( $item2['f_price'] * 100 );
if ($a == $b) {
return 0;
}
return ($a < $b) ? -1 : 1;
});
return $products;
}
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 will need to go to the plugin settings page and click ‘Clear cache’ button.
Regards