Feature: Add quantity adjustment and fix shipping selection
- Add quantity adjustment controls (+ and -) on checkout order summary - Prevent quantity from going below 1 with disabled minus button at qty=1 - Fix shipping selector not updating by wrapping callback in useCallback - Shipping option changes now properly update order total - Totals recalculate reactively when adjusting quantities or shipping Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 4.5
parent
5538938020
commit
08038dffb1
@@ -0,0 +1,17 @@
|
||||
-- AddField phone to Customer
|
||||
ALTER TABLE "Customer" ADD COLUMN "phone" TEXT;
|
||||
|
||||
-- AddField addressLine1 to Customer
|
||||
ALTER TABLE "Customer" ADD COLUMN "addressLine1" TEXT;
|
||||
|
||||
-- AddField addressLine2 to Customer
|
||||
ALTER TABLE "Customer" ADD COLUMN "addressLine2" TEXT;
|
||||
|
||||
-- AddField city to Customer
|
||||
ALTER TABLE "Customer" ADD COLUMN "city" TEXT;
|
||||
|
||||
-- AddField postalCode to Customer
|
||||
ALTER TABLE "Customer" ADD COLUMN "postalCode" TEXT;
|
||||
|
||||
-- AddField country to Customer
|
||||
ALTER TABLE "Customer" ADD COLUMN "country" TEXT;
|
||||
Reference in New Issue
Block a user