wpsc_category_description

Located in: Located in: category.functions.php
Version Introduced: 3.8
Accepted Parameters: $category_id – can be left out if used within the category loop.

Description: This template tag will return the category description it must be used within the category loop unless a Category Id is supplied. This function will return false is not description is found so you can use this tag as a conditional as well.

Note: This function only returns the value if you want to print it to your template use an echo function.
Category descriptions are an option in the presentation settings so you should always check that the user has the setting turned on before you output the description.

[php] <?php if(get_option(‘wpsc_category_description’) && wpsc_category_description()) : ?>
<?php echo wpsc_category_description(); ?>
<?php endif; ?>
[/php]