Commit af40200b475fa4b60969b107113ce930497a2018

Authored by Administrator
1 parent 91cdb31d

add variantSku

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -179,7 +179,7 @@ class Seo extends Widget @@ -179,7 +179,7 @@ class Seo extends Widget
179 179
180 $meta = $this->selectSeoData(self::META, $filter,$priority); 180 $meta = $this->selectSeoData(self::META, $filter,$priority);
181 181
182 - if(!empty($filter) && !$this->checkFilter($filter) && count($filter, COUNT_RECURSIVE) == 2){ 182 + if(!empty($filter) && !$this->checkFilter($filter) && count($filter, COUNT_RECURSIVE) == 2 && $priority==3){
183 $key = array_keys ( $filter); 183 $key = array_keys ( $filter);
184 if(isset($key[0])){ 184 if(isset($key[0])){
185 $metaGroup = TaxGroup::find()->joinWith('lang')->where(['alias'=>$key[0]])->one(); 185 $metaGroup = TaxGroup::find()->joinWith('lang')->where(['alias'=>$key[0]])->one();