Skip to content
Arrow keys to move, Enter to open, Esc to closeAll results
Design and Builders · Guides

WooCommerce Templates in Bricks Builder: Shop, Product, Cart, Checkout and Account

A practical guide to building a WooCommerce store in Bricks: shop, product, cart, checkout and account templates, conditions, swatches, caching and a launch plan.

Written by
WPresident Editorial
Topic
Design and Builders

A WooCommerce store is not one design, it is a dozen. There is the shop, a category page, a product page, a cart with items in it and a cart without, a checkout, a payment page for unpaid orders, an order-received screen, a login form, a lost-password form and the handful of tabs inside My Account. In a classic theme each of these screens is a PHP template file, and changing one means a child theme, a copy of a WooCommerce template and a comparison against the plugin’s own version every time WooCommerce updates. Bricks takes a different route. It gives each screen either a template type or a state on the page itself, lets you design it visually, and leaves the real work to WooCommerce.

That division of labour is the single most important idea in this guide. Bricks owns markup and styling. WooCommerce owns behaviour: prices, tax, stock, shipping, sessions, nonces, payment gateways and order emails. Nearly every problem in a Bricks store comes from forgetting which side owns the thing you are changing. A payment form that never appears, a notice that vanishes, a coupon box that does nothing, a plugin widget missing from the product page: in each case a template removed or ignored a piece of WooCommerce output and put nothing in the place where WooCommerce and its plugins expected to find it. Learn where those places are and the rest is layout work.

This tutorial follows a customer through the store. It begins with how the two systems fit together and a map of every screen, then covers setup, the shop and category archives, template conditions, the single product page, variable products and swatches, the cart, the checkout, My Account, hooks and notices, performance, and the faults you are most likely to meet. It ends with a launch test plan and a checklist you can work through on a staging copy.

Some honest limits. This is a general guide, written from the public Bricks documentation and from how WooCommerce itself works, not a report from a test store, and it contains no benchmark numbers. Bricks extends its WooCommerce support often, and one part of that, a newer modular workflow for the cart, checkout and account pages, is described by the vendor as experimental at the time of writing. Where behaviour depends on the version you run, the text says so and points you to the Bricks documentation (the Bricks Academy) for the current wording. Element and setting names are given only where the documentation confirms them. If a label in your install differs from this page, trust your install and the Academy.

You need WooCommerce active with a few test products, including one variable product, a staging copy of the site (never experiment on a live checkout) and a recent backup. You do not need to write code, although a few short snippets appear where a template alone cannot do the job. By the end you should be able to decide, for any screen in the store, whether to build it as a classic template or as a page state, which condition decides when it renders, which hooks it must keep, and how to test it before a customer does.

Key points

  • Bricks controls the markup and styling of WooCommerce screens while WooCommerce still controls prices, stock, sessions and payment, so every template must keep the places where WooCommerce and its plugins attach their output.
  • Only the product archive and single product templates use conditions; cart, empty cart, checkout, pay, thank you, receipt and account templates render automatically on their WooCommerce routes.
  • The newer advanced modular workflow puts cart, checkout and account states on one page, but the vendor labels it experimental, so try it on staging and decide per area rather than per site.
  • Switching on the Bricks Notice, Checkout coupon or Checkout login elements removes the native versions, so each one must be placed deliberately or customers will see no messages.
  • Variation swatches need a swatch type on a global attribute plus a value for every term, and the unavailable state must be tested with real stock combinations.
  • Keep checkout customisation to styling, field order and optional fields, keep cart, checkout and account pages out of page caches, and test every payment method before launch.

How Bricks and WooCommerce split the work

WooCommerce renders its screens through PHP template files that call dozens of actions, such as the ones that print the product title, the price, the add to cart button, the tabs and the notices. Third-party plugins hook into those same actions to add a badge, a payment field, a delivery estimate or a tracking script. A traditional WooCommerce theme overrides the template files and keeps the actions in place. For the screens you design, Bricks does not use those files at all. It replaces them with its own elements, and that is exactly where output can go missing: if a plugin prints through an action that no Bricks element or tag calls, nothing appears.

Bricks solves this with two devices. The first is the set of WooCommerce elements, which call WooCommerce functions for you and expose styling controls: the Products element for loops, Add to cart, Product price, Product gallery, the cart and checkout elements, and the account elements. The second is a dynamic data tag called do_action, which you place in a Basic Text element to run a named WooCommerce action at that spot in the layout. The Bricks documentation lists the actions it recommends for each template type, and says that using one of those tags makes Bricks unhook the matching native output automatically, so you do not get a duplicate price or title. Later sections return to this because it is the key to plugin compatibility.

Where do the settings live? WooCommerce support only appears when the free WooCommerce plugin is active. A WooCommerce tab then appears in the Bricks settings screen, holding the switches that change how the integration behaves: a toggle that disables the WooCommerce builder entirely and falls back to default WooCommerce output, toggles for the Notice, Checkout coupon and Checkout login elements, product badges, AJAX add to cart, variation swatches, and the gallery zoom and lightbox. The Theme Styles panel gains WooCommerce groups as well, including the button and the notice. Treat those as your store-wide defaults and keep per-template styling for genuine exceptions.

One more distinction will save you hours. Some screens are templates with conditions, which you assign. Some are route templates that WooCommerce triggers by itself when a customer reaches a given address, with no conditions to set. And some are the real pages that WooCommerce assigns to the shop, cart, checkout and account roles. Knowing which of the three you are editing explains most surprises, and the next section turns it into a map.

Who owns what in a Bricks store

Theme styles and global classesColours, type, buttons and the WooCommerce button and notice groups that every screen shares.
Bricks templates and elementsProduct archive, single product and route templates built from WooCommerce elements.
Template hooks and dynamic tagsThe do_action tag and the WooCommerce data tags that print output where you decide.
WooCommerce actions and filtersThe extension points plugins use to add fields, badges, payment forms and scripts.
WooCommerce coreProducts, cart session, checkout, orders, tax, shipping, gateways and emails.
Bricks sits on top of WooCommerce hooks, so a template is only complete when it still calls the hooks your plugins use.

The template map: every screen and where it lives

Open the Bricks templates screen with WooCommerce active and the template type list gains a family of WooCommerce entries. In the classic workflow they are these.

  • Single product and Product archive. These are the only two that use conditions. The archive template covers the shop, categories, tags and attribute archives.
  • Cart and Empty cart. WooCommerce picks one depending on whether the cart holds products.
  • Checkout, Pay, Thank you and Order receipt. Pay is the screen a customer reaches from a link to an unpaid order, and Order receipt is the receipt screen for an unpaid order.
  • A family of Account types, one per account screen: login, lost password, lost password confirmation, reset password, dashboard, orders, view order, downloads, payment methods, add payment method, addresses, edit address and edit account.

