Variables

.name

Shop name as configured under System » Company » Shop Settings » Name.

TYPE
string
CONSTRAINTS
none
PRESENCE
always

Examples

CODEshop.name
OUTPUTMyShop

.slogan

Shop slogan as configured under System » Company » Shop Settings » Slogan.

TYPE
string
CONSTRAINTS
none
PRESENCE
always

Examples

CODEshop.slogan
OUTPUTBest deals in town!

.email

Shop's primary email address as configured under System » Company » Shop Settings » Default email.

TYPE
string
CONSTRAINTS
valid email address
PRESENCE
always

Examples

CODEshop.email
OUTPUTinfo@myshop.com

Multiple Email Addresses

If you need multiple email addresses displayed in your theme, you can use theme configuration to setup the necessary data, such as email address purpose (e.g. sales or orders) and actual email address.

.phone

Shop's primary phone number as configured under System » Company » Shop Settings » Default phone.

TYPE
string
CONSTRAINTS
none
PRESENCE
always

Examples

CODEshop.phone
OUTPUT+27-11-000-0000

Multiple Phone Numbers

If you need multiple phone numbers displayed in your theme, you can use theme configuration to setup the necessary data, such as phone number purpose (e.g. sales or orders) and actual phone number.

.phone

Shop's primary domain name as shown under System » Company » Shop Settings » Domain. Domain name is configured as part of the hosting plan and cannot be changed from the shop's settings.

TYPE
string
CONSTRAINTS
valid domain name
PRESENCE
always

Examples

CODEshop.domain
OUTPUTwww.myshop.com

.company

Shop's company details as configured under System » Company » Company Settings.

TYPE
company object
CONSTRAINTS
n/a
PRESENCE
always

Variable Dump

Copy and paste the below HTML into any template page, to see all shop data dumped to your page. You can then simply remove the unnecessary fields and other elements, and format the remaining fields however necessary to achieve the desired look and feel.

<style>
.thedump .name{
    background-color:#3A5FCD;
    color:white;
    padding:0.5em;
    font-weight:bold;
}
.thedump .code{
    background-color:#888888;
    color:white;
    padding:0.5em;
}
.thedump .out{
    background-color:white;
    color:#555555;
    padding:0.5em;
    border-bottom:1px solid #CCCCCC;
    margin-bottom:1em;
}
.thedump .code pre{
    padding:0;
    margin:0;
    font-size:1.1em;
}
</style>

<div class="thedump">
    <div class="name">Shop Name</div>
    <div class="code"><pre>&#123;&#123; shop.name &#125;&#125;</div>
    <div class="out">{{ shop.name }}</div> 
    
    <div class="name">Shop Slogan</div>
    <div class="code"><pre>&#123;&#123; shop.slogan &#125;&#125;</div>
    <div class="out">{{ shop.slogan }}</div> 
    
    <div class="name">Shop Domain</div>
    <div class="code"><pre>&#123;&#123; shop.domain &#125;&#125;</div>
    <div class="out">{{ shop.domain }}</div> 
    
    <div class="name">Shop Default Email Address</div>
    <div class="code"><pre>&#123;&#123; shop.email &#125;&#125;</div>
    <div class="out">{{ shop.email }}</div> 
    
    <div class="name">Shop Default Phone Number</div>
    <div class="code"><pre>&#123;&#123; shop.phone &#125;&#125;</div>
    <div class="out">{{ shop.phone }}</div> 
</div>