Manage your shop

The admin at /admin edits your shop files in GitHub for you. Everything happens in your browser.

Sign in with a GitHub token

The admin saves to your GitHub repository, so it needs a token that can edit that repository. A fine-grained token limited to your shop is the safest choice.

  1. Open https://<your-shop>/admin and expand How do I get a token?
  2. Press the first link. It opens GitHub's token form with the name, expiry (one year) and the Contents: Read and write permission already filled in.
  3. Under Repository access, choose Only select repositories and pick your shop repository.
  4. Press Generate token, copy it (it starts with github_pat_) and paste it into the admin with your repository name, for example maria/my-shop.

The token stays in your browser. It is sent only to GitHub and, for owner-only tools such as translation, to your own shop. If you lose a device, delete the token on GitHub under Settings → Developer settings → Personal access tokens.

Just looking?

The demo admin works without a token. You can change everything, but nothing is saved.

Replace the sample shop

The Overview page lists what is left to do. A typical first session:

  1. Shop details: shop name, tagline, short description, your story, city and country, logo, cover photo and brand colour.
  2. Contact apps: add WhatsApp, LINE, Telegram, email or the apps your customers use. Write phone numbers with the country code, for example +66 81 234 5678. The first contact is shown first.
  3. Products: edit or delete the sample products and add your own.
  4. Payments and Shipping: see Payments.
  5. Untick Show the demo banner in Shop details.
  6. Press Publish.

Add a product

Press Add product and fill in:

FieldNotes
Product nameRequired.
Web addressMade from the name, for example /product/blue-mug/. Set once; it cannot be changed later.
PriceIn your shop currency.
Old priceOptional. Shown crossed out next to the price.
CategoryGroups products. Category tabs appear when two or more categories are used.
DescriptionLine breaks are kept. **bold**, lists with - and links with [text](https://...) work.
PhotosAny size. The admin resizes them in your browser and makes a small copy for product grids. The first photo is the main one.
OptionsChoices such as size or colour. Each choice can cost more or less, and can be marked sold out.
Needs shippingTurn off for gift cards, digital goods and services.
Sold out / HideSold out stays visible; hidden is not shown at all.

Press Done, then Publish at the top. The admin shows when the new version is live.

Publish

Changes are kept in the admin until you press Publish. Publishing saves all changed files to GitHub in one commit. Cloudflare then rebuilds the shop; the admin checks every few seconds and tells you when the new version is online, usually within a minute or two.

If you close the page with unpublished changes, the browser warns you.

Other sections

  • Shipping: zones by country, free shipping over an amount, pickup. See Payments.
  • Reviews: your Google Maps rating, Facebook page and featured reviews. See Reviews and reputation.
  • Policies: shipping, returns, privacy and terms texts. Empty fields use a short default text in every language.
  • Languages: your default language and the languages customers can choose. See Languages.
  • Translator: paste a customer's message to read it in your language, and translate your reply into theirs.

Edit files directly

Everything the admin does, you can also do on GitHub: open a file in shop/, press the pencil icon, edit and commit. See Shop files for every field. If a file has a mistake, the build stops with a message naming the file and line, and your shop stays as it was.