shopp_cart_fees

DEPRECATED filters the total additional cart fee added to each shipping method.

DEPRECATED

Use shopp_shipping_fees instead.

add_filter( 'shopp_cart_fees', [callback] )

@param float $fee the additional fee added to each shipping method.  Normally the total of per item handling fees and the cart handling fee.

Description

filters the total additional cart fee added to each shipping method.

Example

// register filter callback
add_filter('shopp_cart_fees', 'maximum_fee_filter');

// create filter function
function maximum_fee_filter( $fee ) {
    // Set maximum additional handling fee to $100
    if ( $fee > 100 )
        $fee = 100.00;
    return $fee;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar