Page 1 of 1

Power text in footer

Posted: Thu Sep 29, 2022 1:39 pm
by antoh29
Hello! I am using OC 3.0.3.6, Wnweb theme. I removed from the footer the text with the link to OpenCart, but the previously set "powered_text" is not visible. (Site name and year.) I edited common/footer.twig.

Design/Theme editor/Common/footer.twig :


<footer>
<div class="container">
<div class="row">
{% if informations %}
<div class="col-sm-3">
<h5>{{ text_information }}</h5>
<ul class="list-unstyled">
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
<h5>{{ text_account }}</h5>
<ul class="list-unstyled">
<li><a href="{{ account }}">{{ text_account }}</a></li>
<li><a href="{{ order }}">{{ text_order }}</a></li>
<li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>
<li><a href="{{ newsletter }}">{{ text_newsletter }}</a></li>
</ul>
</div>
</div>
<hr>
<p>{{ powered }}</p>
</div>
</footer>
{% for script in scripts %}
<script src="{{ script }}" type="text/javascript"></script>
{% endfor %}
</body></html>

What is wrong?

Re: Power text in footer

Posted: Thu Sep 29, 2022 7:43 pm
by paulfeakins
antoh29 wrote:
Thu Sep 29, 2022 1:39 pm
Hello! I am using OC 3.0.3.6, Wnweb theme. I removed from the footer the text with the link to OpenCart, but the previously set "powered_text" is not visible. (Site name and year.) I edited common/footer.twig.
I read this 5 times and I still have no idea what your question is?

Re: Power text in footer

Posted: Sat Oct 01, 2022 1:28 pm
by xxvirusxx
On Default OC/Theme, text is in language file

Code: Select all

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

Code: Select all

$_['text_powered']      = '%s &copy; %s';
For that theme, you can ask theme developer.

Re: Power text in footer

Posted: Sun Oct 02, 2022 7:23 pm
by antoh29
Thank you for response.