wpsc_before_checkout_cart_row

Located in: wpsc-shopping_cart_page.php

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

Description: This action is triggered just before the table row for each item in the “confirm your order” table

Similar Actions: wpsc_after_checkout_cart_row – Called after the product row has been closed.

Code in context:
[php firstline=”23″ highlight=”34″] </tr>
<?php while (wpsc_have_cart_items()) : wpsc_the_cart_item(); ?>
<?php
$alt++;
if ($alt %2 == 1)
$alt_class = ‘alt’;
else
$alt_class = ”;
?>
<?php //this displays the confirm your order html ?>

<?php do_action ( "wpsc_before_checkout_cart_row" ); ?>
<tr class="product_row product_row_<?php echo wpsc_the_cart_item_key(); ?> <?php echo $alt_class;?>">

<td class="firstcol wpsc_product_image wpsc_product_image_<?php echo wpsc_the_cart_item_key(); ?>">
<?php if(” != wpsc_cart_item_image()): ?>
<?php do_action ( "wpsc_before_checkout_cart_item_image" ); ?>
<img src="<?php echo wpsc_cart_item_image(); ?>" alt="<?php echo wpsc_cart_item_name(); ?>" title="<?php echo wpsc_cart_item_name(); ?>" class="product_image" />
<?php do_action ( "wpsc_after_checkout_cart_item_image" ); ?>[/php]