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.

Section intro

Section intro

So, now that we can add and remove items from the cart, we're going to start the process of checkout and we're going to work on two of the four pages for the checkout process in this section and that's the cart page with the table of items as well as the shipping address page which will allow the user to enter their shipping information. So we'll start by creating the cart page that will show all the items in the user's cart. Then we'll start to create the table that's going to be on that page and we're going to be using the ShadCNTable component for that. We're also going to need to format our currency, so we're going to create a utility function to handle that, then we'll start on the shipping address page which will be the next step in the checkout process, so the page 2 of 4 and then we'll have the shipping form and the user will be able to enter their address and once they enter it, any other time that they order something, that address will be pre-filled for them because it will…

Contents