The conditions rule matters. According to the Bricks documentation, the cart, checkout and account route templates do not offer template conditions, because WooCommerce itself decides when to render each one. If you hunt for a Conditions panel on an Empty cart template and cannot find one, nothing is broken. Only the product archive and single product templates keep the normal Conditions and preview controls.

The shop page deserves its own note. It is the product post type archive, so you have two ways to design it: edit the Shop page directly with Bricks, or give your product archive template a condition that also matches the shop. The second option means one template serves the shop and every category, which is usually what you want until the shop page needs a hero or a different grid.

The newer advanced modular workflow changes the other half of the map. Instead of a separate template per screen, the cart, checkout and account pages each get a parent element (Cart v2, Checkout v2, Account Page v2) with the screens held as states that you switch between while editing. Cart has filled and empty states. Checkout holds the checkout, login required, pay, thank you and receipt states. Account holds a state per endpoint. The documentation says classic templates and these states can coexist on a site, but each area should use one approach at a time. Pick per area, write the choice down, and do not leave a half-migrated checkout.

How should you choose? An existing store that works should usually stay on the classic templates until there is a reason to move, and a new build can reasonably try the modular workflow on staging, with the documentation’s experimental label in mind. Either way, payment gateways and checkout extensions are the part to test hardest, because they were written against WooCommerce’s own checkout markup.

Template map: classic and advanced workflows

Classic template workflowAdvanced modular workflow
Shop and category archivesProduct archive template with conditionsSame template; this area does not change
Single productSingle product template with conditionsSame template; this area does not change
CartCart and Empty cart templates, no conditionsCart v2 element on the assigned page, two states
Checkout screensCheckout, Pay, Thank you and Order receipt templatesCheckout v2 element, a state for each screen
My AccountAccount page element plus one template per endpointAccount Page v2 element, a state per endpoint
Archives and product pages are identical in both workflows; the cart, checkout and account areas are where you choose.

Setting up safely: assigned pages, settings and the Woo Setup Wizard

Start with WooCommerce, not Bricks. Run the WooCommerce store setup, add a handful of products and confirm that the shop, cart, checkout and My Account pages exist and are assigned in the WooCommerce settings (the Advanced tab holds the page assignments). Everything Bricks does for those areas hangs off the assigned pages, so a page that was deleted or never assigned leads to templates that appear to do nothing. The documentation also notes that the WooCommerce setup wizard will not ask you to pick a theme, since Bricks already supports WooCommerce.

Bricks ships a Woo Setup Wizard, reached from the Bricks menu in the WordPress admin. It reviews the Shop, Single product, Cart, Checkout and My Account areas, reports what is missing or inconsistent, and offers actions for each area. It can set up the classic workflow whether or not advanced modular elements are enabled, and its advanced options stay disabled until you switch that feature on in the Bricks WooCommerce settings. It does not create or assign missing WooCommerce pages, so fix assignments first.

Read the caution in the documentation before you press anything. Depending on the area and setup type, the wizard can write Bricks content to an assigned page, clear WooCommerce block markup from that page, switch the page’s editor mode to Bricks, create templates from presets, draft published templates of the same type that would conflict, and generate CSS files when external CSS is in use. On a store with real customers that is a meaningful change set. Duplicate or export the pages and templates you care about, run it on staging first, and read the summary it shows before confirming. Presets are written with the default Bricks breakpoint names, so if you use custom breakpoints, review the responsive styles afterwards.

A related rule applies if you build the pages by hand. The classic cart and checkout approach needs the WooCommerce shortcode on the assigned page, not the block-based Cart or Checkout. If the page still contains the block, replace it with the cart or checkout shortcode, or with a Shortcode element in Bricks, as the documentation describes. The modular workflow has the opposite problem: block content on an assigned page is not compatible with it, which is another reason to let the wizard replace the page content rather than editing the block by hand.

Finally, decide the order of work. Build the shared pieces first: theme styles for buttons, form fields and notices, plus a handful of global classes for prices, badges and quantity inputs. Then the product archive, the single product, the cart, the checkout and the account area, in that order, testing each with a real add to cart before you move on. A store designed top to bottom but tested only at the end hides its faults until a payment fails.

A safe order of work

  1. Configure WooCommerceRun the store setup, add test products and keep your current theme out of the decision.
  2. Check assigned pagesShop, Cart, Checkout and My Account must exist and be assigned; the wizard will not create them.
  3. Back up and use stagingDuplicate or export key pages and templates before anything is replaced.
  4. Choose a workflow per areaClassic templates or advanced modular states, one approach for each area.
  5. Run the wizard on stagingRead the summary of what it will write, replace or draft, then confirm one area at a time.
  6. Review and test ordersOpen each generated page, check responsive styles, then place test orders.
Each step protects the next: the wizard and the templates can only be trusted once the assigned pages and a backup exist.

The shop and product archive template

The Product archive template is the workhorse of the store. It renders the shop page, every product category, tag and attribute archive, and anything else you point its conditions at. Create it from the Bricks templates screen by choosing the WooCommerce product archive type, then open it in the builder. A sensible first layout has four parts: a title with breadcrumbs, a toolbar, the product grid and pagination.

There is no dedicated archive title element. Use a Heading element with the {archive_title} dynamic tag, or the Post Title element, as the documentation suggests. The Breadcrumbs element uses WooCommerce’s own breadcrumb engine, so it follows whatever WooCommerce and your plugins would produce. The Products archive description element prints the description of the current category or term, and on the shop page it prints the page content, which makes it the natural home for an intro paragraph written in the editor.

The grid itself is the Products element. It has controls for columns and gap that respond to breakpoints, query settings, a repeater of the fields to show on each card (title, image, price, add to cart and so on), and options to place the pagination, result count and order by widgets before or after the grid. The behaviour to understand is how its query combines with WooCommerce. On a product archive, Bricks merges the element’s query arguments into WooCommerce’s default query, so on a category page the grid lists that category only, without you writing a rule. That is why one template can serve every category. If you add your own query rules inside the element, test them on a category page, because they merge with the page context instead of replacing it.

The companion elements are Products filter, Products pagination, Products orderby and Products total results. They are wired to the Products element: a filter or sort order changes the query, and pagination and the result count follow. The default sort options are popularity, average rating, latest and price in both directions, and they can be extended through WooCommerce hooks or the Bricks filter named bricks/woocommerce/products_orderby_options. Filtering and live search have their own tutorial; here the point is only that these elements belong together.

Keep the default fields that carry hook tags. When you insert a new Products element, its field list includes do_action entries for the WooCommerce loop hooks, and those are what let a wishlist, badge or rating plugin draw on your cards. Delete them to tidy the list and the plugin output disappears from the loop.

A few store-wide settings shape the cards. The Bricks WooCommerce settings can show a Sale badge as text or a percentage, a New badge for products newer than a number of days, and a quantity input next to add to cart for in-stock simple products. AJAX add to cart in loops applies to simple products and to variations that support it; for products that need an attribute choice, the default error action sends the shopper to the product page, which is usually the behaviour you want. A quick view popup is also possible, built from a popup template triggered by an interaction, and the Academy documents it step by step.

One trap deserves a warning. WooCommerce can show categories, products or both on the shop and category pages, and a Bricks template ignores that choice unless you build for it. The Academy has a tutorial that does so with two query loops and the echo dynamic tag, but echo needs code execution to be enabled, which is a security decision, so read the Code review page of the documentation before turning it on.

Rendered output of the code above
A shop archive layout with a toolbar showing a result count and a sort control above a three column grid of product cards, one with a sale badge
A plain HTML and CSS render of the archive layout described above (toolbar over a responsive grid of cards), not a screenshot of the Bricks editor.

Conditions: one archive template, many categories

Conditions answer one question: for this request, which template of this type wins? They live in the template’s own settings (the settings icon in the builder toolbar, then Template Settings, then the Conditions group), and only the product archive and single product templates expose them. You can add several conditions to one template, and each can be an include or an exclude.

The condition types in the documentation cover the whole site: entire website, front page, post type, archive (all archives, post type archives, author, date or term archives), search results, error page, terms (single entries assigned to selected terms) and individual entries. For a store the useful ones are post type, archive and terms. An archive condition limited to the product post type, or to product category terms, drives the archive template. A terms condition on a single product template applies it to products assigned to chosen categories.

A realistic setup looks like this. One general product archive template serves the shop and every category with a sidebar of filters. A second archive template has a condition for one category, say gift cards, and drops the sidebar and the sale badges because they make no sense there. When both match, Bricks picks the more specific: according to the documentation, selected terms, selected archives and child-page matches are more specific than a broad archive or post type match, and entire website is only a fallback. Use the child terms option if sub-categories should follow their parent’s design, and an exclude condition to carve out a case without editing the general template.

Keep the rules tidy. Two templates that match the same request with the same specificity make the outcome hard to predict, so avoid overlapping assignments, especially for single product templates where one product can sit in several categories. The label wording of each condition and its sub-fields can change between versions, so confirm it in the Template Settings page of the current documentation instead of trusting a screenshot.

Do not confuse conditions with preview. The Populate Content group only sets what the builder canvas shows, for instance a particular term for an archive or a real product for a single template, so dynamic data has something to display. It never decides what renders on the frontend. If a title or price looks empty in the builder, set a preview; if the wrong design appears on the frontend, look at conditions.

When the wrong template shows, work through a short list. Is the template published and of the right type? Does another published template have a more specific condition, or an exclude that removes yours? Is the Disable default templates setting on, so that templates without conditions no longer act as a fallback? That setting, found among the Bricks templates settings, is worth enabling on a production store because it forces every template to earn its place with an explicit condition, which makes audits much easier.

Which product archive template renders?

A visitor opens the Gift cards category. Which product archive template renders?
One template has an archive condition for that exact termIt wins, because selected terms are more specific than a broad archive or post type match.
Only a general product archive template matchesThe general template renders, and its Products element lists just that category because the query merges with the page context.
The specific template also has an exclude condition that matchesIt is disqualified even though an include condition matches, and the next most specific template is used.
No template matches and default templates are disabledBricks has no archive template to apply, so add a matching condition rather than blaming WooCommerce.
Bricks compares every matching template of the same type and uses the most specific one that is not excluded.

The single product template

The Single product template is a normal Bricks layout with an extra group of product elements at the top of the elements panel. Build it as two columns on wide screens, with the gallery on one side and the summary on the other, and one column on phones. The elements, in the order most stores place them, are these.

  • Product title and Product rating, plus Product price, which can hide the regular price while a sale is running.
  • Product gallery, which shows the featured image and the gallery images. Zoom and lightbox are switched off in the Bricks WooCommerce settings, not per element.
  • Product short description and Product stock, where the stock message can be replaced with custom wording for in stock, low stock and out of stock.
  • Add to cart, which carries the variation inputs, quantity and button, and is also where variation swatches render.
  • Product meta for SKU, categories and tags, Product content for the main editor content, and Product additional information for attributes.
  • Product tabs, Product reviews, Related products and Product up/cross-sells for everything below the fold.

Mind the overlaps. The documentation warns against using Product reviews together with Product tabs on the same page, because the tabs can output reviews too, and attributes appear both in Product additional information and inside the tabs. If you want accordions or your own section order, skip Product tabs and place the individual elements. Related products picks items that share categories and tags with the current product, and the up/cross-sells element can show up-sells, cross-sells or cart cross-sells.

For custom designs, the WooCommerce dynamic tags help. Use {woo_product_stock_status} in an element condition, since it returns instock, outofstock or onbackorder, to swap the button for a notify box. {woo_product_on_sale} renders the sale badge, {woo_product_sku} the SKU, and {woo_product_gtin} the global unique identifier when your WooCommerce version supports it. The documentation notes that the GTIN is not shown by the Product meta element, so the tag is the only way to print it.

The part that makes plugins work is the hook tags. The documentation recommends five for this template: before the product, before the summary, the summary itself (which many plugins use), after the summary and after the product. Place each in a Basic Text element where the output should appear. The first one carries WooCommerce notices, so leaving it out is a common reason for missing messages. To see why it matters, consider a small site plugin that adds a delivery note under the add to cart button.

<?php
add_action( 'woocommerce_single_product_summary', function () {
	global $product;

	if ( ! $product instanceof WC_Product || ! $product->needs_shipping() ) {
		return;
	}

	echo '<p class="delivery-note">'
		. esc_html__( 'Ships within two working days.', 'my-store' )
		. '</p>';
}, 35 );

The callback is hooked to the summary action at priority 35, between the add to cart and meta callbacks of a classic template. It only runs when something calls that action. In a Bricks template, that something is the summary hook tag. Put the tag in a Basic Text element next to Add to cart and the note appears; leave it out and the note never prints, with no error to explain why. The esc_html__ call escapes the translated text, and the instanceof check stops the code failing on screens where no product is set. Once the tag is in place, every remaining callback on that action prints at that one position, in priority order.

Rendered output of the code above
A single product layout with a large product image and thumbnails on the left, and on the right the title, star rating, sale price, short description, stock status, quantity and add to cart button, a delivery note, and product meta, with a row of tabs underneath
A plain HTML and CSS render of the two column single product layout described above, including the delivery note that the summary hook snippet prints, not a screenshot of the Bricks editor.

Variable products and swatches: what to verify

Variable products are where a store design most often breaks, because the choice a shopper makes (size, colour, material) changes the price, stock and image that the rest of the page shows. Bricks handles the selection inside the Add to cart element and can replace the plain dropdowns with swatches. This is a newer feature, so confirm it exists in your version before you design around it. The Academy describes the workflow in these steps.

  1. Switch on the product variation swatches option in the Bricks WooCommerce settings.
  2. Open Products, then Attributes in WordPress, and edit an attribute. A Swatch type setting offers None (plain dropdown), Color, Label and Image.
  3. Optionally set a fallback value, used for any term that has no value of its own. For image swatches, Bricks looks first at the term image, then at the matching variation image if that option is enabled for the attribute, then at the fallback.
  4. Use Configure terms to give each term a colour, an image or a text label.
  5. In the single product template, select the Add to cart element and open its variation swatches group to set size, spacing, borders, active states and tooltips.

Now the verification list, because this is where stores go wrong. First, swatch types live on the global attributes managed under Products, Attributes. If some products use custom attributes typed into the product itself, check in the documentation and on a test product how they behave before you promise a client swatches everywhere, and prefer global attributes for anything you want to display visually. Second, every term needs a value or the attribute needs a fallback, or a swatch appears empty. Third, check the unavailable state with real data. Bricks follows the availability that WooCommerce computes in its hidden variation dropdown; when WooCommerce disables an option for the current combination, Bricks adds a disabled class and aria-disabled="true" to the matching swatch. The documentation is explicit that no separate switch forces every out-of-stock option to look disabled, so if a swatch stays selectable, look at the stock settings of that exact variation first.

Fourth, test with a keyboard and a screen reader. Tab through the swatches, confirm a visible focus ring, and make sure a colour swatch has a text name through a tooltip or label, since colour alone does not tell everyone what they are choosing. Fifth, choose a variation that has its own image and see whether the gallery follows, and check how variable products look on archive cards, where AJAX add to cart does not apply to products that need an attribute choice. The default error behaviour sends the shopper to the product page.

The documentation offers a way to style the unavailable state with custom CSS targeting the swatch list. Here is a version that adds a diagonal strike and a not-allowed cursor. Put it in the child theme stylesheet or the Bricks custom CSS area, and inspect the live markup first, because class names can change between versions.

.bricks-variation-swatches li.disabled,
.bricks-variation-swatches li[aria-disabled="true"] {
  position: relative;
  opacity: 0.55;
  cursor: not-allowed;
}

.bricks-variation-swatches li.disabled::after,
.bricks-variation-swatches li[aria-disabled="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 1px),
    currentColor calc(50% - 1px) calc(50% + 1px),
    transparent calc(50% + 1px)
  );
}

The first rule fades the swatch and changes the cursor. The second draws a one pixel diagonal line using a hard-stop gradient, with currentColor so it follows the swatch text colour, and pointer-events: none so the overlay never blocks clicks. Because the selectors match both the class and the ARIA state, the style keeps working if only one of them is present.

Rendered output of the code above
Colour swatches and size label swatches for a variable product, with one colour selected and one size crossed out as unavailable
A plain HTML and CSS render of swatch styling with a selected colour and a struck-out unavailable size, not a screenshot of the Bricks editor.

Cart and empty cart: classic templates and the v2 states

The cart is a real WooCommerce page, assigned in the WooCommerce settings, and Bricks offers two ways to design it. In the classic workflow the assigned page renders the WooCommerce cart shortcode, and two templates change the output: Cart, used when the cart has products, and Empty cart, used when it does not. Neither takes conditions. In the Cart template three elements do the work. Cart items renders the product table, with options to hide columns and the coupon input. Cart totals renders the totals zone and can hide cross-sells. Cart coupon renders the coupon field on its own if you want it somewhere other than under the table.

If you want something other than a table, Bricks has a Cart contents query loop. Add a container, set its query type to cart contents, and use the cart tags inside it: the product name or title, the remove link, the unit price, the quantity input, the line subtotal and the item data. Two rules from the documentation keep WooCommerce’s scripts alive. The looping element needs the classes woocommerce-cart-form__cart-item and cart_item, and its parent needs woocommerce-cart-form__contents. The remove element needs the product-remove class, and the remove tag must not sit in a Rich text element, because the extra paragraph tag breaks the AJAX removal. To use the quantity inputs, the whole loop sits inside a form wrapper with the woocommerce-cart-form class, a post method, an action of {post_url}, and the update cart tag placed inside the form but outside the loop.

That form wrapper needs a custom HTML tag, and Bricks only lets you pick tags from an allowed list, so the form tag has to be allowed in code. The same snippet shows how to change the proceed button label with the filter the documentation lists.

<?php
// Child theme functions.php or a small site plugin.
add_filter( 'bricks/allowed_html_tags', function ( $tags ) {
	$tags[] = 'form';
	return $tags;
} );

add_filter( 'bricks/woocommerce/cart_proceed_label', function ( $label ) {
	return esc_html__( 'Continue to checkout', 'my-store' );
} );

The first filter appends form to the allowed tag list that Bricks sanitises custom tags against. The second replaces the default proceed to checkout text in the cart element with a translatable string, and esc_html__ keeps the output safe. Neither changes anything until the matching element is on the page.

The advanced modular workflow collapses all of this into a Cart v2 element on the assigned page, with a filled state and an empty state you switch between in the editor. Each state can generate a starter block that you then edit like normal elements, and on the frontend the generated layout updates quantities, coupons and removals without a reload, switching to the empty state when the last product goes. It also supports a Dynamic fragment element for cart-dependent content elsewhere, such as a custom mini cart in a header offcanvas, which re-renders after cart changes. The documentation says that element only works in the header, content or footer, not inside a query loop or a component instance. The classic Mini cart element still exists, but you can style it, not restructure it.

Cart pages often carry one more piece that a table does not give you: a free shipping progress message, like the one in the first figure below. In the modular workflow, the Academy lists free shipping dynamic tags and a free shipping progress structure for the Dynamic fragment element, and says the minimum comes from the Free shipping method of the shipping zone that matches the cart, so check there first. For the classic workflow, or any layout where you would rather keep the logic in code, a small shortcode does the job. Put it in the child theme or a site plugin, then place the shortcode in a Shortcode element inside the Cart template.

