Rendering contract
Canonical source
- Template part
template-parts/sections/section-cardbalance-panel.php- Page types
- home
- Dependencies
- home:suds_cardbalance_url
- Fallback
- No fallback
- Introduced
b839b57- Last changed
b839b57
payment · cardbalance
Stored-value laundry-card balance check (Laundroworks/FasCard portal link) as a compact home utility band. Pick when the client uses a card system with a customer portal.
Approved visual evidence
This intentionally does not reuse an old catalog screenshot. Start catalog.local, sync it to the source commit, capture all seven skins at 390px and 1440px, then approve the revision in Studio.
./suds catalog capture --changedRendering contract
template-parts/sections/section-cardbalance-panel.phpb839b57b839b57Operator guidance
URL-gated on home:suds_cardbalance_url — hidden until the portal link is entered (never a dead CTA). Also surfaces a matching button in the footer hours column when the URL is set. Ported from the t2-laundry fork.
Optional inputs: suds_cardbalance_cta_label, suds_cardbalance_note.
3 control groups are declared in the Engine manifest.
Supported skins
Effects support
Hero depth: none, bubbles, glow, bubbles_glow
Ambient: none, glow
Accessibility policy
Decorative animation is disabled for reduced-motion visitors; location video also respects Save-Data. Visual approvals include a reduced-motion smoke.