"кастомные поля"
Вот например у меня имеются сложные "информационные страницы" с индивидуальной версткой.
в стандартной сборке этой CMS все работает как положенно
ставлю дефолтные файлики product.tpl и product.php
Модули magiczoom и прочие устанавливаются на не работают
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/information/information.tpl')) {
$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/information/information.tpl', $data));
} else {
$this->response->setOutput($this->load->view('default/template/information/information.tpl', $data));
}
if ($information_id == {id нужной статьи}) {
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/information/information.tpl')) {
$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/information/{новое название шаблона}.tpl', $data));
} else {
$this->response->setOutput($this->load->view('default/template/information/{новое название шаблона}.tpl', $data));
}
} else {
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/information/information.tpl')) {
$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/information/information.tpl', $data));
} else {
$this->response->setOutput($this->load->view('default/template/information/information.tpl', $data));
}
}