Skip to content

changed everything without AI - #1

Open
chuahchengxi wants to merge 4 commits into
swiftinsg:mainfrom
chuahchengxi:chengxiversion
Open

chuahchengxi wants to merge 4 commits into
swiftinsg:mainfrom
chuahchengxi:chengxiversion

Conversation

@chuahchengxi

Copy link
Copy Markdown

changed everything without AI

chuahchengxi and others added 4 commits August 15, 2026 09:31
Each item row gets a minus button that clamps at zero and is disabled
when the count is already 0. The total needed no change - it recomputes
from the counters.

Replace the unused `arr` with an `OrderItem` struct and `orderedItems` /
`total` computed properties, so the price math lives in one place.

"Place Order" now presents a sheet listing each ordered item with its
quantity and subtotal, plus the total. It is disabled when the cart is
empty.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant