Customizing the Cart and Checkout Pages

The Cart and Checkout pages are a critical part of the shopping experience. The WooCommerce Cart and Checkout blocks provide customers with a seamless process for reviewing and finalizing their purchases in a low-friction way that maximizes conversion. Here we cover the templates and blocks associated with these pages along with details around upgrading to the new experience, customization, and configuration so their appearance and functionality match your store’s design and needs.

Using the Cart and Checkout Blocks

↑ Back to top

For WooCommerce stores started after the release of version 8.3 in November 2023, the Cart and Checkout blocks are the default experience, no setup is required to put the cart and checkout blocks in place, if your site is using a block theme you can get right to customizing the templates to fit your needs. No customization is required for the block cart and checkout to function.

Replacing the existing cart and checkout shortcodes

↑ Back to top

If you’re upgrading an established store to use the blocks experience, or if you’ve removed the blocks and would like to switch back, expand the section below for directions on how to upgrade to the block cart and checkout!

Replacing the existing cart and checkout shortcodes

To replace your existing cart or checkout shortcodes with the Cart or Checkout Block:

  1. Click on the Pages menu item, then locate and edit the Cart page.
  2. Delete the [woocommerce_cart] or [woocommerce_checkout] shortcode block that generates the contents of your Cart page.
  3. In the block inserter, search for the Cart Block.
  4. Choose the block to add it to your Cart page.
  5. Perform these steps again, but with the Checkout block on the Checkout page.

In the editor you’ll now see a preview of your block-based cart and checkout on their respective pages. You can use the settings in the sidebar to customize the Cart and Checkout Blocks, and their respective inner blocks. Remember to click the Update button to save and publish your changes.

Note: Adding the Cart or checkout block to a page does not automatically configure that page to be the official cart or checkout page. Once you’ve added the cart and checkout blocks to pages, you’ll need to ensure those pages are also set as the cart and checkout under WooCommerce > Settings > Advanced.


↑ Back to top

There are two templates that control the display of the cart and checkout pages:

  • The Cart page is controlled by the “Page: Cart” template.
    • The Cart template displays the items selected by the user for purchase, including quantities, prices, and discounts. It allows users to review their choices before proceeding to checkout.
  • The Checkout page is controlled by the “Page: Checkout” template.
    • The Checkout template guides users through the final steps of the purchase process. It enables users to enter shipping and billing information, select a payment method, and review order details.

Access either of them by: 

  1. Navigating to Appearance > Editor from your site’s admin area,
  2. Clicking Templates,
  3. Selecting the template you’d like to edit,
  4. Clicking the pencil icon to edit the template.

Store Notices Block

↑ Back to top

Both the cart and checkout page templates use the Store Notices block. The Store Notices block is where your shop displays shopper-facing notifications generated by WooCommerce or extensions. For example when an item is successfully added to the cart, the notification will show here.

Block Styles

↑ Back to top

Since notifications of different types each have their own styling, there are no style settings for this block.

Cart Block

↑ Back to top

On the cart page you’ll see the Cart Block, it allows customers to view and manage the items they intend  to purchase, offering options for updating quantities and removing products. The linked guide details the components of the Cart Block and provides steps for customizing its layout and settings to improve the user experience.

Explore the settings and options for customizing the Cart block.

Checkout Block 

On the checkout page template you’ll see the Checkout Block, it’s where customers enter their shipping and payment information to complete their purchase. The following documentation outlines the elements of the Checkout Block and offers guidance on how to customize its settings to streamline the checkout process and meet your specific needs.

Explore the settings and options for customizing the Checkout block.

Mini Cart Block

↑ Back to top

The Mini Cart Block gives customers a quick overview of their cart contents from any page on your store. The guide below explains the functionality of the Mini Cart Block and provides instructions for customizing its appearance and behavior to ensure a smooth and convenient shopping experience.

Explore the settings and options for customizing the Mini Cart block.

Cart and Checkout Template Parts

↑ Back to top

The cart and checkout flows make use of a few template parts that come included with WooCommerce. Learn more about template parts.

Checkout Header

↑ Back to top

On the checkout page template, you’ll notice that instead of using the same header that is shown across the rest of your site, by default a simplified header is shown that only displays your site’s title. This is done on purpose to limit distractions from the checkout page and payment flow, and is an optimization that increases cart conversions and reduces abandoned carts!

Of course, you’re welcome to customize this header to your liking, or even replace it with the same header as you use across the rest of your site! However, we recommend sticking with a simple header that doesn’t contain links away from the checkout process.

Mini-Cart Drawer Template Part

↑ Back to top

The Mini-Cart block uses a template part to display the contents of the Mini-Cart. Check the Mini-Cart page for more details on accessing and editing that template part.

Compatible Extensions

↑ Back to top

Compatibility with the Cart and Checkout blocks for extensions on is marked on the product page. Look for the Compatibility section on any product to see if it’s compatible with the Cart and Checkout blocks.

Incompatible Extensions

↑ Back to top

If you use an incompatible extension which has declared its incompatibility, a warning and a button to switch to the Classic Checkout with one click will appear in the settings sidebar when the Checkout Block or any of its inner blocks are selected. 

If you are using a plugin that does not work as expected with the Cart and Checkout Blocks, please get in touch with its developers and let them know that you would like to use the new, block-based checkout. To assist developers in this effort, we have published documentation and resources on integrating existing plugins with the Cart/Checkout Blocks and Store API.

If you have a third-party plugin that you believe is incompatible, you can contact the plugin developer and refer them to our guidance on declaring compatibility with this new default. Plugin developers should mark their plugins as (in)compatible so users aren’t left to troubleshoot and figure that out themselves.

See our primer on using Blocks for more information about swapping back to classic templates if you encounter any incompatibility issues.

Why are my customers seeing “There are no payment methods available” at checkout?

↑ Back to top

If you’re using the checkout block, and only have incompatible payment gateways installed and active, this warning is displayed on the checkout page. In the block settings sidebar of the Payment Options inner block of the Checkout Block, you’ll see an option to switch back to the classic checkout with a single click.

Extensibility – Developers

↑ Back to top

Extensibility interfaces for the Cart and Checkout Blocks are still under active development. If you are developing extensions or customizations that integrate with the WooCommerce cart and checkout, we highly encourage you to follow our progress and provide feedback on GitHub.

Extensions that use hooks to render additional markup in the cart or checkout pages – for example, custom checkout fields – usually require integration work to support the Cart and Checkout Blocks.

Found a plugin on that appears to be incompatible? Please open an issue to help us measure demand and prioritize extensibility work on our end.

Questions and Support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin for which support is provided in our community forums on Searching there you’ll often find that your question has been asked and answered before.

If you haven’t created a account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the Woo Marketplace.
  • Need ongoing advanced support, or a customization built for WooCommerce? Hire a WooExpert agency.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know! 🙏