diff --git a/common/modules/product/models/Product.php b/common/modules/product/models/Product.php index 37328ca..f299495 100755 --- a/common/modules/product/models/Product.php +++ b/common/modules/product/models/Product.php @@ -288,7 +288,7 @@ class Product extends \yii\db\ActiveRecord } public function getActiveProperties($category_id) { - $cacheKey = ['ActiveProperties','id' => $category_id]; + $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options]; if(!$groups = Yii::$app->cache->get($cacheKey)){ -- libgit2 0.21.4