Cross-Store Price Compare
Search any grocery item to see normalized unit prices side-by-side across every active Lafayette, LA store.
My Deal Shopping List
Saved deals in Lafayette, LA, automatically grouped by store with estimated savings.
Owner Admin Access
This area is restricted to the site owner for updating weekly ads and city configurations.
Cloud deployment note: In this local preview, access is gated per browser session. When deployed on Cloudflare Pages, Cloudflare Access will enforce server-side email sign-in so only your account can access Admin.
Weekly Ad Admin & Multi-City Config
Import weekly ad CSV/JSON files, add deals manually, or expand to new cities and local grocers without code changes.
Upload Weekly Ad Flyer (Image or PDF)
Perfect for local grocers like Rod's Supermarket or paper/Facebook flyers. Drop a flyer photo, screenshot, or PDF and extract every sale automatically.
Extracted Deals Review
Review or edit scanned prices before publishing live.
No flyer scanned yet
Upload a photo or PDF of Rod's Supermarket's weekly ad on the left and click Scan Flyer with AI — or click + Add Row to enter items side-by-side while viewing the flyer.
Manage & Edit Previously Added Deals
Organized by store and city. Filter by your manually added/uploaded deals, edit any field, or remove expired entries.
Bulk Upload Weekly Ad (CSV or JSON)
Upload a weekly ad CSV exported from Excel/Sheets or a multi-city JSON bundle. Unit prices and Deal Scores recalculate automatically.
Paste CSV or JSON Payload
Live Deal Score Preview
See how this deal ranks in the selected city before publishing.
Add or Activate a City (Zero Code)
Configure a new market and select which grocery chains operate there. The header City Switcher updates instantly.
Add Regional or Independent Grocer
Configured Markets & Store Mappings
Shopper City Requests
Weekly Ad Alert Subscribers
Price History Tracker (Feature Toggle)
Show per-item, per-store historical unit price charts (similar to Amazon price history) to shoppers. Turning this off hides history buttons while keeping your compact archive intact.
Storage & Auto-Cleanup
Expired deals are automatically archived to compact price_history (~50 bytes/pt) before deletion so cleanup keeps hosting tiny without losing price history.
Sale Validity & Auto-Hidden Deals
Every deal — including Wed–Tue circulars, Sun–Sat ads, monthly club books, and manually uploaded flyers (like Rod's) — is automatically hidden before its start date and after its end date.
Per-Store Ad Release Schedule
Each store follows its real ad drop day so a future cloud cron job refreshes stores only when new weekly ads publish.
Multi-City Relational Schema
Production SQL DDL is saved in database/schema.sql and mirrored in the live browser store.