Commit 316bebf4a50063dffdb3ee91b0e25e31e87080f9

Authored by Administrator
1 parent 0e3bb0b2

big commti

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
common/modules/product/models/Product.php
... ... @@ -231,7 +231,7 @@ class Product extends \yii\db\ActiveRecord
231 231 }
232 232  
233 233 public function getVariantsWithFilters(){
234   - return $this->hasMany(ProductVariant::className(), ['product_id' => 'product_id'])->with('filters');
  234 + return $this->hasMany(ProductVariant::className(), ['product_id' => 'product_id'])->with(['filters','images']);
235 235 }
236 236  
237 237 /**
... ...