Jump to content

editing the phone number on top of the new presta 1.6 default theme?


Recommended Posts

Hello,

 

I just installed the new Prestashop 1.6 and I try to find out how to edit the phone number (or remove it) on top left of the default theme (in the text "Call us now toll free…").

 

I've searched everywhere, in modules and other menus but can't find the solution.

 

Anyone knows?

 

Thanks!

  • Like 1
Link to comment
Share on other sites

hello

go to modules > modules section

 

search for "block contact" module and click on configure button,

H3lWGMf.png

 

you will see the form to edit the phone number:

x7XS5iE.png

 

 

if you want to remove phone number permanently, go to /theme/YOUR_THEME/modules/blockcontact/blockcontact.tpl and remove code responsible for whole phone number feature.

  • Like 7
Link to comment
Share on other sites

1) localization > translations

2) from first dropdown select "installed modules translations"

3) from second dropdown selelct your template then

4) click on flag you want to translate / change

 

then search for this text and just translate it.

Link to comment
Share on other sites

  • 2 months later...

 

1) localization > translations

2) from first dropdown select "installed modules translations"

3) from second dropdown selelct your template then

4) click on flag you want to translate / change

 

then search for this text and just translate it.

 

Hello
How can  remove link from my email in contact us fother,  I want only text without link to my email address

hello

go to modules > modules section

 

search for "block contact" module and click on configure button,

H3lWGMf.png

 

you will see the form to edit the phone number:

x7XS5iE.png

 

 

if you want to remove phone number permanently, go to /theme/YOUR_THEME/modules/blockcontact/blockcontact.tpl and remove code responsible for whole phone number feature.

Hello

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
  • 4 weeks later...
  • 2 weeks later...

Hi guys,

 

I would like not to show at all the telephone in the header, but I would like to show our email instead. How can I do it?

 

Thanks!

 

Easiest way would be to edit themes/YOUR-THEME/modules/blockcontact/nav.tpl....

Find:

{if $telnumber}
	<span class="shop-phone">
		<i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong>
	</span>
{/if}

And change it to this:

{if $email}
    <span class="shop-phone">
        <!--<i class="icon-phone"> --></i>{l s='Email us now:' mod='blockcontact'} <strong>{$email}</strong>
    </span>
{/if}

I have commented out the i-class but you could delete it if you want.

You can change the text "Email us now" to whatever you want

But keep the  <span class="shop-phone">, this will keep it centralised in the navbar

       

 

Edited by mickeyboy1 (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Hi guys!

 

I'm editing themes/default-bootstrap/modules/blockcontact/nav.tpl file but nothing changes. I tried in different browsers so it's probably not the cache's fault. 

 

Is there any way to make this work? 

 

(default bootstrap is my only theme)

Link to comment
Share on other sites

Hi guys!

 

I'm editing themes/default-bootstrap/modules/blockcontact/nav.tpl file but nothing changes. I tried in different browsers so it's probably not the cache's fault. 

 

Is there any way to make this work? 

 

(default bootstrap is my only theme)

 

the question is what you exactly want to change? 

Link to comment
Share on other sites

I'm trying to add something after telephone number, ie add email. I made following change in themes/default-bootstrap/modules/blockcontact/nav.tpl butnothing has changed

 

<span class="shop-phone">
<i class="icon-phone"></i>{l s='Call us now:' mod='blockcontact'} <strong>{$telnumber}</strong> | email: <strong>{$email}</strong>
</span>
Link to comment
Share on other sites

×
×
  • Create New...