wpsc_has_downloads

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 downloadable purchases. You would most likely use this condition on the user “My Profile” page

[php]
<?php elseif ( is_wpsc_downloads_page() ) : ?>

<?php if ( wpsc_has_downloads() ) : ?>

<table class="logdisplay">
<tr>
<th><?php _e( ‘File Names’, ‘wpsc’ ); ?> </th>
<th><?php _e( ‘Downloads Left’, ‘wpsc’ ); ?> </th>
<th><?php _e( ‘Date’, ‘wpsc’ ); ?> </th>
</tr>

<?php
[/php]