Code
$this->set('products_items', $this->Product->find('all', array('conditions' => array('Product.status' => '1', 'Product.language_id' => $this->language, 'Product.productgroup_id' => $this->id_productgroup), 'order' => array('Product.order'))));
$this->set('product', $this->Product->find(array('Product.seo_title' => $this->params['pass'][1])));
ProductsController::read() - APP/controllers/products_controller.php, line 27
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88
Code $this->set('product', $this->Product->find(array('Product.seo_title' => $this->params['pass'][1])));
$this->set('category', $this->Productgroup->find(array('Productgroup.id' => $this->id_productgroup)));
$this->pageTitle = 'Katalog produktów | '.$this->Productgroup->field('name', array('Productgroup.seo_title' => $this->params['pass'][0])).' | '.$this->Product->field('name', array('Product.seo_title' => $this->params['pass'][1]));
ProductsController::read() - APP/controllers/products_controller.php, line 29
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 88