wpsc_checkout_loop_start

Located in: checkout.class.php

Functions that call this hook: the_gateway(), the_checkout_item()
Arguments Accepted: none
Version Introduced: 3.8

Description: This hook is triggered at the start of the checkout loop.

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

Code in context:
[php firstline=”922″ highlight=”926″]
function the_checkout_item() {
$this->in_the_loop = true;
$this->checkout_item = $this->next_checkout_item();
if ( $this->current_checkout_item == 0 ) // loop has just started
do_action( ‘wpsc_checkout_loop_start’ );
}
[/php]

Code in context:
[php firstline=”1162″ highlight=”1166″]
function the_gateway() {
$this->in_the_loop = true;
$this->gateway = $this->next_gateway();
if ( $this->current_gateway == 0 ) // loop has just started
do_action( ‘wpsc_checkout_loop_start’ );
}
[/php]