Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

opencart add custom description meta tag using controller file

// try looking for a line in your controller file that looks like this:
$this->document->setDescription($this->language->get('description'));

// replace the it with the below
$this->document->setDescription("My custom description text!");
 
PREVIOUS NEXT
Tagged: #opencart #add #custom #description #meta #tag #controller #file
ADD COMMENT
Topic
Name
2+3 =