Commit Graph

4 Commits

Author SHA1 Message Date
Arne Weiss 4597e96545 Fix layout: add Smarty template inheritance for Hummingbird theme
Hummingbird (PS8) requires module front controller templates to explicitly
extend a layout via {extends}. Without it, the template renders as a bare
HTML fragment without the theme wrapper (no header, CSS, nav, footer).

All three front templates now extend layouts/layout-full-width.tpl and
define their content inside {block name='content'}.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 09:56:25 +02:00
Arne Weiss 058937bd64 Add CSS hook, URL ref prefill, order prefill, and Widerrufsfrist display
- Fix CSS loading: register stylesheet via actionFrontControllerSetMedia
  hook instead of initContent() — guaranteed to fire before page render
- Upgrade script registers new hook on existing installations
- Feature 1: pre-fill order_reference from ?ref= URL parameter
- Feature 2: pre-fill customer name/email from logged-in account when
  navigating with ?ref= (already worked; now order ref is also pre-filled)
- Feature 4: compute Widerrufsfrist (order date +14 days) from DB and
  display on form (when ref in URL), confirm, and success pages
- Feature 3: EN mail templates were already present

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 08:52:53 +02:00
Arne Weiss 16fa6de209 Redesign withdrawal form: step indicator, refined CSS, print button
Add scoped CSS with Navy/warm-white palette, system serif headings, and
card-style radio inputs. Add 3-step progress indicator across all views.
Add print/PDF button on success page. Register CSS via registerStylesheet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 08:39:34 +02:00
Arne Weiss 0691fa7f22 Add simple_withdrawalbutton PrestaShop module 2026-06-01 08:08:31 +02:00