I have a script for vqmod opencart made in this way:
<modification>
<file name="catalog/view/theme/*/template/common/header.tpl">
<operation>
<search position="replace"><![CDATA[<title><?php echo $title; ?></title>]]></search>
<add><![CDATA[<title><?php
$separator=" | ";
$store_name=$this->config->get('config_name');
if(trim($store_name)!=trim($title))
echo $title.$separator.$store_name;
else
echo $title;
?></title>]]></add>
</operation>
</file>
</modification>
I would like to show in every page not the website name (config_name), but the homepage title that is different and more complete. Moreover it is different for every language of my site. Can you help me in some way?
Thank you