/** * return a proper Commerce object based on the product_types.type_class * * @param mixed If an integer, a product_id is assumed, else a key=>value hash (e.g. content_id=>1234 ) to lookup the product * See verify for details of the values required */ function bc_get_commerce_product($pLookupMixed) { return CommerceProduct::getCommerceObject($pLookupMixed); }