wpsc_has_tnc

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

Description: This condition is used to check if terms and conditions are not empty.

[php]
<?php if(wpsc_has_tnc()) : ?>
<tr>
<td colspan=’2′>
<label for="agree"><input id="agree" type=’checkbox’ value=’yes’ name=’agree’ /> <?php printf(__("I agree to the <a class=’thickbox’ target=’_blank’ href=’%s’ class=’termsandconds’>Terms and Conditions</a>", "wpsc"), site_url("?termsandconds=true&amp;width=360&amp;height=400")); ?> <span class="asterix">*</span></label>
</td>
</tr>
<?php endif; ?>
[/php]