wpsc_has_purchases

Located in: Located in: wpsc-user_log_functions.php
Version Introduced: 3.8
Return: Boolean

Description: This condition is used to check if the user has any purcahses – you would normally use this on the my account page.

[php]
<?php if ( wpsc_has_purchases() ) : ?>
//display the purcahses
<?php endif; ?>
[/php]