wpsc_is_in_category

Located in: Located in: category.functions.php
Version Introduced: 3.8
Return: True / False

Description: This condition is used to check if your viewing a product category page.

[php]
<?php if(wpsc_is_in_category()) : ?>
<div class="wpsc_category_details">
<?php if(get_option(‘show_category_thumbnails’) && wpsc_category_image()) : ?>
<img src='<?php echo wpsc_category_image(); ?>’ alt='<?php echo wpsc_category_name(); ?>’ title='<?php echo wpsc_category_name(); ?>’ />
<?php endif; ?>
[/php]