wpsc_before_form_of_shopping_cart

Located in: wpsc-shopping_cart_page.php

Functions that call this hook: none this is the checkout page template files
Arguments Accepted: none
Version Introduced: 3.8

Description: This action is triggered just before the user detail form on the checkout page.

Code in context:
[php firstline=”205″ highlight=”216″] <table class="productcart">
<tr class="total_price total_tax">
<td colspan="3">
<?php echo wpsc_display_tax_label(true); ?>
</td>
<td colspan="2">
<span id="checkout_tax" class="pricedisplay checkout-tax"><?php echo wpsc_cart_tax(); ?></span>
</td>
</tr>
</table>
<?php endif; ?>
<?php do_action(‘wpsc_before_form_of_shopping_cart’); ?>

<?php if(!empty($_SESSION[‘wpsc_checkout_user_error_messages’])): ?>
<p class="validation-error">
<?php
foreach($_SESSION[‘wpsc_checkout_user_error_messages’] as $user_error )
echo $user_error."<br />n";

$_SESSION[‘wpsc_checkout_user_error_messages’] = array();
?>
<?php endif; ?>
[/php]