Add to functions.php file:
function themeprefix_change_soldout ( $text, $product) {
if ( !$product->is_in_stock() ) {
$text = ‘<div class=””>Sold out</div>’;
}
return $text;
}
Veteran owned and
operated since 1998
ALL EMPLOYEES VACCINATED!
603-924-9867
websites@charlesworks.com
Veteran owned and
operated since 1998
ALL EMPLOYEES VACCINATED!
Add to functions.php file:
function themeprefix_change_soldout ( $text, $product) {
if ( !$product->is_in_stock() ) {
$text = ‘<div class=””>Sold out</div>’;
}
return $text;
}