Docs

Shortcodes

1 min readUpdated November 29, 2026

Header shortcodes#

Use these in a Bricks Shortcode element, for example in your header.

ShortcodeWhat it prints
[nbwt_cart_count]The live number of items in the cart.
[nbwt_cart_button]A cart icon with its count. It opens the mini cart when the mini cart is on, and links to the cart page otherwise.

Template shortcodes#

The Bricks templates use these. Each one draws a part of a template.

ShortcodeTemplate
[nbwt_cart]The cart page.
[nbwt_cart_empty]The empty cart page.
[nbwt_checkout_header]The top of the checkout: distraction-free bar, steps, heading and sign-in box.
[nbwt_checkout_help]The checkout’s secure note and help card.
[nbwt_thankyou]The thank-you page.

They need WooCommerce and print nothing without it.

Tip

To build your own layout, open a template in Bricks and add elements around these shortcodes. Don’t remove them.