wpsc_cart_loop_start

Located in: cart.class.php

Functions that call this hook: the_cart_item
Arguments Accepted: none
Version Introduced: 3.8

Description: This hook is triggered right at the very start of the cart loop.

Similar Hooks: wpsc_cart_loop_end – triggered right at the end of the cart loop just before the items are cleaned up.

Code in context:
[php firstline=”1329″ highlight=”1333″]
function the_cart_item() {
$this->in_the_loop = true;
$this->cart_item = $this->next_cart_item();
if ( $this->current_cart_item == 0 ) // loop has just started
do_action(‘wpsc_cart_loop_start’);
}
[/php]