Phone Number and Email Address

Display your phone number and email address in the header of a webstore, allowing people to easily reach you.


Phone Number & Email Address

Preparation Checklist

Before you start this tweak, it's a good idea to run through our preparation checklist below:

  • Read through the Getting Started Guide to get a better sense of how the Control Panel, Database and Front End store interact.
  • Learn our recommended Simple Workflow. This makes the implementation process as easy as possible.
  • Create a new Staging Theme for this tweak. This allows you to preview any changes before they are visible to live customers.

Coding Instructions

Step 1: Open the header template

Navigate to the file /httpdocs/assets/themes/[THEME-NAME]/templates/header/template.html.

Step 2: Add the code into the template

Paste the following code into the header template where you would like these elements to appear.

<!-- Phone Number -->
    <div class="footer-phone my-1"><i class="fa fa-phone mr-2"></i><a href="tel:[@CONFIG:COMPANY_PHONE@]" target="_blank">[@CONFIG:COMPANY_PHONE@]</a></div>

<!-- Email Address -->
    <div class="my-1"><i class="fa fa-envelope mr-2"></i><a href="mailto:[@CONFIG:COMPANY_EMAIL@]" target="_blank">[@CONFIG:COMPANY_EMAIL@]</a></div>

Was this article useful?

Be notified when this page is updated. Optional.