Commit 3240d65d1e09e3ca5ddf038e7c06ea48f03da4aa
1 parent
caafa02f
remarketing
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
console/controllers/FeedController.php
@@ -44,7 +44,6 @@ class FeedController extends Controller | @@ -44,7 +44,6 @@ class FeedController extends Controller | ||
44 | $product->category->category_id, | 44 | $product->category->category_id, |
45 | $product->category->name, | 45 | $product->category->name, |
46 | $product->name, | 46 | $product->name, |
47 | - $product->description, | ||
48 | $product->price.' UAH', | 47 | $product->price.' UAH', |
49 | ]; | 48 | ]; |
50 | } | 49 | } |
@@ -67,8 +66,7 @@ class FeedController extends Controller | @@ -67,8 +66,7 @@ class FeedController extends Controller | ||
67 | 66 | ||
68 | $handle = fopen($dirName .'/'. $filename, "w"); | 67 | $handle = fopen($dirName .'/'. $filename, "w"); |
69 | 68 | ||
70 | - $content[] = ['ID', 'ID2', 'Item Category', 'Item title', 'Item description', 'Price']; | ||
71 | - $content[] = ['ID', 'ID2', 'Item Category', 'Item title', 'Item description', 'Price']; | 69 | + $content[] = ['ID', 'ID2', 'Item Category', 'Item title', 'Price']; |
72 | 70 | ||
73 | foreach ($this->getProducts() as $product) { | 71 | foreach ($this->getProducts() as $product) { |
74 | $this->createRow($product, $content); | 72 | $this->createRow($product, $content); |