wpsc_is_checked_status

Located in: Located in: purchaselogs.class.php
Version Introduced: 3.8
Return: Boolean

Description: This condition is used to check if a purchase status is selected. It should be used within the purchase log loop.

[php]<?php while(wpsc_have_purch_items_statuses()) : wpsc_the_purch_status(); ?>[/php]

[php]
<?php while(wpsc_have_purch_items_statuses()) : wpsc_the_purch_status(); ?>
<option value='<?php echo wpsc_the_purch_status_id(); ?>’ <?php echo wpsc_is_checked_status(); ?> ><?php echo wpsc_the_purch_status_name(); ?> </option>
[/php]