<?php
add_shortcode( 'wpr_free_shipping', function () {
	if ( ! function_exists( 'WC' ) || ! WC()->cart ) {
		return '';
	}

	$threshold = 100.0; // Example amount. Match your free shipping method.
	$subtotal  = (float) WC()->cart->get_subtotal();

	if ( $subtotal <= 0 ) {
		return '';
	}

	if ( $subtotal >= $threshold ) {
		return '<p class="wpr-ship">' . esc_html__( 'Your order qualifies for free shipping.', 'my-store' ) . '</p>';
	}

	$message = sprintf(
		/* translators: %s: amount still needed, as formatted price HTML */
		__( '%s left for free shipping', 'my-store' ),
		wc_price( $threshold - $subtotal )
	);

	return '<p class="wpr-ship">' . wp_kses_post( $message ) . '</p>'
		. '<progress class="wpr-ship__bar" max="' . esc_attr( $threshold ) . '" value="' . esc_attr( $subtotal ) . '"></progress>';
} );

The function returns nothing when WooCommerce has no cart object, which happens in the admin and in some REST requests, and when the cart is empty. The threshold is an example amount. It must match the minimum order amount on your free shipping method, or the message will promise something the checkout does not honour. get_subtotal() is the cart contents subtotal before tax, and WooCommerce can compare the free shipping minimum before or after coupons depending on that method’s settings, so test the message with a coupon applied. wc_price() returns formatted price HTML with the currency symbol, which is why that sentence goes through wp_kses_post() while the plain sentence uses esc_html__(). The progress element is a native control with built-in semantics, and the accent-color property in your CSS colours it in current browsers. The shortcode renders when the page loads. In a layout where totals change without a reload it will not refresh on its own, and that is the case the Dynamic fragment element exists for.

Whichever workflow you choose, the empty cart deserves real design. Add a clear message, a path back to the shop, and the empty-cart hook tag so plugins can add their own notice. The second figure below shows one way to lay it out.

Rendered output of the code above
A custom cart layout with three product rows showing image, name, quantity and subtotal beside a totals panel with a free shipping progress bar
A plain HTML and CSS render of a custom cart layout (rows beside a totals panel), not a screenshot of the Bricks editor.
Rendered output of the code above
An empty cart screen with a circled zero, the heading Your cart is currently empty, a short sentence, a Return to shop button and three category links
A plain HTML and CSS render of an empty cart design with a clear message and a way back to the shop, not a screenshot of the Bricks editor.

Checkout, pay, thank you and order receipt: keep it boring

The checkout is the one screen where creativity costs money. It is also the screen with the most moving parts: address fields that change by country, shipping and tax recalculation, payment gateways that inject their own fields and scripts, terms checkboxes and the button that creates the order. Customise appearance freely and everything else cautiously.

In the classic workflow the Checkout template has two special elements. Checkout customer details renders the billing and shipping form, with the ability to hide optional fields such as company name and to style the fields. Checkout order review renders the order summary, the payment methods and the place order button together, so treat it as one unit and do not try to pull the payment methods apart from it. Coupon and login boxes are handled through two Bricks settings that, when enabled, remove the native forms and let you place the Checkout coupon and Checkout login elements wherever you like. If you only want to remove the coupon form, the documentation shows removing WooCommerce’s coupon form action from the before checkout form hook in a child theme.

The right way to change what a field is, rather than how it looks, is a WooCommerce filter, because it changes the real checkout field definitions that validation and order saving use. Hiding a required field with CSS only makes the form fail on submit with an error the customer cannot see.

<?php
add_filter( 'woocommerce_checkout_fields', function ( $fields ) {
	unset( $fields['billing']['billing_company'] );
	$fields['billing']['billing_phone']['required'] = false;
	return $fields;
} );

This removes the company field and makes the phone number optional at the source. In the modular checkout, fields are generated into editable elements at the moment you generate the layout, so after any change like this, or after installing a plugin that adds a field, use the checkout field sync the documentation describes. It reports valid, missing, invalid and duplicate generated fields and can regenerate or remove them.

The other screens need care too. The Thank you template can use order tags such as order number, date, total, payment method title and email, and the Pay and Order receipt templates use the same tags. The classic Thank you element supports WooCommerce’s failed order message filter, while the modular layout uses a dedicated tag for it. If a conversion pixel or analytics event fires from the order received page, place a real test order and confirm the event still fires on your Bricks version of that screen, because only a real order shows it.

The modular checkout can be one page or multistep. A multistep layout adds step wrappers, navigation and next and back buttons wired with interactions. The documentation warns that validation before leaving a step is off in the generated layout, so a customer can click through empty steps and only meet the errors at the end, and suggests turning it on for the customer, shipping and payment steps. It also says free orders hide the payment section through a class on the payment wrapper, and that the Notice, coupon and login elements must be enabled in settings for the generated layout to render those forms. Some recent releases did not enable all three automatically, so read the current notes in the Academy before you generate a layout.

How far to customise the checkout

How to read this: each row is one option, and its dot shows where it sits between Low risk and High risk. Placement is an editorial judgement, not a measurement.

  1. 1Colours, type and spacingPure styling through theme styles and element controls.
  2. 2Hiding optional fieldsUse element controls or a field filter, never CSS alone for required fields.
  3. 3Reordering sectionsFine in a template, but retest every gateway afterwards.
  4. 4Splitting into stepsAdds validation and state to test, including free orders.
  5. 5Custom JavaScript around fields and totalsBreaks quietly when WooCommerce or a gateway updates.
Editorial placement of common checkout changes by how likely they are to break payment or order saving; the positions are judgement, not measurement.
Rendered output of the code above
A two column checkout with billing detail fields on the left, with no company field and the phone field marked optional, and on the right an order summary with two items, shipping, a total, payment method choices, a terms checkbox and a Place order button
A plain HTML and CSS render of a conventional checkout layout after the field filter above, with no company field and an optional phone number, not a screenshot of the Bricks editor.

My Account: login, dashboard, endpoints and the header

My Account is one assigned WooCommerce page with many routes. The orders list, a single order, downloads, addresses and account details are endpoints on that page, not separate WordPress pages. Bricks reflects this. You edit the assigned My Account page itself and add the Account page element, which provides the navigation and the content wrapper. Then, in the classic workflow, you create one template per screen you want to restyle. The documentation stresses that the My Account page step must be completed, otherwise the endpoint templates are not applied consistently.

For logged-out visitors, the Account login template holds the Account login form and Account register form elements. Place a Basic Text element with the {do_action:woocommerce_before_customer_login_form} tag above the forms and one with {do_action:woocommerce_after_customer_login_form} below them, so plugins such as social login can attach their buttons. The registration form only appears when WooCommerce’s setting allowing account creation on the My Account page is on, and the form content follows the account creation settings in WooCommerce. Lost password, lost password confirmation and reset password each have their own template, and the confirmation template needs no special element.

The logged-in endpoints map to template types as follows: orders (the Account orders element), view order, downloads, payment methods, add payment method, addresses, edit address for billing and shipping, and edit account, each with a matching element, plus a dashboard template with no special element. While editing one of these, the drop area sits inside the account content area, so the canvas still shows the account navigation around your work. If you enabled the Bricks Notice element setting, make sure the Notice element is on the account page or in each account template, or the messages shown after saving an address or resetting a password will not appear.

