shopp_tag_products()

get a list of product objects for the given tag

shopp_tag_products ( $tag, $options )

@param int|string $tag (required) The product tag name/id
@param array $options loading options
@return array Product objects

Description

get a list of product objects for the given tag

Example

// get tagged products by tag name
$Products = shopp_tag_products('my tag');
// get tagged products by tag id
$Products = shopp_tag_products(10);

See Also

You must be logged in to post a comment.

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

Skip to toolbar