From af40200b475fa4b60969b107113ce930497a2018 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 2 Dec 2016 15:02:06 +0200 Subject: [PATCH] add variantSku --- widgets/Seo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/Seo.php b/widgets/Seo.php index a2bb142..bc4061b 100755 --- a/widgets/Seo.php +++ b/widgets/Seo.php @@ -179,7 +179,7 @@ class Seo extends Widget $meta = $this->selectSeoData(self::META, $filter,$priority); - if(!empty($filter) && !$this->checkFilter($filter) && count($filter, COUNT_RECURSIVE) == 2){ + if(!empty($filter) && !$this->checkFilter($filter) && count($filter, COUNT_RECURSIVE) == 2 && $priority==3){ $key = array_keys ( $filter); if(isset($key[0])){ $metaGroup = TaxGroup::find()->joinWith('lang')->where(['alias'=>$key[0]])->one(); -- libgit2 0.21.4