public function Union_ProductAction($id) { $vMarket = new Market($this->context); $this->view->setVar('block_cat_comission', $vMarket->getCategoriesCommTreeHTML()); $this->view->setVar('block_gift_tovar', $vMarket->getUnionTovarHTML($id)); //$this->view->setVar('block_count_tovar', $vMarket->GetCountTovar()); $this->view->setVar('block_cat_option', $vMarket->getCategoriesOptHTML()); $this->view->breadcrumbs = array(array('url' => '/', 'title' => 'Главная'), array('url' => '/market/', 'title' => 'Маркет'), array('url' => '../market/comissionka', 'title' => 'Дарю/Меняю + Комиссионка')); $this->view->generate(); }