Demo store

Prices come from Shopify Markets

galaxy-earrings_925x_fdaca8f9-21e6-4e1a-b5aa-85fa3871dc9c.jpg
Sterling Studio

Galaxy Earrings

£37.99 €46.34 US$50.82

Deep blue stones flecked with gold, like a night sky, on sterling silver posts.

925 sterling silver, goldstone glass
Clean gently with a soft brush.
Keep dry.
Free UK delivery over £50. Returns within 30 days. (This is a demo: orders are placed in a Shopify test store and never shipped.)
Under the hood: variants, stock and metafields

The option buttons use the addon's shopifyProduct Alpine component with this product's variants from {{ shopify:variants }}. Stock and prices come from each variant (or its market, when you switch country), and Add to bag creates a Shopify cart through the Storefront API.

Materials and Care are Shopify metafields, imported onto the entry. Why we love it is a Statamic field: the import never overwrites it.

{{ variants = {shopify:variants} }}
<div x-data='shopifyProduct({{ options | to_json }}, {{ variants | to_json }})'>
    <template x-for="(name, key) in options">…option buttons…</template>
    <p x-text="$store.market.format(getVariantPrice(selectedVariant))"></p>
    <button :disabled="! variantExistsAndIsInStock()">Add to bag</button>
</div>

More from Gifts Under £50