Commit 15e8d97247f9bd737f40f060ca2b2d9799f81d0c

Authored by Alex Savenko
1 parent 7612cbbe

remarketing

Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
console/controllers/FeedController.php
@@ -60,10 +60,11 @@ class FeedController extends Controller @@ -60,10 +60,11 @@ class FeedController extends Controller
60 $handle = fopen($dirName .'/'. $filename, "w"); 60 $handle = fopen($dirName .'/'. $filename, "w");
61 61
62 $content[] = ['ID', 'ID2', 'Item Category', 'Item title', 'Item description', 'Price']; 62 $content[] = ['ID', 'ID2', 'Item Category', 'Item title', 'Item description', 'Price'];
  63 + $content[] = ['ID', 'ID2', 'Item Category', 'Item title', 'Item description', 'Price'];
63 64
64 - foreach ($this->getProducts() as $product) {  
65 - $this->createRow($product, $content);  
66 - } 65 +// foreach ($this->getProducts() as $product) {
  66 +// $this->createRow($product, $content);
  67 +// }
67 68
68 fputcsv($handle, $content); 69 fputcsv($handle, $content);
69 fclose($handle); 70 fclose($handle);