protected function setTotalIndexCategory()
    {
        $options = $this->query_filter;
        $options['count'] = true;
        $options['category_id'] = $this->data_category['category_id'];

        return $this->data_total = (int) $this->product->getList($options);
    }
protected function setTotalIndexCategory()
    {
        $options = $this->query_filter;
        $options['count'] = true;
        $options['category_id'] = $this->data_category['category_id'];

        return $this->data_total = (int) $this->product->getList($options);
    }
protected function setTotalIndexCategory ( ) { $ options = $ this -> query_filter ; $ options [ 'count' ] = true ; $ options [ 'category_id' ] = $ this -> data_category [ 'category_id' ] ; return $ this -> data_total = ( int ) $ this -> product -> getList ( $ options ) ; }
Sets a total number of products found for the category
@return int
Sets a total number of products found for the category