32333435363738394041424344454647484950 $product = Product::find()->orderBy(['sort' => SORT_ASC])->all();
}
return $this->render('catalog', ['power' => $power, 'count_program' => $count_program, 'volumes' => $volumes, 'product' => $product, 'recipies' => $recipies]);
}
public function actionDetailed($symbol)
{
$dish = \backend\models\Product::findOne(['symbol' => $symbol])->getProductDish()->with('dish')->with('product')->all();
$product = Product::findOne(['symbol' => $symbol]);
// $video_id = Product::createVideoLink($product->video_link);
$interes_prod = $_COOKIE['interes_prod'];
$interes_prod = array_unique(explode(',', $interes_prod));
$interes_prod = implode(',', $interes_prod);