Post by dupfold » Thu Sep 21, 2017 10:47 pm

Hello

I'd like to remove the telephone number from the header and contact us page please? I've search this topic and try several suggestions, but the telephone number still appears in both places

Thank you
Last edited by dupfold on Thu Sep 21, 2017 11:14 pm, edited 1 time in total.

New member

Posts

Joined
Wed Oct 21, 2015 3:42 am

Post by yodapt » Thu Sep 21, 2017 11:00 pm

catalog\view\theme\default\template\common\header.twig

Remove or comment line 46

catalog\view\theme\default\template\information\contact.twig

Remove or comment from line 33 to 40. In case you need to display fax number (unlikely), just remove or comment line 34

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by dupfold » Thu Sep 21, 2017 11:13 pm

Hi yodapt

Thanks for your suggestion, which I tried by completely deleting those lings of code, but unfortunately telephone still appears in header and contact page.

New member

Posts

Joined
Wed Oct 21, 2015 3:42 am

Post by yodapt » Thu Sep 21, 2017 11:22 pm

That happens if :

- you didnt clear cache in admin;
- you're using a theme other than the default;
- you're using mods
- you've changed those page's design in admin Design feature;

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by dupfold » Thu Sep 21, 2017 11:37 pm

Cleared the cache and... it worked a treat! Thank you! ;D

New member

Posts

Joined
Wed Oct 21, 2015 3:42 am

Post by PatrickG » Wed Feb 13, 2019 12:23 am

I also wanted to remove the telephone number from header and address from contact us page. I tried these steps, cleared admin and browser cache, but still it didn't work. This is a new installation of 3.0.3.1 with no mods.

https://gladstone.biz/shop/index.php?ro ... on/contact

Personalised Gift Shop


New member

Posts

Joined
Wed Mar 18, 2015 10:32 pm


Post by xxvirusxx » Wed Feb 13, 2019 1:01 am

Refresh Ocmod, clear Theme cache, SASS cache

My Extensions | OC 3.0.3.1, 3.0.2.0, 2.3.0.2 with bugs fixed.


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by PatrickG » Thu Feb 14, 2019 6:54 pm

Thanks, that did the trick!

Personalised Gift Shop


New member

Posts

Joined
Wed Mar 18, 2015 10:32 pm

Who is online

Users browsing this forum: thekrotek and 8 guests