Commit 0436d2e2bdfc7db214e644d9b768f6d0e90a7efe

Authored by Administrator
1 parent 22083bd3

add variantSku

Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
widgets/Seo.php
... ... @@ -122,11 +122,10 @@ class Seo extends Widget
122 122 $filter = \Yii::$app->request->get('filters', []);
123 123  
124 124  
125   - $title = $this->selectSeoData(self::TITLE, $filter,$priority);
126   - print_r($this->{Seo::TITLE});
  125 + $title = $this->selectSeoData(self::TITLE, $filter, $priority);
127 126  
128 127  
129   - if(!empty($filter) && $title == $this->{Seo::TITLE} || !empty($filter) && empty($this->{Seo::TITLE})) {
  128 + if(!empty($filter) && $priority==3 || !empty($filter) && empty($this->{Seo::TITLE})) {
130 129  
131 130 $array = $this->arrayBuilder($filter);
132 131  
... ...