Skip to content

How to Use the Switcher with the Cart and Checkout Blocks

The WooCommerce Cart and Checkout blocks are the default on new stores. The switcher works on them with no extra setting: Cart page and Checkout page under Show Switcher On cover both kinds of page.

Open Configuration → General and check Show Switcher On lists Cart page and Checkout page.

For this tutorial the demo’s cart and checkout pages were switched to the blocks. Change options sits under each item’s quantity.

The Cart block with Change options under the tee and the sneakers

Press Change options. The same popup opens. The demo shopper picked Rose in S for the tee.

The popup over the Cart block, on Rose and S

Press Update item. The Cart block updates the line and the totals in place.

The Cart block after the switch, with the tee now Color: Rose / Size: S

The block normally announces a changed line as “removed” and added again. The switcher keeps those notices quiet, so the shopper only sees Item updated.

The Checkout block’s Order summary shows the button under each item too.

The Checkout block with Change options under each item in the Order summary

  • On the blocks the switcher always opens as a popup.
  • A switch made in the theme’s header mini cart refreshes the Cart block too, and a switch in the block refreshes the mini cart. Both were performed on the demo.
  • The dashboard groups block switches as Cart or checkout block under Where Shoppers Switch.