Fruits and Vegetable Shop · How it works · Version 1

How the Fruits and Vegetable Shop works

Every box is one part of the system: the people who use it, the apps they open, the shop's server, and the outside services it relies on. The flows play one after another every 10 seconds. Pick a flow to stay on it, or click any box to see what it does.

Flow
Highlighted boxes and moving lines show the selected flow. Grey parts are not involved in it.
Overview

    Selected part

    Click any box in the map, or any row in the table below, to see what it does.

    Every part at a glance

    PartWhat it doesWhere it is

    An order's journey

    Every online order moves through these steps. Customers see each change in the app or on the website.

    Confirmed→ Packed→ Out for delivery→ Delivered
    StatusWho moves it thereWhat the customer is told
    ConfirmedSystem when payment succeeds"Order confirmed. Your delivery OTP is 4821."
    PackedStaff and sets the delivery date"Packed. Arriving by 12 Oct."
    Out for deliveryStaff member leaving with the order"Out for delivery. Your delivery OTP is 4821."
    DeliveredStaff member types the customer's OTP"Delivered."
    Delivery attempt failedStaff member, with a reason"We couldn't deliver today. The shop will set a new date."
    Ready for pickup → CollectedStaff (store pickup orders)"Ready for pickup on 12 Oct." then "Collected."
    Cancelled → RefundedAdmin only, with a reason"Cancelled: reason. ₹X refunded in 5–7 working days."

    What people see

    Customer's order page after paying
    FRUITS AND VEGETABLE SHOP · nowOrder confirmed

    Order A-124 is confirmed. Your delivery OTP is 4821.

    FRUITS AND VEGETABLE SHOP · 12 OctOut for delivery

    Order A-124 is on its way. Your delivery OTP is 4821.

    The OTP arrives twice, in the app and on the website
    80 mm counter receipt

    Who gets told what

    EventCustomer (app and website)Branch staff (admin website)
    Order confirmedYes, with OTPYes, with a sound
    Late payment needs review"Being reviewed"Admins
    Packed, delivery date set or changedYes—
    Out for deliveryYes, with OTP again—
    Delivered or collectedYes—
    Delivery attempt failedYesYes
    Order not packed after 2 hours—Reminder
    Cancelled or refundedYes—

    No SMS. Website customers get browser notifications once they allow them (on iPhone, only when the website is added to the home screen). The order page always shows the latest status and the OTP.

    Rules that keep it simple

    Pay first, always

    Every online order is paid through Razorpay before it is placed. There is no cash on delivery.

    Full refunds only

    Only an admin can refund, and always the full amount. Customers call the shop to cancel.

    A date, not a time

    The shop sets an estimated delivery date when packing. There is no live tracking.

    One stock per branch

    Online orders and the counter sell from the same stock, so the numbers always match the shelf.

    Every change is recorded

    Stock entries, price changes, refunds and status overrides all record who did them and why.

    Works on a phone

    Staff deliver and bill from a phone. If the printer is down, bills go out on WhatsApp.

    Reports

    Daily sales

    Online vs counter, and totals for Cash, UPI, Card and online payments.

    Product sales

    Kilograms sold and money taken per product.

    Stock and wastage

    Current stock, and what was thrown away in kg and ₹.

    Order status board

    Orders at each stage, and which ones are stuck.

    Refunds and cancellations

    Who refunded what, when and why.

    Deliveries

    Deliveries and failed attempts per staff member.

    Every report can be filtered by branch and dates, and downloaded for Excel.

    Not in version 1

    Delivery partners and a delivery app QR stickers and scanning iPhone app (website works meanwhile) Tamil language SMS Customer cancel button Partial refunds Discounts and coupons Items sold per piece Live delivery tracking Delivery time slots Returns after delivery Online payment at the counter GST tax calculation (to be decided)