Commit 3fb5ce0c4decd952ff433076ec69ac0dd579f78c

Authored by Administrator
1 parent c730ce4b

big commti

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
common/modules/product/models/Product.php
... ... @@ -288,7 +288,7 @@ class Product extends \yii\db\ActiveRecord
288 288 }
289 289  
290 290 public function getActiveProperties($category_id) {
291   - $cacheKey = ['ActiveProperties','id' => $category_id];
  291 + $cacheKey = ['ActiveProperties','id' => $category_id, 'options' =>$this->options];
292 292  
293 293 if(!$groups = Yii::$app->cache->get($cacheKey)){
294 294  
... ...