The modular Account Page v2 element keeps the same screens as states: dashboard, orders, view order, downloads, addresses, edit address, edit account, payment methods, add payment method, login, lost password, lost password confirmation and reset password, with an order withdrawal state when WooCommerce enables that feature. One limit matters on real stores. Endpoints added by other plugins do not become extra editable states. They still render through WooCommerce, but if one goes blank, test with the default account output or without the v2 element, and if the fault only appears with v2, report the plugin name and endpoint slug to Bricks support.

What about the header and footer on these screens? They are not part of the account design. Header and footer templates apply by their own conditions, exactly as on any other page, and the Page Settings of a page can turn them off with the Disable header and Disable footer options. If the header is missing on one account screen, check those two places, then look for an exclude condition on the header template. A common refinement is a stripped-down header for checkout. Give a second header template an individual condition for the Checkout page, and exclude that page from the main header. Since the order received screen is also an endpoint of the Checkout page, the lighter header covers it too.

How an account request becomes a screen

  1. Customer opens an account addressFor example the orders or edit address route under the My Account page.
  2. WooCommerce resolves the endpointEndpoints are routes on the one assigned page, not separate pages.
  3. Bricks picks the designThe matching Account template, or the matching state of Account Page v2.
  4. Account page element wraps itNavigation and the content wrapper come from the element on the assigned page.
  5. Header, footer and noticesHeader and footer apply by their own conditions; the Notice element prints messages.
The endpoint is only a route; Bricks supplies the matching design inside the Account page element, and header and footer come from their own conditions.

Hooks, notices and third-party plugins

Compatibility with the WooCommerce plugin ecosystem comes down to two things: hook tags and notices. The hook tags were covered for the product page, but every template type has its own recommended set. For the product archive, the documentation recommends tags for the archive description, the actions before and after the shop loop, and the before, title, after-title and after actions of each loop item. For the empty cart it recommends the cart-is-empty action. For the cart, the before cart, before collaterals and after cart actions. For the pay template, the before payment action. Some of these are marked important because WooCommerce prints notices through them.

There is a trade-off to understand. When you use one of these tags, Bricks unhooks the native WooCommerce callbacks that would duplicate your elements. The documentation lists them: the loop link, thumbnail, title, rating and price callbacks, the single product title, price, excerpt, add to cart, meta, tabs, upsell and related callbacks, the result count, ordering and pagination callbacks, and the content wrapper. That is what lets you place your own Product price element without getting two prices. It also means a plugin that relied on one of those removed native callbacks to appear will not appear, so test every plugin that touches product output.

When a plugin’s output is missing, guessing which hook it uses wastes time. WordPress keeps a list of callbacks for every hook, so a short temporary helper can write down what is attached to the hooks your templates should be printing. Use it on staging only, with debug logging on, and remove it when you are done.

<?php
add_action( 'wp_footer', function () {
	if ( ! current_user_can( 'manage_options' ) || ! defined( 'WP_DEBUG' ) || ! WP_DEBUG ) {
		return;
	}

	global $wp_filter;

	$hooks = array(
		'woocommerce_before_single_product',
		'woocommerce_single_product_summary',
		'woocommerce_after_single_product_summary',
		'woocommerce_after_shop_loop_item_title',
	);

	foreach ( $hooks as $hook ) {
		if ( empty( $wp_filter[ $hook ] ) ) {
			error_log( $hook . ': nothing hooked' );
			continue;
		}

		foreach ( $wp_filter[ $hook ]->callbacks as $priority => $callbacks ) {
			foreach ( $callbacks as $callback ) {
				$fn = $callback['function'];

				if ( is_array( $fn ) ) {
					$name = ( is_object( $fn[0] ) ? get_class( $fn[0] ) : $fn[0] ) . '::' . $fn[1];
				} elseif ( is_object( $fn ) ) {
					$name = get_class( $fn );
				} else {
					$name = (string) $fn;
				}

				error_log( sprintf( '%s [%d] %s', $hook, $priority, $name ) );
			}
		}
	}
} );

The callback runs in the footer for a logged-in administrator and only when WP_DEBUG is on, so visitors never trigger it. It reads the global $wp_filter, where WordPress stores every hook as an object with a callbacks list grouped by priority, and writes one line per callback with the hook, its priority and a readable name. Closures appear as Closure, which tells you a plugin used an anonymous function. With WP_DEBUG_LOG on, the lines land in the debug log. Because it runs after the page body has rendered, it shows what is still attached once your template has printed its tags. Load a product page with the hook tags in the template, then again with them removed, and compare the two lists: callbacks that Bricks lists as removed will be missing from the first, and a plugin callback that appears in both is the one the hook tag is there to serve.

Now notices. WooCommerce collects messages such as added to cart, coupon applied, invalid login and out of stock, and prints them once. In the Bricks WooCommerce settings you can enable the Bricks Notice element, which styles the three notice types (error, success and the default) through a WooCommerce Notice group in Theme Styles. The catch is what the documentation says plainly: once enabled, all native WooCommerce notices are removed and you must place the Notice element yourself. The templates that should carry one are the product archive, single product, cart, empty cart, checkout, pay and the account login, lost password and reset password templates, plus any assigned page you edit directly with Bricks. One element per page is enough, because WooCommerce clears notices after the first output, so any second Notice element on the same page prints nothing.

The same logic applies to the checkout coupon and checkout login settings. Enabling either one removes the native form, so the matching Bricks element must be added, and the underlying WooCommerce option (coupons enabled, log-in during checkout enabled) must also be on, or there is nothing to render. A good habit is to treat each of the three switches as a promise: turn it on only on the day you place the element, and never leave one on in a half-built template on a live site.

A plugin feature is missing from a Bricks screen

What should you check first?
The plugin adds content to the product pageAdd the single product hook tags in Basic Text elements, especially the summary one, where the output should appear.
It adds a badge, button or icon to product cardsKeep the loop hook tags in the Products element fields, or add them to your custom loop item.
It shows a message, error or confirmationConfirm a Notice element is on that screen if the Bricks notice setting is enabled.
It adds a tab inside My AccountTest the endpoint with default account output, then ask both vendors with the endpoint slug.
Most missing output traces back to a hook tag or a notice that the template no longer calls.
Rendered output of the code above
Three stacked store notices: a green success notice that a product was added to the cart with a View cart link, a blue notice about entering a coupon code, and a red error notice about an incorrect password, each starting with a text label
A plain HTML and CSS render of the three notice types (success, default and error) with a text label as well as a colour, not a screenshot of the Bricks editor.

Performance and caching for a Bricks store

