shopp_cart_template

filters the cart page content.

add_filter( 'shopp_cart_template', [callback] )

@param string $content the cart page content

Description

filters the cart page content.

Example

// register filter callback
add_filter('shopp_cart_template', 'my_cart_filter');

// create filter function
function my_cart_filter( $content ) {
    $before = 'before the cart content';
    $after = 'after the cart content';

    return $before.$content.$after;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar