Hello
That work!
But I need to translate my snippet code added in functions.php, for example customize woocommerce, like:
function function bbloomer_display_sold_out_loop_woocommerce() {
global $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>’ . __(‘VENDUTA’, ‘woocommerce’) . ‘</span>’;
}
}
add_action( ‘woocommerce_before_single_product_summary’, function() {
globaL $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>VENDUTA</span>’;
}
});display_sold_out_loop_woocommerce() {
global $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>’ . __(‘VENDUTA’, ‘woocommerce’) . ‘</span>’;
}
}
add_action( ‘woocommerce_before_single_product_summary’, function() {
globaL $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>VENDUTA</span>’;
}
});
I need to translate ‘VENDUTA’ in “SOLD OUT” for english version
Thanks