A store has two kinds of pages: pages that are the same for every visitor and pages that belong to one visitor. Speed advice only makes sense once you separate them. The shop, category and product pages can be served from a page cache, provided the cache is purged when prices, stock or products change. The cart, checkout, My Account and order received pages hold a particular visitor’s session, address and order, so they must never be served from a shared page cache. Most caching plugins and managed hosts ship WooCommerce rules for this, and they commonly key off the cookies WooCommerce sets when a cart has items. Do not assume; open the exclusion list in your caching tool and confirm those four areas are on it, then check by adding a product to the cart in a private window.

Bricks has its own performance switches, and two of them interact with a store. The CSS loading method can output styles inline or as external files stored in the uploads folder. External files let browsers and a CDN cache the CSS and need a regenerate step after changes, so include it in your deploy routine. The query loop cache option stores loop results in the WordPress object cache, keyed by element, query and parent loop. It helps when query arguments are stable, but the documentation itself says to disable it if you see stale or unexpected results. In a store, a stale loop can show an old price or a product that has since sold out, so test it by changing a price and reloading a category page before you leave it on.

The biggest wins are usually in the design, not in a setting. A product card that shows ten fields, three badges and a hover image costs more to render than one that shows a title, a price and a button, and it repeats for every card on the page. Limit the products per page to what a visitor will scroll, keep category pages paginated, and avoid nesting loops inside product cards unless the data truly demands it. Check image sizes on cards, because a full-size photo scaled down in CSS is the most common waste on a catalogue page. Remember, too, that the AJAX add to cart in loops and the Dynamic fragment in a header mini cart add requests and scripts, so enable them only if the design benefits.

Measure instead of guessing. On a staging copy, use a query inspection plugin to see how many database queries a category page and a product page run, and compare before and after a change. Use field data from real visits when you have it. This guide deliberately gives no timing numbers, because they depend entirely on hosting, plugins and catalogue size.

Page cache rules for store pages

Page cache?Reason
Shop and category pagesYes, purge on product changeSame for everyone, but price and stock change
Single product pagesYes, purge on product changeStock and sale prices must stay accurate
CartNoHolds one visitor session and totals
CheckoutNoHolds addresses, nonces and payment state
My AccountNoShows private orders and details
Order receivedNoShows a single order for one customer
General guidance for most stores; confirm the exclusions in your own caching tool and host.

What goes wrong: symptoms, causes and first checks

Faults in a Bricks store fall into a small number of families, and the quickest route to the cause is to ask which side owns the thing that broke. If the problem is how something looks, it is a Bricks setting, a class or a condition. If it is what happens when a customer clicks, it is WooCommerce, a plugin, a script or the cache. The table below pairs the symptoms you are most likely to meet with the most probable cause and the first thing to check.

Before you change anything, reproduce the fault on staging and use the cheapest diagnostic Bricks offers. The WooCommerce settings tab has a switch that disables the WooCommerce builder and returns the default WooCommerce output. If the fault disappears with the builder off, the cause is in a Bricks template, element or setting. If it remains, the cause is in WooCommerce, a plugin or the theme layer, and you should deactivate plugins one at a time, starting with whatever touches the screen in question. Turn the builder back on afterwards and make sure no half-finished template stays published.

Use the browser console too. A script error on the cart or checkout page often explains a button that does nothing, and a failed request in the network panel shows whether an AJAX call was blocked by a firewall, a cache or an expired nonce. WooCommerce’s own status screens and logs add the server side of the story. When you contact Bricks support or a plugin vendor, send the template type, whether you use the classic or modular workflow, the plugin names and versions, and the exact steps that reproduce the fault. A report like that gets an answer faster than a screenshot of a blank page.

Finally, remember that a fix in a template can fail to appear because of caching. Purge the page cache and any CDN, regenerate Bricks CSS files if you use external CSS, and test in a private window before deciding the change did not work.

Symptoms, causes and first checks

Most likely causeFirst check
A plugin feature is missingThe template never calls the action the plugin usesAdd the matching hook tag in a Basic Text element
No messages after add to cart or a couponThe Notice setting is on but no Notice element is placedPlace one Notice element in that template or page
Custom cart quantity or remove does nothingLoop classes, form wrapper or remove class missingCompare with the documented class list
Checkout field missing or duplicatedA plugin changed fields after the layout was generatedRun field sync and retest
Wrong design on one categoryA more specific template matches, or an exclude removes yoursReview the conditions of every template of that type
Cart looks like the default oneBlock content or the wrong editor mode on the assigned pageCheck the page content and the wizard status
Old price or stock on a listingA page cache or the query loop cache is stalePurge, then retest with the loop cache off
A triage table for the faults most often seen in Bricks and WooCommerce stores.

A launch test plan

A store launch is a test, not an event. Build the plan around the customer paths that earn money and the paths that lose it, and run each on staging, then once more on the live site with a small real order.

Cover these customer states: a guest, a logged-in customer with a saved address, a returning customer who forgot a password, and a visitor with an empty cart. Cover these product types: a simple product, a variable product with swatches and an unavailable combination, an out-of-stock product, a backorder product if you sell any, and a virtual or downloadable product that needs no shipping. Add a coupon, a free shipping threshold if you use one, and at least two shipping zones. Check the tax display in the cart and at checkout against the tax rules you configured in WooCommerce.

Payments deserve their own pass. Complete a real low-value order with every enabled payment method in live mode, then refund it, and confirm the order status, the stock change and the emails. Test a failed payment to see the retry path and the failed-order message, and test the pay link for an unpaid order, since that uses the Pay template rather than the checkout. Order emails are produced by WooCommerce’s email system, so review how they look and read in WooCommerce’s email settings rather than assuming your Bricks styling reaches them.

Then test the edges. Open every account endpoint, including any added by plugins. Request a password reset and follow the link. Try the cart and checkout in a private window to prove the caching exclusions work, and add a product from a category page, a product page and a quick view if you built one. Use a keyboard alone on the archive, product, cart and checkout screens, and check the layouts at phone width and at a wide desktop width. Look at the browser console on each screen for errors.

Finish with a rollback plan. Keep the pre-launch backup, note which templates were changed, and decide in advance who can switch the WooCommerce builder off if a checkout fault appears on launch day. The most valuable output of the plan is a short written list of what was tested, because it is the first thing you will want when a customer reports a problem a month later.

From staging build to the first week live

Staging buildTemplates, theme styles and settings are built and each area is marked classic or modular.
Content freezeProducts, attributes, swatch values, shipping and tax are final, so tests are meaningful.
Test ordersEvery product type, customer state and payment method is run through checkout.
Soft launchA real low-value order on the live site, then refund, with caching exclusions confirmed.
First weekWatch order flow, emails and error logs, and keep the rollback plan within reach.
Phases rather than dates, because the length of each depends on the size of the store.

