Commit 1b1256d6e9264d8fa77d3b605bb0466e3f4e1323
1 parent
a587f0c4
big commti
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
common/modules/product/models/Export.php
| @@ -20,9 +20,6 @@ class Export extends Model { | @@ -20,9 +20,6 @@ class Export extends Model { | ||
| 20 | $products = Product::find() | 20 | $products = Product::find() |
| 21 | ->joinWith(['variantsWithFilters','brand','categories'])->with('filters')->all(); | 21 | ->joinWith(['variantsWithFilters','brand','categories'])->with('filters')->all(); |
| 22 | 22 | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | foreach ($products as $product) | 23 | foreach ($products as $product) |
| 27 | { | 24 | { |
| 28 | 25 | ||
| @@ -92,7 +89,7 @@ class Export extends Model { | @@ -92,7 +89,7 @@ class Export extends Model { | ||
| 92 | 89 | ||
| 93 | fputcsv($handle, $to_write, ';'); | 90 | fputcsv($handle, $to_write, ';'); |
| 94 | unset($product); | 91 | unset($product); |
| 95 | - die('first'); | 92 | + |
| 96 | } | 93 | } |
| 97 | 94 | ||
| 98 | 95 |