Commit c4a28f6aea62c4a985a8c2900df8eb2d00b935e7

Authored by Alex Savenko
1 parent 59159152

remarketing

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
console/controllers/FeedController.php
@@ -47,7 +47,10 @@ class FeedController extends Controller @@ -47,7 +47,10 @@ class FeedController extends Controller
47 // print $this->count++ . "\n"; 47 // print $this->count++ . "\n";
48 // $content[] = [$url]; 48 // $content[] = [$url];
49 // } 49 // }
50 - print $product->name; 50 + $variants = $product->variants;
  51 + foreach ($variants as $variant) {
  52 + print $variant->product_name."\r\n";
  53 + }
51 } 54 }
52 55
53 public function actionProcess() { 56 public function actionProcess() {