Commit d3d2e248a8e2dfec2c53ab4ba9602727bfd5ed45
1 parent
01cfd880
big commti
Showing
3 changed files
with
6 additions
and
4 deletions
Show diff stats
frontend/views/basket/cart.php
frontend/views/basket/modal_items.php
frontend/widgets/Seo.php
| ... | ... | @@ -109,7 +109,7 @@ class Seo extends Widget |
| 109 | 109 | return $default; |
| 110 | 110 | |
| 111 | 111 | |
| 112 | - } else if($this->checkFilter($filter) || isset($filter['brands']) && count($filter['brands']) >= 1){ | |
| 112 | + } else if($this->checkFilter($filter)){ | |
| 113 | 113 | $array = $this->arrayBuilder($filter); |
| 114 | 114 | return $this->getNameString($array); |
| 115 | 115 | } |
| ... | ... | @@ -199,16 +199,18 @@ class Seo extends Widget |
| 199 | 199 | || isset($filter) && !$this->checkFilter($filter) |
| 200 | 200 | |
| 201 | 201 | ) { |
| 202 | + | |
| 202 | 203 | $this->getView()->registerMetaTag([ |
| 203 | 204 | 'name' => 'robots', |
| 204 | 205 | 'content' => 'noindex,nofollow' |
| 205 | 206 | ]); |
| 206 | 207 | |
| 207 | 208 | } else if ( |
| 208 | - isset($filter['brands']) && count($filter['brands']) <= 1 && isset($filter) && count($filter, COUNT_RECURSIVE) >= 4 | |
| 209 | + isset($filter['brands']) && count($filter['brands']) > 1 && isset($filter) && count($filter, COUNT_RECURSIVE) >= 4 | |
| 209 | 210 | || isset($filter) && count($filter, COUNT_RECURSIVE) > 4 |
| 210 | 211 | || !empty($sort) || !empty($paginate) || isset($filter['prices']) |
| 211 | 212 | ) { |
| 213 | + | |
| 212 | 214 | $this->getView()->registerMetaTag([ |
| 213 | 215 | 'name' => 'robots', |
| 214 | 216 | 'content' => 'noindex,nofollow' | ... | ... |