Located in: wpsc-cart_widget.php

Functions that call this hook: none this is the cart_widget template file
Arguments Accepted: none
Version Introduced: 3.8

Description: This action is triggered right after the cart item name gets printed into the table row in the cart widget.

Similar actions: wpsc_before_cart_widget_item_name – called before the name is printed

Code in context:
[php firstline=”9″ highlight=”21″]
<th id="product" colspan=’2′><?php _e(‘Product’, ‘wpsc’); ?></th>
<th id="quantity"><?php _e(‘Qty’, ‘wpsc’); ?></th>
<th id="price"><?php _e(‘Price’, ‘wpsc’); ?></th>
<th id="remove">&nbsp;</th>
<?php while(wpsc_have_cart_items()): wpsc_the_cart_item(); ?>
<td colspan=’2′ class=’product-name’><?php do_action ( "wpsc_before_cart_widget_item_name" ); ?><a href="<?php echo wpsc_cart_item_url(); ?>"><?php echo wpsc_cart_item_name(); ?></a><?php do_action ( "wpsc_after_cart_widget_item_name" ); ?></td>
<td><?php echo wpsc_cart_item_quantity(); ?></td>
<td><?php echo wpsc_cart_item_price(); ?></td>
<td class="cart-widget-remove"><form action="" method="post" class="adjustform">
<input type="hidden" name="quantity" value="0" />
<input type="hidden" name="key" value="<?php echo wpsc_the_cart_item_key(); ?>" />
<input type="hidden" name="wpsc_update_quantity" value="true" />
<input class="remove_button" type="submit" />