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

FieldExampleNotes
name"Lumen Studio"Shop name
tagline{ "en": "Handmade ceramics" }One short line
descriptiontextSearch engines and share previews
abouttextYour 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
addresstextCity 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.enabledtrueOff 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)
demofalseShows the demo banner when true
poweredBytrueSmall "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 -.

FieldExampleNotes
nametextRequired
price36Required, in the shop currency
compareAt45Optional 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
descriptiontextProduct page
optionssee belowSize, colour and other choices
soldOuttrueShown as sold out
shippingfalseFor gift cards, digital goods, services
hiddentrueNot shown in the shop
order3Sort 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.