Shop files reference
The admin writes these files for you. This page is for editing them directly on GitHub, or for developers.
Texts in several languages
Any text can be a plain string, used for every language, or an object with one value per language code. Missing languages fall back to the default language.
"name": "Gift Card"
"name": { "en": "Gift Card", "th": "บัตรของขวัญ", "ko": "기프트 카드" }Long texts keep their line breaks and understand **bold**, *italic*, lists starting with - and links like [text](https://example.com).
shop/settings.json
| Field | Example | Notes |
|---|---|---|
name | "Lumen Studio" | Shop name |
tagline | { "en": "Handmade ceramics" } | One short line |
description | text | Search engines and share previews |
about | text | Your story, on the About page |
logo, cover | "images/logo.webp" | Paths inside shop/ |
color | "#0f766e" | Brand colour for buttons |
language | "en" | Default language, at / |
languages | ["en", "th", "ko"] | Shop languages (or "all") |
currency | "USD" | Three-letter code |
country | "TH" | Your country, preselected at checkout |
url | "https://www.yourshop.com" | Your address; the admin sets it |
address | text | City and country, shown on the About page |
contacts | [{ "type": "whatsapp", "value": "+66 81 234 5678" }] | whatsapp, telegram, line, messenger, instagram, email, phone, sms, kakao, viber, zalo, wechat, signal |
social | [{ "type": "facebook", "url": "https://..." }] | facebook, instagram, tiktok, youtube, x, line, website |
categories | [{ "id": "ceramics", "name": { "en": "Ceramics" } }] | id uses a-z, 0-9 and - |
reviews.google | { "url": "...", "embed": "...", "write": "..." } | See Reviews |
reviews.facebook | "https://www.facebook.com/yourshop" | Facebook page |
reviews.featured | [{ "name", "rating", "text", "source", "url", "date" }] | Real reviews with links |
payments.stripe, payments.paypal | { "enabled": true } | Shown when keys are set |
payments.bank | { "enabled": true, "details": text, "qr": "images/qr.png" } | Bank transfer or QR |
payments.cod | { "enabled": false, "note": text } | Cash on delivery |
payments.chat | { "enabled": true } | Order by message |
shipping.enabled | true | Off if you sell nothing physical |
shipping.zones | [{ "name": text, "countries": ["TH"], "price": 3, "freeOver": 50, "days": "1-3" }] | "*" means every other country |
shipping.pickup | { "enabled": true, "note": text } | Pickup option |
policies | { "shipping", "returns", "privacy", "terms" } | Empty uses the default text (terms: hidden) |
demo | false | Shows the demo banner when true |
poweredBy | true | Small "made with NoBorder Shop" link in the footer |
shop/products/*.json
The file name is the product's web address: teak-board.json becomes /product/teak-board/. Use a-z, 0-9 and -.
| Field | Example | Notes |
|---|---|---|
name | text | Required |
price | 36 | Required, in the shop currency |
compareAt | 45 | Optional old price, shown crossed out |
category | "kitchen" | A category id from settings |
images | ["images/products/teak-board-1.webp"] | First one is the main photo |
description | text | Product page |
options | see below | Size, colour and other choices |
soldOut | true | Shown as sold out |
shipping | false | For gift cards, digital goods, services |
hidden | true | Not shown in the shop |
order | 3 | Sort order in lists |
"options": [
{
"name": { "en": "Size" },
"values": [
{ "name": { "en": "Small" }, "price": 0 },
{ "name": { "en": "Large" }, "price": 15, "soldOut": true }
]
}
]price in a choice is added to the product price; it can be negative.
Images
Put images anywhere under shop/images/. If a file named like photo.sm.webp sits next to photo.webp, it is used in product grids and the big one on the product page. The admin creates both automatically. WebP, JPEG, PNG and AVIF all work.
Language packs
locales/<code>.json holds the interface texts for one language. See Languages.