Object: shop
Variables
.name
Shop name as configured under System » Company » Shop Settings » Name.
Examples
CODEshop.name
OUTPUTMyShop
.slogan
Shop slogan as configured under System » Company » Shop Settings » Slogan.
Examples
CODEshop.slogan
OUTPUTBest deals in town!
Shop's primary email address as configured under System » Company » Shop Settings » Default email.
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.
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.
Examples
CODEshop.domain
OUTPUTwww.myshop.com
.company
Shop's company details as configured under System » Company » Company Settings.
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>{{ shop.name }}</div> <div class="out">{{ shop.name }}</div> <div class="name">Shop Slogan</div> <div class="code"><pre>{{ shop.slogan }}</div> <div class="out">{{ shop.slogan }}</div> <div class="name">Shop Domain</div> <div class="code"><pre>{{ shop.domain }}</div> <div class="out">{{ shop.domain }}</div> <div class="name">Shop Default Email Address</div> <div class="code"><pre>{{ shop.email }}</div> <div class="out">{{ shop.email }}</div> <div class="name">Shop Default Phone Number</div> <div class="code"><pre>{{ shop.phone }}</div> <div class="out">{{ shop.phone }}</div> </div>