Commit 59159152affae9c6ff60b235ea330736da933aac
1 parent
87a7b42a
remarketing
Showing
1 changed file
with
7 additions
and
6 deletions
Show diff stats
console/controllers/FeedController.php
... | ... | @@ -41,12 +41,13 @@ class FeedController extends Controller |
41 | 41 | } |
42 | 42 | |
43 | 43 | public function createRow( $product, &$content ){ |
44 | - $url = Url::to(['catalog/product', 'product' => $product]); | |
45 | - if($this->checkUrl($url)){ | |
46 | - print $url; | |
47 | - print $this->count++ . "\n"; | |
48 | - $content[] = [$url]; | |
49 | - } | |
44 | +// $url = Url::to(['catalog/product', 'product' => $product]); | |
45 | +// if($this->checkUrl($url)){ | |
46 | +// print $url; | |
47 | +// print $this->count++ . "\n"; | |
48 | +// $content[] = [$url]; | |
49 | +// } | |
50 | + print $product->name; | |
50 | 51 | } |
51 | 52 | |
52 | 53 | public function actionProcess() { | ... | ... |