feat: add settings UI for webhook toggles

- Add settings store (src/lib/settings.ts) for persistent configuration
- Add settings API route for CRUD operations
- Add settings page with webhook toggles for order events
- Update webhook handlers to check settings before sending emails
- Settings include: webhook enable/disable, admin/customer notification toggles
- Email configuration: from name, from email, admin emails, store/dashboard URLs
This commit is contained in:
Unchained
2026-03-27 07:16:03 +02:00
parent 7b52ab585a
commit 41fd8a5099
7 changed files with 1403 additions and 75 deletions
+699 -27
View File
File diff suppressed because it is too large Load Diff