Probably a number of (better) ways of doing this, but I went with:
Changed the Product URL area in [my template]/templates/tpl_product_music_info.php to:
Code:
<!--bof Product URL -->
<?php
if (zen_not_null($products_record_company_url)) {
if ($flag_show_product_music_info_record_company == 1) {
?>
<?php echo sprintf('<a href="' . TEXT_RECORD_COMPANY_URL, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_record_company_url), 'NONSSL', true, false) . '">' . zen_image(DIR_WS_IMAGES . $record_company->fields['record_company_image']) . '</a>'); ?>
<?php
} // $flag_show_product_info_record_company
}
?>
<!--eof Product URL -->
And then changing the define TEXT_RECORD_COMPANY_URL line in /includes/languages/english/product_music-info.php, to:
Code:
define('TEXT_RECORD_COMPANY_URL', '%s');
And viola, now every music product indeed shows the record company logo which links to their web site.
Bookmarks