shopp_cart_retotal

called after cart totals are calculated.

add_action('shopp_cart_retotal', [callback] );

@param CartTotals $Total the cart Totals object containing total figures for items in the cart.

Description

Fires after all of the cart totals (subtotal, discounts, shipping, taxes, grand total) are recalculated.
For example, when the [Update Subtotal] button is clicked on the /shop/cart/ page.

Example

add_action('shopp_cart_retotal', 'my_function');
function my_function ( $Total ) {
// do stuff
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar