Post by brian47374 » Wed Dec 09, 2015 10:24 am

I have a template from templatemonster and I would like to remove the telephone information and physical address from the main page and subsequent pages. Also, if need be, remove it from the contact us page. The only thing I want to display is an email address. How might one go about removing this unwanted information? I have the gun shop 51070 template. I'm running OC 1.5.6.4.

New member

Posts

Joined
Tue Sep 24, 2013 9:51 pm

Post by inactiveaccount9912 » Wed Dec 09, 2015 7:23 pm

By default the phone number shows in the contact page only, to remove that edit catalog/view/theme/yourtheme/template/information/contact.tpl and remove the code:

Code: Select all

<?php if ($telephone) { ?>
        <b><?php echo $text_telephone; ?></b><br />
        <?php echo $telephone; ?><br />
        <br />
        <?php } ?>
        <?php if ($fax) { ?>
        <b><?php echo $text_fax; ?></b><br />
        <?php echo $fax; ?>
        <?php } ?>
For any other pages it must be added by the theme so youll have to contact their support for assistance.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by brian47374 » Thu Dec 10, 2015 9:45 am

Great! Thanks. HOWEVER, how do I remove it from the FRONT page of the site? Will removing the code where you said to on the contact page remove it everywhere on the site?

New member

Posts

Joined
Tue Sep 24, 2013 9:51 pm

Post by brian47374 » Sat Dec 12, 2015 9:47 pm

I edited the code and it took the information off the contact page, but the phone number and address are still in the settings. Also, the phone number is still appearing on the front page. Could this be some sort of cache issue since I deleted the code in the contact.tpl?

New member

Posts

Joined
Tue Sep 24, 2013 9:51 pm

Post by inactiveaccount9912 » Tue Dec 15, 2015 3:49 pm

Above I said For any other pages it must be added by the theme so youll have to contact their support for assistance.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am
Who is online

Users browsing this forum: No registered users and 8 guests