Search code examples
opencartopencart-3

Edit text and add <br> tag in opencart footer content


A company dveloped a website for my cousin's skin care company. The site is developed in opencart. It has a footer in which I have to add a break tag and also edit copyright information but being new to opencart I am unable to find the content of the footer. If someone could help me to edit the footer content and also tell me where to locate the footer content in opencart.


Solution

  • There are three files where that powered info is stored... catalog/controller/common/footer.php

    $data['powered'] = sprintf($this->language->get('text_powered'), $this->config->get('config_name'), date('Y', time()));
    

    catalog/language/en-gb/common/footer.php

    $_['text_powered']      = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s &copy; %s';
    

    catalog/view/theme/default/template/common/footer.twig

    <p>{{ powered }}</p>
    

    You can edit your language file to get your info in the footer.