if (get_option('payment_method') == 2) {
            ?>

					<th class="payment_method"><?php 
            _e('Payment Method', 'wpsc');
            ?>
</th>

				<?php 
        }
        ?>

			</tr>

			<?php 
        wpsc_user_purchases();
        ?>

	<?php 
    } else {
        ?>

			<tr>
				<td colspan="<?php 
        echo $col_count;
        ?>
">

					<?php 
        _e('No transactions for this month.', 'wpsc');
        ?>
Ejemplo n.º 2
0
/**
 * wpsc user details
 * Displays the Purchase History account page section.
 * @deprecated since 3.8.10
 * @return (string) The Purchase History page template.
 */
function wpsc_user_details()
{
    _wpsc_deprecated_function(__FUNCTION__, '3.8.10');
    return wpsc_user_purchases();
}