Ммм.. Чего-то я, наверное, еще не проснулся, какую-то ересь написал :oops:
Контроллер все-таки нужен. Делайте, как делали - скопируйте под новым именем контроллер, шаблон, поменяйте на class ControllerProductCategoryall extends Controller в котроллере.
Но не забудьте еще поправить в контроллере строки
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/category.tpl')) {
$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/product/category.tpl', $data));
} else {
$this->response->setOutput($this->load->view('default/template/product/category.tpl', $data));
}
на ваш tpl файл, примерно так:
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/categoryall.tpl')) {
$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/product/categoryall.tpl', $data));
} else {
$this->response->setOutput($this->load->view('default/template/product/categoryall.tpl', $data));
}
ЗЫ:
вообще-то к контроллеру, но в данном случае они совпадают.