Shopping Cart 15 block design & features
A full-page shadcn/ui shopping cart. A heading with the item count and a short reminder note sit above a list of product rows. Each row shows a square photo, the product name, size and colour, the price (with the original price struck through when on sale), a quantity stepper and Remove and Edit links.
Edit slides open a panel under the row with colour swatches, a size select and Cancel and Save buttons. The sidebar holds an Add Promotional Code link that slides open a code field, the subtotal, a flat delivery charge, a total that includes delivery, a Checkout button and a short list of useful links.
Changing a quantity or removing a row updates the subtotal and total straight away, and removing every row shows an empty-cart message with a link back to the shop. The cart items, variants and links are props.
On mobile the rows stack, and the subtotal and Checkout button stay fixed to the bottom of the screen.
