Search for products and echo json.
public static json_search_products ( string $term = '', boolean $include_variations = false ) | ||
$term | string | (default: '') |
$include_variations | boolean | in search or not |
public static json_search_products ( string $term = '', boolean $include_variations = false ) | ||
$term | string | (default: '') |
$include_variations | boolean | in search or not |