Post by Orbiter » Thu Dec 08, 2022 12:31 am

OC 3.0.8

I disabled Gift Voucher under extensions Order Totals
I also changed row 26 in the theme editor:
<!--<li><a href="{{ voucher }}">{{ text_voucher }}</a></li>-->
I deleted the content of the cache folder

But still..my footer shows that Gift certificate link under extras in the footer.
How can I get rid of it?

New member

Posts

Joined
Tue Nov 22, 2022 3:46 am

Post by xxvirusxx » Thu Dec 08, 2022 12:56 am

Refresh Ocmod modification

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 Orbiter » Thu Dec 08, 2022 1:29 am

You mean from the admin dashboard: Extensions/Modifications and than the refresh button?
No effect! Still there

New member

Posts

Joined
Tue Nov 22, 2022 3:46 am

Post by xxvirusxx » Thu Dec 08, 2022 1:49 am

Orbiter wrote:
Thu Dec 08, 2022 1:29 am
No effect! Still there
My bad. I didn't see this
Orbiter wrote:
Thu Dec 08, 2022 12:31 am
I also changed row 26 in the theme editor:
Better edit directly the file and ignore Theme editor

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 Orbiter » Thu Dec 08, 2022 2:12 am

Yeah, I also edited the file directly, nothing changes.
The theme editor shows excactly the same changes as when I edit it offline with Atom though, so at least that one works fine.
Is there another file I need to change to get rid of that footer?

Code: Select all

<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 %}
      <div class="col-sm-3">
        <h5>{{ text_service }}</h5>
        <ul class="list-unstyled">
          <li><a href="{{ contact }}">{{ text_contact }}</a></li>
          <li><a href="{{ return }}">{{ text_return }}</a></li>
          <li><a href="{{ sitemap }}">{{ text_sitemap }}</a></li>
        </ul>
      </div>
      <div class="col-sm-3">
        <h5>{{ text_extra }}</h5>
        <ul class="list-unstyled">
          <li><a href="{{ manufacturer }}">{{ text_manufacturer }}</a></li>
          <!--<li><a href="{{ voucher }}">{{ text_voucher }}</a></li>-->
          <li><a href="{{ affiliate }}">{{ text_affiliate }}</a></li>
          <li><a href="{{ special }}">{{ text_special }}</a></li>
        </ul>
      </div>
      <div class="col-sm-3">
        <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 style in styles %}
<link href="{{ style.href }}" type="text/css" rel="{{ style.rel }}" media="{{ style.media }}" />
{% endfor %}
{% for script in scripts %}
<script src="{{ script }}" type="text/javascript"></script>
{% endfor %}
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
</body></html>

New member

Posts

Joined
Tue Nov 22, 2022 3:46 am

Post by by mona » Thu Dec 08, 2022 2:38 am

The editor and ocmod do not play nice together - nor do vqmod and ocmod
If you have a theme or extension that can also effects things.

You have to provide more information - virus has answered correctly on the information you have provided.
Attached is a ocmod - install - refresh - check error logs If you have no luck - maybe if you offer virus a beer he will look into it for you ?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by Orbiter » Thu Dec 08, 2022 2:44 am

That was a good hint!
I have a affiliate remove extension, that actually made a:

Code: Select all

         $view = str_replace('common/footer', 'extension/module/affiliate_remove/footer', $view); 
Now I found the correct footer, thanks!

New member

Posts

Joined
Tue Nov 22, 2022 3:46 am

Post by paulfeakins » Thu Dec 08, 2022 5:46 pm

Orbiter wrote:
Thu Dec 08, 2022 2:44 am
Now I found the correct footer, thanks!
Great, please add [SOLVED] to the start of this post title.

As others have said, never use the theme editor.

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
Who is online

Users browsing this forum: Baidu [Spider] and 91 guests