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 product image is printed into the table (it is called within the

tag), this will also be called – if the product has no image.

Similar Actions: wpsc_after_checkout_cart_item_image – Printed in the table division but after the image.

Code in context:
[php firstline=”37″ highlight=”39,46″] <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 else:
/* I dont think this gets used anymore,, but left in for backwards compatibility */
<div class="item_no_image">
<?php do_action ( "wpsc_before_checkout_cart_item_image" ); ?>
<a href="<?php echo wpsc_the_product_permalink(); ?>">
<span><?php _e(‘No Image’,’wpsc’); ?></span>

<?php do_action ( "wpsc_after_checkout_cart_item_image" ); ?>
<?php endif; ?>