QUANTM7 Docs

Store

The store object for shop-wide settings, contact details, and branding.

The store object holds information about the shop itself. It is available on every page. Use it for headers, footers, and anywhere you need the store name, logo, or contact details.

Properties

PropertyTypeDescription
store.namestringThe store name
store.descriptionstringThe store description
store.urlstringThe full store URL
store.emailstringThe contact email address
store.phonestringThe contact phone number
<footer>
  <p>&copy; {{ 'now' | date: '%Y' }} {{ store.name }}</p>
  <p>{{ store.email }}</p>
</footer>

Branding

PropertyTypeDescription
store.logostringThe logo URL
<header>
  {% if store.logo %}
    <img src="{{ store.logo }}" alt="{{ store.name }}" />
  {% else %}
    <h1>{{ store.name }}</h1>
  {% endif %}
</header>

Brand

The store.brand object contains the store's visual identity: colours, logo, and social links. Use it to build headers, footers, and social sections that automatically update when the merchant changes their branding.

PropertyTypeDescription
store.brand.logoimageThe brand logo
store.brand.cover_imageimageThe brand cover image
store.brand.short_descriptionstringA brief tagline or description
store.brand.sloganstringThe store slogan
store.brand.colorsobjectBrand colour values
store.brand.social_linksarraySocial media profile URLs

Brand colours

{% style %}
  :root {
    --brand-primary: {{ store.brand.colors.primary }};
    --brand-secondary: {{ store.brand.colors.secondary }};
  }
{% endstyle %}
{% for link in store.brand.social_links %}
  <a href="{{ link.url }}" target="_blank">{{ link.title }}</a>
{% endfor %}

Currency

PropertyTypeDescription
store.currencystringThe currency code (e.g. GBP)
store.currency_symbolstringThe currency symbol (e.g. £)
<p>All prices are in {{ store.currency }} ({{ store.currency_symbol }})</p>

You rarely need these directly. The money filter handles formatting for you. But they are useful for showing a currency notice in the footer or for passing data to JavaScript.

Address

PropertyTypeDescription
store.addressobjectThe store's physical address
store.address.address1stringStreet line 1
store.address.address2stringStreet line 2
store.address.citystringCity
store.address.provincestringCounty or state
store.address.zipstringPostcode
store.address.countrystringCountry
<address>
  {{ store.address.address1 }}<br />
  {{ store.address.city }}, {{ store.address.zip }}<br />
  {{ store.address.country }}
</address>

Metafields

PropertyTypeDescription
store.metafieldsobjectCustom data fields set in the admin

Store metafields are a good place to put global data that does not fit in the standard fields:

{% if store.metafields.custom.announcement %}
  <div class="announcement-bar">
    {{ store.metafields.custom.announcement }}
  </div>
{% endif %}

On this page