Вечер добрый!
У меня тег h1 дублируется при переходе на следующею страницу.
Я пытался его спрятать вот так:
if ($page == 1) {
if ($category_info['image']) {
$this->data['thumb'] = $this->model_tool_image->resize($category_info['image'], $this->config->get('config_image_category_width'), $this->config->get('config_image_category_height'));
} else {
$this->data['thumb'] = '';
}
} else {
$this->data['thumb'] = '';
}
if ($page == 1) {
$this->data['seo_h1'] = html_entity_decode($category_info['seo_h1'], ENT_QUOTES, 'UTF-8');
} else {
$this->data['seo_h1'] = "";
}
//$this->data['description'] = html_entity_decode($category_info['description'], ENT_QUOTES, 'UTF-8');
if ($page == 1) {
$this->data['description'] = html_entity_decode($category_info['description'], ENT_QUOTES, 'UTF-8');
} else {
$this->data['description'] = "";
}
Но не получилась.
У меня тег или на всех страницах или не на одной.
В общем, помогите пожалуйста