Hello there,
Sorry for the late reply.
Insert these codes on your theme’s functions.php file.
add_filter('woocommerce_backordered_item_meta_name', 'blancheur_backordered_item_meta_name');
function blancheur_backordered_item_meta_name(){
return __('Preordered', 'blancheur');
}
add_filter('woocommerce_get_availability', 'blancheur_modify_availability', 10, 2);
function blancheur_modify_availability($availability, $class){
if( get_option( 'woocommerce_stock_format' ) == 'low_amount' && backorders_allowed() && backorders_require_notification() ){
$availability = __('can be preordered', 'blancheur');
} elseif( backorders_allowed() && backorders_require_notification() ){
$availability = __( 'Available on preorder', 'blancheur' );
}
return array(
'availability' => $availability,
'class' => $class
);
}
Let me know how it works for you.
Cheers!