shopp_catalog_count()

get a count of all products in the catalog

shopp_catalog_count ( $status )

@param string $status (optional default:publish) the product's publish status
@return int number of products

Description

get a count of all products in the catalog

Example

// number of published products
$count = shopp_catalog_count();

See Also

You must be logged in to post a comment.

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

Skip to toolbar