shopp_category_products_hardlimit

filters the number of products to be displayed on one category page.

add_filter( 'shopp_category_products_hardlimit', [callback] )

@param int $limit the limit of products per category page

Description

filters the number of products to be displayed on one category page.

Defaults to 1000.

Example

// register filter callback
add_filter('shopp_category_products_hardlimit', 'products_per_pag_filter');

// create filter function
function products_per_pag_filter( $limit ) {
    // increase the number of products per page max to 1001
    return 1001;
}

See Also

You must be logged in to post a comment.

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

Skip to toolbar