Skip to content

How to set up WooCommerce Cart, Checkout, and My Account pages

This guide shows you how to set up the WooCommerce Cart, Checkout, and My Account pages using shortcodes, so they display correctly with the Gomax theme design.

Why use shortcodes instead of Gutenberg blocks

Section titled “Why use shortcodes instead of Gutenberg blocks”

WooCommerce lets you build the Cart, Checkout, and My Account pages with either Gutenberg blocks or shortcodes. Gomax is built and tested against the classic WooCommerce shortcodes, so use shortcodes for these three pages to get the theme’s intended layout and styling.

  1. Go to Pages » Add New in your WordPress dashboard.
  2. Name the page Cart (or another name of your choice).
  3. Add the corresponding shortcode to the page content:
    • Cart page: [woocommerce_cart]
    • Checkout page: [woocommerce_checkout]
    • My Account page: [woocommerce_my_account]
  4. Publish the page.
  5. Repeat steps 1-4 for the other two pages.

Go to WooCommerce » Settings » Advanced and assign each page (Cart, Checkout, My Account) in the corresponding field so WooCommerce uses them by default.