wpsc_have_custom_meta

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

Description: This condition is used to determine if the product has custom meta assigned to it.

Code Example:
[php]
<?php if (wpsc_have_custom_meta()) : ?>
<div class="custom_meta">
<?php while ( wpsc_have_custom_meta() ) : wpsc_the_custom_meta(); ?>
<?php if (stripos(wpsc_custom_meta_name(),’g:’) !== FALSE) continue; ?>
<strong><?php echo wpsc_custom_meta_name(); ?>: </strong><?php echo wpsc_custom_meta_value(); ?><br />
<?php endwhile; ?>
</div><!–close custom_meta–>
<?php endif; ?>

[/php]