NoteStar преди 5 години
родител
ревизия
b7889983cc
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      vendor/fancyecommerce/fecshop/services/product/ProductMysqldb.php

+ 1 - 0
vendor/fancyecommerce/fecshop/services/product/ProductMysqldb.php

@@ -1165,6 +1165,7 @@ class ProductMysqldb extends Service implements ProductInterface
 
         $product_attrs = $this->_productModel->find()
                     ->select('attr_group_info')
+                    ->groupBy('spu')
                     ->where($where)->asArray()
                     ->all();