Marketing · Present cards (Fideliza gift cards)

Embeds the Fideliza gift-card / present-card platform so staff can issue and manage gift cards without leaving the back office.

AreaMarketing
Routesmarketing.present-card · marketing.present-card.index
Centre modulesfideliza
Staff levelsper present-card ability
Modelsgift-voucher · module-fideliza
UI labelmenu.navbar.present-card
Coverage3 use cases · 1 happy · 3 failure

How it works

The Fideliza module carries three URLs — the main platform, the gift-card client view and the gift-card admin view — each validated separately on the centre form. The controller resolves fidelizaURL and distinguishes a configuration problem (fideliza_url_invalid) from a runtime failure (fideliza_url_error), which is better than the other embeds. Related MOF button types: gift-card and gift-card-admin. Stores can nominate gift-card administrators by email on the store form.

Use cases

Why someone opens this (3)

  • Selling or issuing a centre gift card at the information desk.
  • Letting a store’s nominated administrator redeem gift cards.
  • Exposing the gift-card purchase flow as an app button.

Path map

flowchart LR
    F(["Present cards Fideliza gift cards"]):::feat
    F --> H1["Gift-card console opened"]:::ok
    F -.-> X1["URL not configured or malformed"]:::bad
    F -.-> X2["Platform error"]:::bad
    F -.-> X3["Store missing gift-card administrators"]:::bad
    classDef feat fill:#b0432c,stroke:#b0432c,color:#ffffff,font-weight:bold
    classDef ok fill:#e3f1ea,stroke:#0d6b42,color:#0d4a2e
    classDef bad fill:#f7e6e2,stroke:#9a2d1c,color:#6e1f13

Happy paths

Gift-card console opened

  1. Centre has the Fideliza module with valid URLs.
  2. User opens Marketing → Present cards.
  3. fidelizaURL resolves and the platform loads.

Failure paths

QA checklist

Tick these off while regression-testing this feature. The boxes are plain Markdown, so progress is visible in git diffs.

  • ✅ Gift-card console opened
  • ⛔ URL not configured or malformed
  • ⛔ Platform error
  • ⛔ Store missing gift-card administrators

Implementation


Generated from doc/feature-inventory.json · id marketing-present-card · commit 276788ca6