Checklist

  • The shop, cart, checkout and My Account pages exist, are assigned in the WooCommerce settings, and hold the content you intend (no leftover block content).
  • A full backup and a staging copy exist before the Woo Setup Wizard or any bulk template change runs.
  • Each area (shop, product, cart, checkout, account) is recorded as classic or advanced modular, with no half-migrated area.
  • The product archive template renders correctly for the shop, a category, a tag and an attribute archive.
  • Any category-specific template has a condition that wins over the general one, and no two templates overlap by accident.
  • The single product template carries the hook tags for before product, before summary, summary, after summary and after product.
  • Product reviews and Product tabs are not both on the same product page.
  • A variable product is tested for every attribute with swatches, including an unavailable combination, by mouse and keyboard.
  • A Notice element is placed once on every template and page that needs it, and the Notice, Checkout coupon and Checkout login settings match the elements you placed.
  • The cart is tested for quantity change, item removal, a coupon, the empty cart state and the proceed to checkout button.
  • Any custom cart loop has the required classes, the form wrapper and the update cart tag inside the form.
  • Checkout changes are limited to styling and to field changes made through WooCommerce filters, with field sync run after plugin changes in the modular checkout.
  • Every enabled payment method completes a real low-value order and a refund.
  • Thank you, Pay and Order receipt screens are checked with real orders, including a failed payment, and tracking events still fire.
  • Login, registration, lost password, reset password and every My Account endpoint, including plugin-added ones, work with the intended header and footer.
  • Cart, checkout, My Account and order received pages are excluded from page and CDN caches, confirmed in a private window.
  • The CSS loading method and query loop cache choices are made and retested after a price change.
  • Archive, product, cart, checkout and account screens pass a keyboard-only and a phone-width check, and order emails are reviewed in WooCommerce.

About this guide. This is general guidance written by WPresident Editorial from documentation and widely used practice. WPresident has not benchmarked the products or methods described. Interfaces and plan limits change, so check the vendor’s current documentation before you act. Not legal, tax or financial advice. See our editorial policy.

Frequently asked questions

Do I need a WooCommerce-specific theme or add-on if I use Bricks?

No. Bricks is a theme with its own WooCommerce integration, built to design the shop, product, cart, checkout and account screens visually, and the documentation says you do not need to pick a theme during the WooCommerce setup wizard. You still need the free WooCommerce plugin active, since the WooCommerce elements and template types only appear then. Add third-party extensions for things like subscriptions or bookings as usual, and test each against your templates.

Should I use the classic templates or the advanced modular elements?

Stay on the classic templates for a working store unless you have a reason to move. Try the modular Cart, Checkout and Account Page elements on staging for new builds or redesigns, keeping in mind that the vendor calls them experimental at the time of writing. Choose per area, not per site, avoid running both approaches for the same area, and run the Woo Setup Wizard only after a backup. Check the Academy for the current status.

Why does my cart or checkout template have no Conditions panel?

Because WooCommerce decides when those templates render. Cart, empty cart, checkout, pay, thank you, order receipt and the account route templates are triggered by the matching WooCommerce route, so Bricks hides conditions and the populate content preview for them. Only the product archive and single product templates use the normal conditions. If a product template is not showing, the conditions are the first place to look.

How do I give one product category its own layout?

Duplicate your general product archive template, give the copy a condition for that category's archive terms, and redesign it. Bricks uses the most specific matching template, so the category copy wins there while the general one serves everything else. Use the child terms option if sub-categories should inherit the design. For product pages, use a terms condition on a second single product template, and avoid overlapping assignments.

Why did all my WooCommerce notices disappear?

Most likely the Bricks Notice element setting is on. When it is enabled, Bricks removes all native WooCommerce notices and expects you to place the Notice element in each template or page that should show messages. Add one Notice element to the product archive, single product, cart, checkout and account templates. A second element on the same page prints nothing, because WooCommerce clears notices after the first output.

Can I get colour and size swatches without another plugin?

Bricks includes a variation swatches feature in its Add to cart element, switched on in the Bricks WooCommerce settings. You then choose a swatch type, colour, label or image, on each global attribute and set a value for every term, with an optional fallback. Check your Bricks version has it, test unavailable combinations, and verify how custom attributes typed into a single product behave before promising swatches everywhere.

A plugin's output is missing from my Bricks product page. What now?

The template is probably not calling the WooCommerce action the plugin hooks into. Add the recommended single product hook tags to Basic Text elements, especially the summary one, in the place where the output should appear, and do the same with the loop tags for product cards. Bricks removes some native callbacks when you use these tags, so also check whether the plugin depended on one of them.

Is it safe to customise the checkout heavily?

Styling is safe, field changes are fine when made through WooCommerce filters, and anything beyond that raises risk. Payment gateways, tax and shipping calculations and plugins that add fields were written against WooCommerce's own checkout markup. Keep the order review and payment methods together, change fields at the source instead of hiding them with CSS, and test every gateway with real orders before launch.

Can I keep WooCommerce's block-based cart and checkout?

Not inside the Bricks classic workflow. The documentation tells you to replace the Cart or Checkout block on the assigned page with the cart or checkout shortcode, or a Shortcode element in Bricks, and the modular workflow is also incompatible with block content on those pages. The Woo Setup Wizard can replace the block content for you, which is another reason to back up first.

How do I show the header and footer on My Account pages?

Account endpoints are routes on the one assigned My Account page, so the header and footer come from your header and footer templates and their conditions, like any page. If one is missing, check the header or footer template for an exclude condition, and the page's Page Settings for the options that disable the header or footer. A separate light header for checkout is done with a second header template and an individual condition.

Which store pages must never be cached?

The cart, checkout, My Account and order received pages, because they hold one visitor's session, addresses and order. Product and archive pages can be cached if the cache is purged when prices or stock change. Most caching plugins and hosts include WooCommerce rules, but verify the exclusions yourself and test in a private window by adding a product to the cart and checking the page.

What should I test before launching a Bricks store?

Every customer state (guest, logged in, forgotten password), every product type you sell, a coupon, shipping zones, tax display, each payment method with a real low-value order and refund, a failed payment, the pay link for an unpaid order, every account endpoint, keyboard use and phone width, plus the caching exclusions. Keep a written list of what was tested and a rollback plan.

W
Written byWPresident EditorialThe WPresident editorial team. Every article says whether it comes from hands-on use or from documentation, and anything paid for is labelled.

Keep reading

Get the Monthly Launch Report

One email a month: the best of last month's articles, new reviews and what changed in WordPress, without the noise.

No spam. Unsubscribe in one click.

Signed and sealed,
The WPresident
↑↓ move↵ openEsc closeAll results