How to change Powered by Opencart to your compnay in Opencart 3
This can be done in two ways.
1. You can do it at the language files.
Go to publich_html/catalog/language/en-gb/common/footer.php. This is straight forward and easy.
Find this code ...
$_['text_powered'] = 'Powered By <a href="http://www.opencart.com">Opencart</a><br /> %s © %s';
Change to ...
$_['text_powered'] = 'Powered By <a href="http://www.myCompany.com">myCompany</a><br /> %s © %s';
2. You can also do this at the template file. Here you have to write the link code.
Go to publich_html/catalog/view/theme/default/template/common/footer.twig
One of the major changes in version 3 is the use of .twig files instead of .tpl files. TWIG is the templating code of choice for php.
At line 42 you will see <p>{{ powered }}</p>
Change this to <p>Powered By <a href="http://www.myCompany.com">myCompany</a><br />All rights reserved © 2018></p>
It is a good practice to make a small donation to donate@opencart.com via Paypal when you remove 'powered by OpenCart ' recognising the valuable service they provide FREE to you.
1. You can do it at the language files.
Go to publich_html/catalog/language/en-gb/common/footer.php. This is straight forward and easy.
Find this code ...
$_['text_powered'] = 'Powered By <a href="http://www.opencart.com">Opencart</a><br /> %s © %s';
Change to ...
$_['text_powered'] = 'Powered By <a href="http://www.myCompany.com">myCompany</a><br /> %s © %s';
2. You can also do this at the template file. Here you have to write the link code.
Go to publich_html/catalog/view/theme/default/template/common/footer.twig
One of the major changes in version 3 is the use of .twig files instead of .tpl files. TWIG is the templating code of choice for php.
At line 42 you will see <p>{{ powered }}</p>
Change this to <p>Powered By <a href="http://www.myCompany.com">myCompany</a><br />All rights reserved © 2018></p>
It is a good practice to make a small donation to donate@opencart.com via Paypal when you remove 'powered by OpenCart ' recognising the valuable service they provide FREE to you.
Comments