Owner's manual

This manual is for you, the shop owner. (CLAUDE.md is the technical map for your AI assistant.) It explains what the shop does on its own, what you do in the admin, and how to change the things that have no admin page.


1. The three parts of the shop

Part Where Who uses it
The shop https://your-shop/ your buyers: products, cart, checkout, "My account"
The admin https://your-shop/admin/ you: orders, products, stock, settings
The files on your hosting (FTP) and a copy on your PC you, with an editor: texts, pages, shop details, shipping prices

Rule of thumb: anything that changes often is in the admin (orders, products, prices, stock, announcements). Anything that rarely changes is a file (pages, menu, your address, shipping prices).


2. What happens automatically

When someone buys:

  1. The buyer pays in the PayPal window (with a PayPal account or by card).
  2. The order gets the next number (1001, 1002 …) and the stock goes down.
  3. The buyer gets a confirmation email in their language, with the PDF invoice.
  4. You get a "New order" email (always in English) with the address, and the postal documents attached: a CN22 label for goods under €300, or CN23 + address label + invoice from €300.
  5. A book or other download: the buyer gets a personal download link (7 days, 5 downloads).

Every hour (the cron job you set up):

Every day: the exchange rate is fetched (if you chose "automatic" in Settings).


3. Your daily work in the admin

The black bar at the top of every admin page:

Orders – the list of all orders, like in WooCommerce. Click a number to open an order.

Products – all products with price, stock and visibility.

Stock – one page with all products and their numbers. Change, then Save stock once. An empty box means "not counted, always available". Below zero = sold, still to be made (backorder).

Customers – the customer accounts. Customers log in under "My account" to see orders and invoices.

Announcements – a coloured bar at the top or bottom of every page ("Summer sale", "Holiday until …"), with a text per language (empty = the English text is shown), start and end date.

History – orders, turnover and visitors per month and year.

Export – a CSV file of the orders for your accountant (opens in Excel).

Backup – the backups on the server, and a button to download a complete backup now.

Log – what happened recently (payments, emails, PayPal messages). "Ask PayPal" checks a checkout that has no result yet.

Server check – after every upload or change of hosting: every line should be green.

Settings – exchange rate (automatic or fixed), the US import duty in percent, maintenance mode (visitors see "We will be back soon", you still see the shop), and your admin password.


4. Changing things that have no admin page

There is no online editor for pages and settings files. You edit the file on your computer and upload it.

What you need

How

  1. Keep a copy of the whole shop folder on your PC – that is your master copy.
  2. Open the file in your editor, change it, save.
  3. Upload that one file to the same folder on the server (overwrite). Reload the page in the browser (Ctrl+F5).

Where is what

What File
Pages (About, Contact, Delivery & returns, Terms, Privacy) data/pages/<name>.html – translations in data/pages/de/, fr/, es/, pt/
Page titles and Google descriptions data/pages.json (and data/i18n/<language>/pages.json)
New page a new .html file in data/pages/ plus an entry in data/pages.json
Shop name, address, email, phone, logo, menu, footer, home page texts data/site.json
Logo on the invoice assets/invoice-logo.png (PNG without transparency)
Shipping countries and prices, blocked countries, letter price data/zones.json
Words of the shop in other languages (buttons, emails) data/i18n/<language>/ui.json
Product translations data/i18n/<language>/products.json
Passwords, email login, PayPal keys private/config.php – only on the server, never share it

Pages are HTML fragments: no <html>, <head> or <body> – just paragraphs (<p>), headings (<h2>), lists, links. The shop wraps them in its design. .json files are strict: every comma and quote counts – if the shop shows an error after an upload, put back the previous version and check the file (your AI assistant spots a missing comma in seconds).


5. Languages

The shop has English, German, French, Spanish and Portuguese. Buyers switch with the globe menu at the top; emails and invoices follow the language the buyer used.

What is not translated is shown in English (and hidden from Google in that language). That happens when you add a product or change an English text. To translate: give the English text to your AI assistant or a translator, and put the result into the files in section 4. Admin → Products → "Download all products" gives you all product texts in one file.


6. Shipping and customs, explained


7. PayPal


8. When something goes wrong

  1. Admin → Server check – a red line usually names the problem (missing file, wrong setting).
  2. Admin → Log – what happened with a payment or an email.
  3. Maintenance mode (Settings) – close the shop while you fix something.
  4. Backups – shop.backup on the server holds the last 10; the README.txt there explains the restore.
  5. Ask your AI assistant – describe what you see and paste the error message, never passwords or private/config.php.