< ?php if(isset($cart_messages) && count($cart_messages) > 0) { ?> < ?php foreach((array)$cart_messages as $cart_message) { ?> < ?php echo esc_html( $cart_message ); ?> < ?php } ?> < ?php } ?> < ?php if(wpsc_cart_item_count() > 0): ?>
< ?php while(wpsc_have_cart_items()): wpsc_the_cart_item(); ?> < ?php endwhile; ?>
< ?php _e('Product', 'wpsc'); ?> < ?php _e('Qty', 'wpsc'); ?> < ?php _e('Price', 'wpsc'); ?>  
< ?php do_action ( "wpsc_before_cart_widget_item_name" ); ?> < ?php echo wpsc_cart_item_quantity(); ?> < ?php echo wpsc_cart_item_price(); ?>
< ?php printf( _n('%d item', '%d items', wpsc_cart_item_count(), 'wpsc'), wpsc_cart_item_count() ); ?> < ?php _e('Subtotal:', 'wpsc'); ?> < ?php echo wpsc_cart_total_widget( false, false ,false ); ?>
< ?php _e( 'excluding discount, shipping and tax', 'wpsc' ); ?>