Commit dae358de4f8ae39d06e15de1524d5703231c2bdf
1 parent
10cb4f16
remarketing
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
console/controllers/FeedController.php
... | ... | @@ -47,9 +47,8 @@ class FeedController extends Controller |
47 | 47 | // print $this->count++ . "\n"; |
48 | 48 | // $content[] = [$url]; |
49 | 49 | // } |
50 | - $variants = $product->variants; | |
51 | - foreach ($variants as $variant) { | |
52 | - print $variant->translit."\r\n"; | |
50 | + foreach ($product as $item) { | |
51 | + print $item->product_id."\r\n"; | |
53 | 52 | } |
54 | 53 | } |
55 | 54 | ... | ... |