Jump to content

[solved] How can i add a second number to the contactblock in footer


Recommended Posts

go to modules and search for block contact infos module and edit it like below:

 

5Tw3mkn.png

to delete / change "tel" you must go to the modules/blockcontactinfo/blockcontactinfo.tpl and remove /change "{l s='Tel:' mod='blockcontactinfos'}" from :

 

{if $blockcontactinfos_company != ''}<li><strong>{$blockcontactinfos_company|escape:'htmlall':'UTF-8'}</strong></li>{/if}
 {if $blockcontactinfos_address != ''}<li><pre>{$blockcontactinfos_address|escape:'htmlall':'UTF-8'}</pre></li>{/if}
 {if $blockcontactinfos_phone != ''}<li>{l s='Tel:' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if}
 {if $blockcontactinfos_email != ''}<li>{l s='Email:' mod='blockcontactinfos'} {mailto address=$blockcontactinfos_email|escape:'htmlall':'UTF-8' encode="hex"}</li>{/if}

Link to comment
Share on other sites

step by step:

 

FIRST METHOD

 

1) go to modules and configure block contact info module

2) add phone right after address like I showed here: http://i.imgur.com/5Tw3mkn.png

3) in field with phone number enter your FAX number

4) go to the modules/blockcontactinfo/blockcontactinfo.tpl and replace Tel: with Fax: in "{l s='Tel:' mod='blockcontactinfos'}"

 

SECOND METHOD

1) go to the modules/blockcontactinfo/blockcontactinfo.tpl and add

 

<li>{l s='Fax:' mod='blockcontactinfos'} YOUR_FAX_NUMBER_HERE</li>

 

right after:

 

{if $blockcontactinfos_phone != ''}<li>{l s='Tel:' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if}

 

 

in some cases you must turn force compile in your shop. read how to turn on force compile in prestashop if you don't know how to do that. After all remember to turn it off.

Link to comment
Share on other sites

<!-- MODULE Block contact infos -->
<div id="block_contact_infos">
<h4 class="title_block">{l s='Contact us' mod='blockcontactinfos'}</h4>
<ul>
 {if $blockcontactinfos_company != ''}<li><strong>{$blockcontactinfos_company|escape:'htmlall':'UTF-8'}</strong></li>{/if}
 {if $blockcontactinfos_address != ''}<li><pre>{$blockcontactinfos_address|escape:'htmlall':'UTF-8'}</pre></li>{/if}
 {if $blockcontactinfos_phone != ''}<li>{l s='Tel:' mod='blockcontactinfos'} {$blockcontactinfos_phone|escape:'htmlall':'UTF-8'}</li>{/if}
    <li>{l s='Fax:' mod='blockcontactinfos'} 08435 24 10 69</li>
 {if $blockcontactinfos_email != ''}<li>{l s='Email:' mod='blockcontactinfos'} {mailto address=$blockcontactinfos_email|escape:'htmlall':'UTF-8' encode="hex"}</li>{/if}
</ul>
</div>
<!-- /MODULE Block contact infos -->

Link to comment
Share on other sites

×
×
  • Create New...