Home โ€บ Modules โ€บ phyto_live_arrival

phyto_live_arrival

Live Arrival Guarantee opt-in at checkout โ€” configurable fee or free threshold, photo-upload claim form, admin claim panel.

Plant Science v1.0 PrestaShop 8 Browse Source on GitHub โ†—
modules/phyto_live_arrival/
Direct path in the repo โ†’ all PHP, SQL, templates, and assets
Open on GitHub โ†—

Overview

Offers customers an opt-in “Live Arrival Guarantee” during checkout. For a small configurable fee (or free above a spend threshold), they’re covered if their plant arrives dead or severely damaged. The module tracks LAG coverage per order and provides a photo-upload claim form.

Features

  • Opt-in checkbox at checkout with configurable fee or free threshold
  • LAG fee added as a cart rule automatically
  • Per-order LAG coverage flag visible in admin order view
  • Claim form (with photo upload) on customer order history page
  • Admin claims panel: view, approve, reject, and track claim status
  • Configurable: claim window (days), allowed shipping carriers, weather blackout dates

Hooks Registered

HookPurpose
displayPaymentTopLAG opt-in widget at checkout
actionOrderStatusUpdateTags order with LAG coverage on confirmation
displayCustomerAccount“Submit LAG Claim” link in account area

Source Layout

PathPurpose
phyto_live_arrival.phpModule entry + hooks
classes/PhytoLagClaim.phpORM for LAG claim records
controllers/front/claim.phpCustomer claim submission form
controllers/admin/AdminPhytoLagClaimsController.phpAdmin claim management
sql/install.sqlCreates LAG coverage + claims tables
View Full Source โ†— โ† Back to All Modules