Originally Posted by
J9MM0
... I have my phone number in the admin pages but what code do i need to show this on the page? ...
For the above - from last time I looked the code you used to display the tel no. was
Code:
<div class="logoText">Tel: 0161 408 0438</div>
to grab and display the customer service tel no. from the database you could use:
Code:
<div class="logoText">Tel: <?php echo STORE_TELEPHONE_CUSTSERVICE; ?></div>
However the 'Tel:' prefix should really be stored in a language file so I would add the following to \includes\languages\YOUR_TEMPLATE\english.php:
Code:
define('STORE_TELEPHONE_CUSTSERVICE_PREFIX', 'Tel: ');
and use this code in your header php file:
Code:
<div class="logoText"><?php echo STORE_TELEPHONE_CUSTSERVICE_PREFIX . STORE_TELEPHONE_CUSTSERVICE; ?></div>
Bookmarks