shopp_term_products()

get a list of product objects for the given term and taxonomy

shopp_term_products ( $term, $taxonomy, $options )

@param int $term (required) The term id
@param string $taxonomy The taxonomy name
@param array $options loading options
@return array Product objects

Description

get a list of product objects for the given term and taxonomy

Example

// get products in term 8 or taxonomy shopp_my_taxonomy
$Products = shopp_term_products(8, 'shopp_my_taxonomy');

See Also

You must be logged in to post a comment.

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

Skip to toolbar