Method |
Description |
|
categoriesDropDownFormat ( $array, &$outPut ) |
|
|
countingProductsByCategory ( [type] $all_products, [type] $categories ) : [array] |
countingProductsByCategory
Products total by category collection. |
|
getFieldToSuggestions ( $key ) : [string] |
get the table product field evaluated by the time when it calls. |
|
resetHaystack ( ) |
|
|
setToHaystack ( $products, $field = 'id' ) : [array] |
Build the not in id array to be evaluated in suggestions. |
|
suggest ( $type, $limit = 4 ) : [json] |
manage the home section suggestions. |
|