wpsc_the_checkout_item_error_class

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

Description: This template tag returns the error class for the checkout item, you would use this class to style your errors.

Note: You must use this tag within the checkout loop, the class is only returned so you must echo the tag.
[php] while (wpsc_have_checkout_items()) : wpsc_the_checkout_item(); ?> [/php]
Code Example:
[php]
<tr class=’wpsc_change_country’>
<tr <?php echo wpsc_the_checkout_item_error_class();?>>
<td <?php wpsc_the_checkout_details_class(); ?> colspan=’2′>
<h4><?php echo wpsc_checkout_form_name();?></h4>
</td>
</tr>
[/php]