The problem
An online cake ordering system with a custom cake designer and delivery slots lets a customer order a celebration cake end to end in the browser: browse a ready-cake catalogue, design a custom cake layer by layer, add both to a cart, choose a delivery date and time slot, place the order, and follow it from Received to Delivered. The demo storefront, SweetLayers Bakery, lists 8 ready cakes priced from ₹780 to ₹1,620, and the designer builds a custom cake from 4 sizes, 8 flavours, up to 3 layers, a piped message and a topping, with one fixed price rule shown in full beside the preview. Ordering by phone or message forces the customer to describe flavours, layers, size and a date across separate messages and wait for a price that changes with every correction. This system keeps every choice, price and slot on one screen, so the customer, the cart and the bakery all see the same order.
| Approach | Catalogue and cart | Custom cake design | Delivery slot booked | Order tracking |
|---|---|---|---|---|
| This online cake ordering system | Yes · 8 ready cakes with cart | Yes · size, layers, flavours, message, topping | Yes · date plus 1 of 5 time slots | Yes · Received to Delivered plus bakery admin |
| Single-cake customiser on this site | No · one cake designed per visit, no catalogue or cart | Yes · layers, flavours, message and date only | Partly · date only, no time slot | No · request sent, no tracking or admin |
| Phone or message ordering | No · menu described in chat | Partly · choices arrive in separate messages | Partly · date agreed by hand, no slot list | No · status asked over chat |
Related built-to-order projects on this site: the Online Cake Customiser Web App with Flavour Layers and Delivery Date (https://projectech.in/projects/online-cake-customiser-web-app-flavour-layers-delivery-date/) designs a single layered cake with a live price; the Online Tiffin Service Web App with Subscription Plans and Delivery Tracking (https://projectech.in/projects/online-tiffin-service-web-app-subscription-plans-delivery-tracking/) runs meal subscriptions with delivery tracking; and the Food Delivery Android App with Live Order Tracking and Restaurant Dashboard (https://projectech.in/projects/food-delivery-android-app-live-order-tracking-restaurant-dashboard/) covers restaurant delivery on Android.
Browses 8 ready cakes or opens the custom cake designer.
Follow the working sequence
How it works
The shop screen lists 8 ready cakes with photographs, weights and prices, filterable by Chocolate, Fruit or Celebration, and the customer adds a cake to the cart. For something personal, the customer opens the custom designer instead, chooses a size, stacks up to 3 flavour layers, types a piped message and picks a topping, watching the price total update from one fixed rule and the preview redraw with every change. Both kinds of cake land in one cart, where quantities can be changed and the subtotal is shown. At checkout the customer enters name, phone and address, picks a delivery date and one of 5 time slots, and places the order as a request — no payment is taken at this stage. The bakery confirms the slot on the admin screen, moves the order through Received, Confirmed, Baking and Out for Delivery to Delivered, and the customer follows the same status line with the order ID.
- The customer browses the catalogue of 8 ready cakes, filters by Chocolate, Fruit or Celebration, and adds a cake to the cart with its weight and price.
- The customer opens the custom designer, picks a size from 0.5 kg to 2.5 kg, stacks 1 to 3 layers and chooses one flavour per layer from 8 flavours.
- The customer types a piped message of up to 40 characters and picks an optional topping; the price total updates live from the fixed rule of base price plus ₹180 per extra layer plus ₹60 for a message plus ₹120 for a topping.
- The custom cake is added to the same cart as the ready cakes, quantities can be changed, and the cart shows a running subtotal — ₹2,880 for the demo order CK-1044.
- At checkout the customer enters name, phone and delivery address, picks a delivery date with the date input and one of 5 time slots from 10:00 to 21:00.
- The customer chooses standard delivery at ₹0 or the 19:00–21:00 express slot at ₹120, checks the order total — ₹3,000 for the demo order — and places the order as a request with no payment taken.
- The bakery sees the new order on the admin screen, confirms the slot, and moves the order through Confirmed, Baking and Out for Delivery to Delivered.
- The customer tracks the order by entering its ID, for example CK-1044, and sees the five-step status line with the items, slot and total.
Tech stack:
- PHP 8
- MySQL 8
- HTML5 · CSS3 · JavaScript
- Bootstrap 5
- Apache · XAMPP
- phpMyAdmin
- Git
| Parameter | Value |
|---|---|
| Ready cakes in demo catalogue | 8 cakes (demo catalogue value) |
| Ready-cake price range | ₹780 to ₹1,620 per cake (demo catalogue value) |
| Custom cake sizes | 4 sizes: 0.5 kg · 1 kg · 1.5 kg · 2.5 kg (demo catalogue value) |
| Custom cake base prices | 0.5 kg ₹520 · 1 kg ₹940 · 1.5 kg ₹1,280 · 2.5 kg ₹1,980 (demo catalogue value) |
| Flavour options in designer | 8 flavours: Chocolate Fudge · Vanilla Bean · Butterscotch · Red Velvet · Mango · Coffee Walnut · Pineapple · Lemon Zest (demo catalogue value) |
| Layer range in designer | 1 layer minimum · 3 layers maximum (design target) |
| Extra layer price | ₹180 per extra layer (demo catalogue value) |
| Piped message | 40 characters maximum · ₹60 when text is entered · ₹0 when blank (demo catalogue value) |
| Topping options | 4 toppings: Fresh Berries · Choco Chips · Roasted Nuts · Rainbow Sprinkles · ₹120 when selected (demo catalogue value) |
| Delivery slots per day | 5 slots: 10:00–12:00 · 12:00–14:00 · 15:00–17:00 · 17:00–19:00 · 19:00–21:00 (design target) |
| Slot capacities | 6 orders per standard slot · 4 orders per express slot (design target) |
| Delivery fees | Standard slots ₹0 · Express slot (19:00–21:00) ₹120 (demo catalogue value) |
| Demo order CK-1044 | Fresh Berry White Cake 2 kg ₹1,580 plus custom cake ₹1,300 plus express delivery ₹120 equals ₹3,000 (measured from demo) |
| Custom cake in demo order | 1 kg ₹940 plus 1 extra layer ₹180 plus message ₹60 plus topping ₹120 equals ₹1,300 (measured from demo) |
| Demo orders and revenue | 4 orders (CK-1041 to CK-1044) · ₹8,590 total for the day (demo data) |
| Delivery date value | Stored as yyyy-mm-dd by the native HTML date input (verified against MDN) |
| Order statuses | 5 statuses: Received · Confirmed · Baking · Out for Delivery · Delivered (design target) |
| Payment | No payment gateway connected · checkout is request-only (measured from demo) |
| Order storage in demo | Browser session only · no saved order database in the single-file demo (design target) |
| Page response | Design target: under 2 seconds per page on local hosting |
Project features
The Online Cake Ordering System is built around four capabilities that work as one flow: a ready-cake catalogue with real photos and filters, a custom cake designer whose price updates live from one fixed rule, a cart with delivery-date and time-slot booking, and order tracking that the bakery admin updates as the order moves from Received to Delivered. Around them sit a five-slot delivery day with per-slot capacity, an admin screen listing every order with its status and total, and one price rule shared by the designer, cart and checkout, so the same total appears on every screen. The catalogue, the designer and the cart are linked by design: a ready cake and a custom cake share one cart, one slot booking covers the whole order, and one tracking ID follows it to the door. Everything below is implemented in the base project; online payment and SMS updates are optional customisations, and a delivery-fleet map is future scope.
- [Ready-cake catalogue] Eight ready cakes with real photographs, weight, flavour notes and price, filterable by Chocolate, Fruit and Celebration. The catalogue is data, not hard-coded pages, so a bakery can change a cake, a price or a photo without touching the ordering logic.
- [Custom cake designer] The customer picks 1 of 4 sizes, stacks 1 to 3 layers with one flavour per layer from 8 flavours, adds a piped message of up to 40 characters and an optional topping. A live preview redraws the layer stack in the chosen flavours as each choice changes.
- [Live price rule] The custom cake price follows one fixed rule: base price for the size plus ₹180 per extra layer plus ₹60 when a message is entered plus ₹120 for a topping. Builder note: while building the demo, the express delivery fee was first added to the custom-cake total as well as the order total, charging ₹120 twice; the fix applies the fee once at checkout, verified live in the demo rather than assumed.
- [Cart with mixed orders] Ready cakes and custom cakes share one cart with quantities, a running subtotal and a single checkout. The demo order CK-1044 shows the arithmetic plainly: a Fresh Berry White Cake at ₹1,580 plus a custom cake at ₹1,300 plus express delivery at ₹120 gives a total of ₹3,000.
- [Delivery date and slot booking] The customer picks a delivery date with a native date input and one of 5 time slots from 10:00 to 21:00, with standard slots at ₹0 and the 19:00–21:00 express slot at ₹120. Each slot has a capacity, and the admin screen shows how many orders each slot already holds.
- [Order tracking] Every placed order gets an ID and a five-step status line — Received, Confirmed, Baking, Out for Delivery, Delivered — that the customer can check by entering the order ID. The demo ships with 4 orders at different stages, from CK-1041 Delivered to CK-1044 Received.
- [Bakery admin screen] The admin sees today's orders with customer, items, slot, total and status, can move any order to its next status, and sees the day's revenue and slot bookings at a glance. In the demo data, 4 orders total ₹8,590 for the day.
What is included
- Complete source code (PHP backend, MySQL database, Bootstrap frontend) with catalogue, designer, cart, slot booking, tracking and admin
- Database schema with cake, custom cake, cart, order, slot and status tables plus sample data (8 ready cakes, 4 demo orders)
- Working demo of the full flow: browse catalogue, design a custom cake, add to cart, book a delivery slot, place order CK-1044 for ₹3,000, track it and update it from the admin screen
- Project report PDF (background, cake-ordering workflow problems, methodology, worked demo order, limitations)
- Project abstract PDF covering background, methodology, working, requirements, outcomes, applications and future scope
- PPT presentation for final review
- Viva Q&A preparation document (price-rule logic, slot capacity, request-versus-payment design, tracking statuses)
- Setup guide for XAMPP/local hosting and database import
- To order this online cake ordering system with custom cake designer and delivery slots as a built-to-order project, message Projectech on WhatsApp for a quotation — mention the catalogue, designer and slot-booking scope and your delivery deadline.
Limitations & prerequisites
- No payment gateway is connected in the base project: checkout places an order request and takes no payment, and a production build needs a real payment account before charging anyone.
- No live bakery inventory is checked: a requested cake or flavour could be unavailable on the chosen date, and the bakery confirms availability before baking starts.
- No delivery fleet or live map tracking is included: the delivery slot is a booked window, not a courier booking, and the tracking line shows the bakery's status, not a rider's live location.
- The single-file demo keeps orders in the browser session only: closing or refreshing the browser clears the cart and any newly placed order, so the delivered PHP and MySQL build is needed for saved orders.
- Slot capacities are fixed design targets (6 orders per standard slot, 4 per express slot) and are not linked to a real bakery's daily baking capacity in the demo.
- Prices are demo catalogue values, not a live bakery price list: real prices are set by the bakery at quotation, and the demo total of ₹3,000 must not be quoted as a bakery price.
- The piped message is capped at 40 characters: longer messages need shorter wording, and message text is shown as typed without spell-checking.
Frequently Asked Questions
How is this different from the single-cake customiser on this site?
This system is a full ordering system, while the customiser designs one cake per visit. The customiser lets a customer stack flavour layers, pick a size and a delivery date, and send one order request, with no catalogue, no cart, no payment step, no saved orders and no admin screen.
This system adds the 8-cake ready catalogue, a shared cart for ready and custom cakes, delivery-slot booking with per-slot capacity, order tracking through 5 statuses, and a bakery admin screen that manages every order.
How is the custom cake price calculated?
The price follows one fixed rule: base price for the chosen size plus ₹180 for each layer beyond the first plus ₹60 when a piped message is entered plus ₹120 when a topping is selected. The same rule drives the designer preview, the cart and the checkout, so the figure never changes between screens.
The demo order applies that rule plainly: a 1 kg custom cake at ₹940 plus 1 extra layer at ₹180 plus a message at ₹60 plus a topping at ₹120 gives ₹1,300, and with the ₹1,580 ready cake and ₹120 express delivery the order totals ₹3,000.
Does placing an order charge payment or guarantee the delivery slot?
No, placing an order takes no payment and guarantees no slot, because no payment gateway or delivery fleet is connected, and the bakery must first confirm availability for the chosen date and slot before any baking starts. The order is a request that records the items, the slot and the total for the bakery to confirm.
Baking starts only after that confirmation, so the total on screen is a request figure rather than a paid booking.
Can the bakery change cakes, flavours, sizes or prices?
Yes, the catalogue, flavours, sizes, slot list and all price values are data in the demo, so a real bakery can replace a cake, add a flavour, change a size or reset every price without changing the ordering logic, the price rule or the tracking code.
Optional additions on request include a bakery admin editor for that catalogue, a payment step connected only after a real payment account exists, and SMS order updates.
None of those optional additions are part of the base build.
Does the demo save my cart or orders if I refresh the page?
No, the single-file demo keeps the cart and any newly placed order in the browser session only, so refreshing or closing the page clears them and the demo reloads with the pre-filled demo order CK-1044. The delivered PHP and MySQL build stores orders in the database, so they survive a refresh.
An optional browser draft could use localStorage, which the Web Storage API defines as a synchronous key-value store of about 5 MB per origin, but that is an optional addition, not the delivered storage.
Is this project suitable for a final-year project?
Yes — for Computer Science, IT and Web Development programs. It demonstrates database design across linked cake, order and slot tables, business rules such as the fixed price rule and per-slot capacity, role-based screens for customer and bakery admin, and a complete order workflow with a worked demo order.
The viva demonstration is easy to verify live: design a custom cake, watch the total update, book a slot, place the order and move it through the admin statuses.
Components & software requirements
- PHP 8
- MySQL 8
- HTML5 · CSS3 · JavaScript
- Bootstrap 5
- Apache · XAMPP
- phpMyAdmin
- Git
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.