Seller workflow
Add books without rebuilding the website.
The live shop can now be managed through a private admin page at /admin. Add a listing, upload several photos, set the stock count, then save it without editing the code by hand.
1. Photograph the book
Take clear photos of the actual copy: front cover, spine, title page, any damage, inscriptions, maps, plates or special details.
- Use natural light if possible.
- Take multiple photos where condition matters.
- Upload them together from the private admin page.
2. Add the listing
Go to /admin, log in, then fill in the title, price, condition, category, stock and photos. The site saves the listing into data/books.json and updates the public catalogue automatically.
Use the details box for edition notes, binding, defects, inscriptions, maps, plates and anything a collector would want before buying.
3. Take payment
The basket now creates a Stripe Checkout session from the live server.
- Leave payment link blank for normal Stripe Checkout through the basket.
- Add a payment link only if one specific book needs to bypass the basket.
- Stripe collects card payment, customer email and UK delivery address.
4. Mark sold books
Because most books are single copies, stock needs to stay accurate.
- Successful Stripe webhook payments reduce stock automatically.
- Set stock to 0 in admin to show a book as sold.
- Untick visible in admin to hide it from the shop completely.