From the course: Next.js Ecommerce: Build a Shopping Platform from Scratch

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Place order page

Place order page

OK, so now we're going to start on this Place Order page. And what this is is it's going to be a summary of the items in our cart. So we have to get those. It's going to show the address of the user. It's going to show the payment method. And it'll show the totals, the shipping, the tax, the total price, stuff like that. And then there'll be a button to place the order. Once that order is placed, it'll take us to that particular order page. And that's where the PayPal button and any other payment buttons will be. So let's just get the card items displayed and stuff like that. And there's quite a bit, so it might take more than one video. But let's jump into it. So in the app root, we want to create a new folder here. And we're going to call this Place Order. And in place order, we're going to have our page.tsx. And let's call this place order page. And then for now, we'll just have some text and just say place order. So then that should show up when we go to slash place order. All…

Contents