Post by Blackbeard » Sun Jan 01, 2012 10:54 pm

How to disable the Customer Service section in the newest OC version?

Thanks
Last edited by Blackbeard on Thu Jan 05, 2012 12:24 am, edited 1 time in total.

Newbie

Posts

Joined
Sun Jan 01, 2012 10:53 pm

Post by d7a7z7e7d » Mon Jan 02, 2012 6:44 am

This is an easy fix. Just open up catalog/view/theme/default/template/common/footer.tpl and remove this entire block of code:

Code: Select all

<div class="column">
    <h3><?php echo $text_service; ?></h3>
    <ul>
      <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
      <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
      <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
    </ul>
  </div>
Or, if you think you might want to add it back later, you can just hide it by changing it to this:

Code: Select all

<?php if (false) { ?>
<div class="column">
    <h3><?php echo $text_service; ?></h3>
    <ul>
      <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
      <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
      <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
    </ul>
  </div>
<?php } ?>

Image
OpenCart Extensions, Technical Support & Custom Development | Have I helped you?


User avatar
Active Member

Posts

Joined
Fri Sep 17, 2010 5:51 am
Location - USA

Post by Blackbeard » Thu Jan 05, 2012 12:24 am

d7a7z7e7d wrote:This is an easy fix. Just open up catalog/view/theme/default/template/common/footer.tpl and remove this entire block of code:

Code: Select all

<div class="column">
    <h3><?php echo $text_service; ?></h3>
    <ul>
      <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
      <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
      <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
    </ul>
  </div>
Or, if you think you might want to add it back later, you can just hide it by changing it to this:

Code: Select all

<?php if (false) { ?>
<div class="column">
    <h3><?php echo $text_service; ?></h3>
    <ul>
      <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
      <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
      <li><a href="<?php echo $sitemap; ?>"><?php echo $text_sitemap; ?></a></li>
    </ul>
  </div>
<?php } ?>
Thanks! It worked.

Newbie

Posts

Joined
Sun Jan 01, 2012 10:53 pm
Who is online

Users browsing this forum: No registered users and 18 guests