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
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
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
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;
- 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
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
https://gladstone.biz/shop/index.php?ro ... on/contact
Refresh Ocmod, clear Theme cache, SASS cache
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
In OC 3.0.2.0 I used:
Design>Theme Editor>Information>contact.twig
Find:
<div class="col-sm-3"><strong>{{ text_telephone }}</strong><br>
{{ telephone }}<br />
<br />
{% if fax %}
<strong>{{ text_fax }}</strong><br>
{{ fax }}
{% endif %}
</div>
Replace with :
<span class="hidden">
<div class="col-sm-3"><strong>{{ text_telephone }}</strong><br>
{{ telephone }}<br />
<br />
{% if fax %}
<strong>{{ text_fax }}</strong><br>
{{ fax }}
{% endif %}
</div>
</span>
Clear OC Cache.
Design>Theme Editor>Information>contact.twig
Find:
<div class="col-sm-3"><strong>{{ text_telephone }}</strong><br>
{{ telephone }}<br />
<br />
{% if fax %}
<strong>{{ text_fax }}</strong><br>
{{ fax }}
{% endif %}
</div>
Replace with :
<span class="hidden">
<div class="col-sm-3"><strong>{{ text_telephone }}</strong><br>
{{ telephone }}<br />
<br />
{% if fax %}
<strong>{{ text_fax }}</strong><br>
{{ fax }}
{% endif %}
</div>
</span>
Clear OC Cache.
Who is online
Users browsing this forum: Bing [Bot], OSWorX, paulfeakins and 413 guests