Sin descripción

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

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.