Hi you,
To change default sorting in shop page, please add this code to file functions.php ( child-theme):
add_filter('woocommerce_default_catalog_orderby', 'organey_default_catalog_orderby');
function organey_default_catalog_orderby( $sort_by ) {
return 'date';
}
Possible values are:
menu_order (Default) – by the custom order first, then by product name
popularity – by the number of sales
rating – by the average rating
date – recently added products will be displayed first
price – cheapest products will be displayed first
price-desc – the most expensive first
rand – in a random order (read also how to retain pagination in this case)