feat: Implement multi-step order flow with product configuration, user data input, and order summary page.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user