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: The wpsc_bottom_of_shopping_cart action is triggered at the bottom of the Checkout page within the WP e-Commerce Checkout (shopping_cart.php) theme template.

This hook provides no parameters. You use this hook by having your function echo output to the browser, or by having it perform background tasks. Your functions shouldn’t return, and shouldn’t take any parameters.

Use Case:
[php firstline=”1″]
add_action(‘wpsc_bottom_of_shopping_cart’, ‘add_thankyou_message’);
function add_thankyou_message(){
echo "Thanks for purchasing with our store – we look forward to doing business with you again!";

Code in context:
[php firstline=”205″ highlight=”216″] <table class="productcart">
<tr class="total_price total_tax">
<td colspan="3">
<?php echo wpsc_display_tax_label(true); ?>
<td colspan="2">
<span id="checkout_tax" class="pricedisplay checkout-tax"><?php echo wpsc_cart_tax(); ?></span>
<?php endif; ?>
<?php do_action(‘wpsc_before_form_of_shopping_cart’); ?>

<?php if(!empty($_SESSION[‘wpsc_checkout_user_error_messages’])): ?>
<p class="validation-error">
foreach($_SESSION[‘wpsc_checkout_user_error_messages’] as $user_error )
echo $user_error."<br />n";

$_SESSION[‘wpsc_checkout_user_error_messages’] = array();
<?php endif; ?>