shopp_product_meta_list()

get an array of meta values on the product

shopp_product_meta_list ( $product, $type )

@param type $var Description...
@return array list of values keyed by name, false on failure

Description

get an array of meta values on the product

Example

$Product = new Product("My Product", 'name');

// get an array of specs
$specs = shopp_product_meta_list($Product->id,'spec');

See Also

You must be logged in to post a comment.

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

Skip to toolbar