Shortcodes
Header shortcodes#
Use these in a Bricks Shortcode element, for example in your header.
| Shortcode | What 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.
| Shortcode | Template |
|---|---|
[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.