protected function setMetaIndexCategory()
    {
        $this->setMetaEntity($this->data_category);

        if (empty($this->data_children) && empty($this->data_products)) {
            $this->setMeta(array('name' => 'robots', 'content' => 'noindex'));
        }
    }
protected function setMetaIndexCategory()
    {
        $this->setMetaEntity($this->data_category);

        if (empty($this->data_children) && empty($this->data_products)) {
            $this->setMeta(array('name' => 'robots', 'content' => 'noindex'));
        }
    }
protected function setMetaIndexCategory ( ) { $ this -> setMetaEntity ( $ this -> data_category ) ; if ( empty ( $ this -> data_children ) && empty ( $ this -> data_products ) ) { $ this -> setMeta ( array ( 'name' => 'robots' , 'content' => 'noindex' ) ) ; } }
Sets the meta tags on the category page
Sets the meta tags on the category page