Put a span class in the shortened product title

You’re substr() on the span which will chop the closing span off. I think what you want is:

return '<span class="title-tooltip">' . substr( $title, 0, 34 ) . '</span>'; 

techhipbettruvabetnorabahisbahis forumueduseduedueduseduedusedueduseduedu