I'm trying to add meta description in manufacturer list but I get stuck.
I tried in catalog/controller/common/header.php in public function index() {
Code: Select all
if ((isset($this->request->get['route'])) AND ($this->request->get['route'] = 'product/manufacturer')) {
$data['description'] = 'Test manufacturer meta description';
} else {
$data['description'] = $this->document->getDescription();
}
But then in all pages meta description become 'Test manufacturer meta description'.
What I did wrong?
Thanks!