Dodaj tekst przed tytułem produktu
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
function woocommerce_add_custom_text_before_product_title(){
$custom_text = '<span>My Custom Text</span>';
the_title( '<h3 class="product_title entry-title">'.$custom_text, '</h3>' );
}
add_action( 'woocommerce_single_product_summary', 'woocommerce_add_custom_text_before_product_title', 5);
Bongani