Sem descrição

Medowar 97924f949c adding no-image image and fixing displaying of images há 1 mês atrás
admin aa18a6e399 Add CSRF protection and access logging to admin functions há 1 mês atrás
assets 97924f949c adding no-image image and fixing displaying of images há 1 mês atrás
data c7c58a4aa7 adding first images, fixing file permissions há 1 mês atrás
docs de4f5463b5 moving image uploads to be in data, not assets há 1 mês atrás
includes aa18a6e399 Add CSRF protection and access logging to admin functions há 1 mês atrás
.gitignore 8d19d7cd42 adding gitignore updates há 1 mês atrás
.htaccess 97924f949c adding no-image image and fixing displaying of images há 1 mês atrás
README.md de4f5463b5 moving image uploads to be in data, not assets há 1 mês atrás
cart.php aa18a6e399 Add CSRF protection and access logging to admin functions há 1 mês atrás
checkout.php aa18a6e399 Add CSRF protection and access logging to admin functions há 1 mês atrás
config.sample.php de4f5463b5 moving image uploads to be in data, not assets há 1 mês atrás
faq.php 643816b5cf implementing FAQ há 1 mês atrás
favicon.png c9911553c4 favicon há 1 mês atrás
index.php 97924f949c adding no-image image and fixing displaying of images há 1 mês atrás
order-confirm.php e971f64b68 implementing Freising Stylesheet há 1 mês atrás
order-success.php 4184fe815c smaller name and label changes há 1 mês atrás
orders.php 452979a100 forking feuerwehr-shop to psa-orderform, first draft of rebuild há 1 mês atrás
product.php 97924f949c adding no-image image and fixing displaying of images há 1 mês atrás
reservation.php 452979a100 forking feuerwehr-shop to psa-orderform, first draft of rebuild há 1 mês atrás

README.md

Stadt Freising PSA-Service

Zweck

Dieses Projekt ist ein internes Bestellsystem für persönliche Schutzausrüstung der Stadt Freising und wird organisatorisch durch Amt 32 - Öffentliche Sicherheit und Ordnung betreut.

Kernfunktionen

  • Produktübersicht mit Kategorien
  • Produktdetailseiten mit Größenwahl
  • Warenkorb ohne Mengensteuerung
  • Checkout mit Name, E-Mail, Organisation und Kommentar
  • Optionaler Bestätigungslink vor interner Weiterleitung
  • Adminbereich für Bestellungen, Produkte, Kategorien, Organisationen, Einstellungen, FAQ und Admins
  • Positionsbezogene Bearbeitung und Stornierung von Bestellungen

Voraussetzungen

  • PHP 8.x
  • Schreibrechte auf data/
  • funktionierende PHP-Mailzustellung für Bestellmails

Wichtige Dateien

  • Konfiguration: config.php
  • Zentrale Logik: includes/functions.php
  • Bestellungen: data/orders.json
  • Organisationen: data/organizations.json
  • Systemeinstellungen: data/settings.json
  • Produkte: data/products.json
  • Produktbilder: data/uploads/

Einrichtung

  1. config.php prüfen und insbesondere SITE_URL, FROM_EMAIL und die Bestell-Voreinstellungen anpassen.
  2. Adminzugänge in data/admins.json pflegen.
  3. Empfängeradresse, Bestätigungspflicht und PDF-Anhang im Admin unter Einstellungen prüfen.
  4. Organisationen im Admin unter Organisationen verwalten pflegen.

Hinweise

  • Alte Reservierungs-, Backorder- und Bestellhistorien-Features werden nicht mehr verwendet.
  • Bestellungen werden nicht im Browser für Endnutzer gespeichert oder nachverfolgt.