How To Add Cart Page In Woocommerce

WooCommerce is a widely-used e-commerce plugin for WordPress, enabling you to effortlessly establish an online shop. The cart page stands out as one of the crucial pages on your site, as it lets customers review and modify their orders prior to finalizing their purchases. This article will walk you through the steps of incorporating a tailor-made cart page in WooCommerce.

Step 1: Create a New Page

The first step is to create a new page on your website. Go to Pages > Add New and give it a name, such as “Cart”. Make sure to select the “Page” template from the drop-down menu.

Step 2: Add the WooCommerce Shortcode

Next, you need to add the WooCommerce shortcode to display the cart on your page. In the text box, type “[woocommerce_cart]”. This will automatically generate a table with all the items in the customer’s cart.

Step 3: Customize the Cart Page

You can customize the appearance of the cart page by adding your own CSS styles. To do this, go to Appearance > Customize and select the “Additional CSS” tab. Add your custom CSS code in the text box and save it.

Step 4: Set the Cart Page as the Default

Finally, you need to set the new page as the default cart page for WooCommerce. Go to WooCommerce > Settings > Checkout and select “Cart” from the drop-down menu under “Cart Page”. Save your changes.


By following these steps, you can easily add a custom cart page in WooCommerce. This will help improve the user experience on your website and make it easier for customers to complete their purchases.