Post by antoh29 » 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.

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?

New member

Posts

Joined
Tue Jul 27, 2021 3:44 pm

Post by paulfeakins » Thu Sep 29, 2022 7:43 pm

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?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by xxvirusxx » Sat Oct 01, 2022 1:28 pm

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.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by antoh29 » Sun Oct 02, 2022 7:23 pm

Thank you for response.

New member

Posts

Joined
Tue Jul 27, 2021 3:44 pm
Who is online

Users browsing this forum: No registered users and 100 guests