Text before price on WooCom

Try this out. Add other conditional tags according to the requirement. Hope it helps.

// Add text before price
function bd_rrp_price_html( $price, $product ) {
    if(is_shop()){
        $price="Rent from: " . $price;
    }
    return $price;
    
}
add_filter( 'woocommerce_get_price_html', 'bd_rrp_price_html', 100, 2 );

enter image description here
enter image description here

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)