From c4a28f6aea62c4a985a8c2900df8eb2d00b935e7 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 6 Dec 2016 12:03:35 +0200 Subject: [PATCH] remarketing --- console/controllers/FeedController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/console/controllers/FeedController.php b/console/controllers/FeedController.php index 97e562a..8e3de8d 100644 --- a/console/controllers/FeedController.php +++ b/console/controllers/FeedController.php @@ -47,7 +47,10 @@ class FeedController extends Controller // print $this->count++ . "\n"; // $content[] = [$url]; // } - print $product->name; + $variants = $product->variants; + foreach ($variants as $variant) { + print $variant->product_name."\r\n"; + } } public function actionProcess() { -- libgit2 0.21.4