Why the server prices the cart
The cart total is recomputed on the server from the live item, options, and offer, then copied onto the order so a later menu edit cannot rewrite that ticket.
BiteBuddy Kitchen Desk 2 min read
The number a guest agrees to is calculated in the API, not in the page they happen to be looking at. The browser sends the items and the options. It does not send a price. Cart and checkout recompute that price from the live item, the options on those items, and the offer that applies right then. That is the total the guest sees, and it is the total written onto the order.
What would go wrong if the page sent the total
A page can be old, edited in the browser, or simply wrong after you changed a price at lunch. If the order trusted that page, the kitchen would cook a ticket whose total never existed on the menu. Recomputing on the server means the menu you saved is the menu that gets charged. Options matter in that sum. A large, an extra sauce, or a swapped side is priced from the option record, not from a sentence in the item description. If the option has no price, the cart will not invent one.
Offers join the same pass. An active percent or a fixed amount, inside its dates, for this branch or for the whole restaurant, can reduce the eligible lines. A code is checked when the offer requires one. The guest does not pick a discount by typing a number into the total. Ordering is the guest-facing result of that calculation, on the restaurant site and in the app.
The order keeps the price it was given
When the order is placed, names and prices are copied onto the ticket. That snapshot is the agreement. If you raise a price at four o’clock, carts opened after that see the new price. The order placed at three keeps the old one. Editing the menu is not a way to change what a guest already submitted, and it is not a way to “correct” a ticket you wish you had rejected. Reject the pending order if you cannot make it. Leave the snapshot alone.
The same split protects the guest. They are not surprised by a higher total after you tidy the menu, because their ticket does not move. They pay you on collection or delivery. BiteBuddy records the order and does not take a card, so the figure on the ticket is the figure your staff should collect. A mismatch at the door usually means someone quoted a different special in person. The recorded total is still the one the server priced.
What you should edit, and where
Change tomorrow’s prices on the item and the options in the menu. Change a short promotion on the offer, with a start and an end, so the server stops applying it when the window closes. Do not keep a shadow price in a caption. Do not ask the guest to ignore the total and pay a different amount you mention only in a reply. If the live menu is wrong, fix the menu. The next cart will follow. The carts already placed will not, and that is the point of the snapshot. Staff collecting the money should read the total on the ticket, not a price they remember from the board.
Keep reading
More in Restaurant operations
Build a menu people can order from
Build categories, items, and options once so the website, the app cart, and a later order all read the same dishes and the same server-priced totals.
Reject an order you cannot make
Reject a pending order you will not cook, while it is still pending, so a pay-on-collection ticket does not sit in the kitchen waiting for food you cannot fire.
Run an offer without keeping a second menu
A short promotion is its own offer record, with dates and an amount or percent, so the priced cart updates without a duplicate menu of sale items.