diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index 8c81f0d..2f775e4 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -267,6 +267,7 @@ class Seo extends Widget isset($filter['brands']) && count($filter['brands']) > 1 || isset($filter) && $this->checkFilter($filter) ) { + $this->getView()->registerMetaTag([ 'name' => 'robots', 'content' => 'noindex,nofollow' @@ -304,11 +305,11 @@ class Seo extends Widget foreach(self::$optionsList as $optionList){ if(isset($filter[$optionList]) && count($filter[$optionList]) > 1){ - return false; + return true; } } - return true; + return false; } protected function replaceData($str) -- libgit2 0.21.4