How to add the information pages to header menu in opencart
If you use the default theme you can add this code to the catalog/controller/common/header.php:
Before this line:
if (file_exists(DIR_TEMPLATE . $this->config->get(‘config_template’) . ‘/template/common/header.tpl’)) {
Add this:
$this->load->language(‘common/footer’);
$data[‘categories’][] = array(
‘name’ => $this->language->get(‘text_contact’),
‘children’ => ”,
‘column’ => 1,
‘href’ => $this->url->link(‘information/contact’)
);
Recent Posts