O plugin WPSEO do Yoast tem um filtro para o título: 'wpseo_title'. Você precisará adicionar algo assim:
add_filter('wpseo_title', 'filter_product_wpseo_title');
function filter_product_wpseo_title($title) {
if( is_singular( 'product') ) {
$title = //your code
}
return $title;
}
Mais informações na página de documentos da WordPress SEO API .