Located in: cart.class.php
Version Introduced: 3.8
Description: This template tag is used to display the total shipping applied to the cart – You would most likely use this on the checkout page or in a cart widget to print to shipping total.
Note: This function just returns the value (with a currency sign) so to use this function you must use it with an echo to output the value to the browser. It must also be used within the cart loop.
[php] <?php while (wpsc_have_cart_items()) : wpsc_the_cart_item(); ?>[/php]
<tr class="total_price total_shipping">
<?php _e(‘Total Shipping’, ‘wpsc’); ?>:
<span id="checkout_shipping" class="pricedisplay checkout-shipping"><?php echo wpsc_cart_shipping(); ?></span>