feat: Implement multi-step order flow with product configuration, user data input, and order summary page.

This commit is contained in:
2025-11-27 13:07:05 +01:00
parent 0a03f9be60
commit 292ed397ab
10 changed files with 223 additions and 43 deletions

View File

@@ -16,7 +16,7 @@ export class OrderService {
this.currentOrder = { ...this.currentOrder, ...partialOrder };
}
public placeOrder(): string {
public placeOrder(): IOrder {
// Logic to send order
const finalOrder = this.getOrder();
@@ -26,6 +26,6 @@ export class OrderService {
console.log('Order placed:', this.getOrder());
return shippingID;
return this.getOrder();
}
}