wpsc_product_is_donation

Located in: Located in: product-template.php
Version Introduced: 3.8
Return: Boolean

Description: This condition is used to determine if the product is a donation.

[php]
<?php if(wpsc_product_is_donation()) : ?>
<label for="donation_price_<?php echo wpsc_the_product_id(); ?>"><?php _e(‘Donation’, ‘wpsc’); ?>: </label>

[/php]