Please install and activate the supplied child theme, inside the child theme functions.php
file paste this:
add_filter( 'woocommerce_get_availability', 'sf_custom_get_availability', 1, 2);
function sf_custom_get_availability( $availability, $_product ) {
// Change In Stock Text
if ( $_product->is_in_stock() ) {
$availability['availability'] = __('Your In Stock Text!', 'swiftframework');
}
// Change Out of Stock Text
if ( ! $_product->is_in_stock() ) {
$availability['availability'] = __('Your Sold Out Text', 'swiftframework');
}
return $availability;
}