v1.4.0 — Rider PWA, Cash Settlement, Settings Redesign
🚀 FoodXpress for WooCommerce v1.4.0
Biggest release yet: your delivery riders get a real app, cash hand-overs get a paper trail, and settings finally explain themselves.
📱 Delivery-rider PWA
- Installable app — riders add the Delivery Dashboard to their home screen (manifest + service worker, maskable icons); looks and behaves native.
- Live order list — New / In Progress / Delivered tabs auto-refresh every 30s and on tab focus when new orders arrive or statuses change.
- Per-order actions — call the customer, open the exact pin location in maps, mark picked up / delivered.
- COD awareness — amber "Collect on delivery" strip per order with the exact amount; running cash-in-hand total in the header.
💵 Cash settlement workflow
- Riders initiate a hand-over request (amount always computed server-side from their delivered COD orders).
- Managers/admins accept or reject from the Deliveries Dashboard ledger — every decision stamped with who and when.
- Balance = collected − accepted settlements. Full audit trail on the order too.
🛍️ Customer My Account overhaul
- Welcome banner with Reorder CTA, 4-card stats row (On the way / Delivered / Total / Saved addresses), Recent orders + Default delivery address panels, colour-coded status pills.
⚙️ Settings redesigned for non-technical admins
- Only relevant fields show: pick Google Maps → Google fields appear under Map Provider; pick flat fee → per-km fields hide.
- API keys masked with Show/Hide toggle.
- Weekly hours: per-day "Open all day" / "Closed all day", plus a special-occasion override for holidays ("stay open until…").
- The admin-bar "Deliveries: Open/Closed" toggle now actually works against closed schedules.
🔒 Privacy & fixes
- Kitchen notes stay with the store — riders see delivery instructions only; managers get a new Kitchen Note column.
- Fixed: receipt printing crash + full bill breakdown (items → subtotal → discounts/fees → total), unassign fatal (
post_status_exists), agent dashboard scroll, weekly-hours saving, admin-bar toggle, address duplication on receipts/orders.
📦 WP.org submission readiness
readme.txtwith full setup guide, per-provider API-key walkthroughs (including the recommended two-key Google split), security recommendations, and an external-services disclosure.
Compatibility: WordPress 6.0+ · WooCommerce 7.0+ · PHP 7.4+ · HPOS compatible.
Quality: 147/147 tests pass; deep security scan 0 findings; verified live on WP 7.x / WC 11 / PHP 7.4 and 8.x.
Upgrading: update from any 1.2/1.3 version safely — no manual steps. A one-time migration normalises existing order addresses automatically.