Category Banner only showing on categories not on single pages

Hi People, the WooCommerce Category Banner Plugin, enables you to add a banner image to a specific category and for this to appear on the category pages of the website. However it does not show the banner once you click on a specific product, it simply reverts back to the default template.

I assume its a fairly simple thing to alter as the plugin is only really one short php file, but I can not seem to figure it out.

I have copied in the section of the php file below that I believe would need to be altered, I do hope you can help or at least point me in the right direction.

Many Many Thanks Paul

// Retreives and print the category banner
public function wcb_show_category_banner() {
global $woocommerce;
global $wp_query;

// Make sure this is a product category page
if ( is_product_category() ) {

$cat_id = $wp_query->queried_object->term_id;
$term_options = get_option( "taxonomy_term_$cat_id" );

// Ge the banner image id
if ( $term_options['banner_url_id'] != '' )
$url = wp_get_attachment_url( $term_options['banner_url_id'] );

// Exit if the image url doesn't exist
if ( !isset( $url ) or $url == false )
return;

// Get the banner link if it exists
if ( $term_options['banner_link'] != '' )
$link = $term_options['banner_link'];

// Print Output

if ( isset( $link ) )
echo "";

if ( $url != false )
echo "<div id="mainslider"><img src='" . $url . "' class='category_banner_image' /></div>";
echo '
<div id="welcome" style="width:300px; min-height:210px;">
<div class="whitebanner">
<h2>Give Us a Call</h2></div>
<p class="welcometext">Janet Morley & Jill Perkins</p>
<p class="welcomedetails">Tel: +44 (15395) 64247
Tel: +44 (16268) 88069
Mobile: +44 (77329) 26787
</p>
</div>
';

if ( isset( $link ) )
echo "
";
}