Email Address

Add your email address to the header of your webstore so customers can quickly get in touch.

Wireframe

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 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 header 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 this element to appear:

[%if [@CONFIG:COMPANY_EMAIL@]%]
    <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>
[%/if%]

Step 3: Edit the email address

The email address can be edited from your control panel: Settings & Tools > Business Details

Was this article useful?

Be notified when this page is updated. Optional.