My Account Navigation
Build a custom WooCommerce account menu in Bricks. Each (BU)Navigation element creates one link, so you decide which destinations appear, in what order, and with which labels and icons. WooCommerce generates the destination URLs and identifies the current account section.
An endpoint is a destination within the My Account page, such as Orders or Addresses. Adding a navigation link does not create that endpoint, build its content, or change who can access it.
Enable and Build the Menu
- Confirm WooCommerce has a My account page assigned under WooCommerce → Settings → Advanced. Open that page as a signed-in customer and make sure its standard destinations work before customizing the menu.
- Go to Bricks → BricksUltimate → Woo Elements, enable My Account Navigation, and save.
- Open the Bricks layout that renders your My Account area. Add a wrapper for the menu alongside or above the account content. For a shared layout, put the menu in a section that stays available when the customer switches account sections.
- Search for (BU)Navigation in the Bricks editor. Add one instance per destination and use Endpoint to choose the destination. Start with Dashboard, Orders, Addresses, Account details, and Log out, then add the sections your store needs.
- Arrange the links in the Bricks structure panel. On desktop, a vertical sidebar works well; on mobile, try a wrapping row or a stacked menu above the account content. Test that the navigation stays available when opening an order or editing an address.
Choose the Right Destination
- Dashboard: Links to the assigned My Account page itself.
- Orders, Downloads, Addresses, Payment methods, and Account details: Select the relevant items from the WooCommerce account menu. The choices can vary with store settings, payment gateways, and extensions. For instance, use Orders for order history rather than hard-coding a URL for an individual order.
- Log out: Select the WooCommerce logout destination. The generated URL includes the security token WooCommerce expects, so use the element rather than copying a logout URL from another session.
- Lost password: The element adds this destination to the picker even though it is not normally part of the signed-in account menu. Use it near a login form if you need a separate password-recovery link.
Labels, Icons, and Active States
- Label: Leave it unset to use the WooCommerce menu label, or enter your own text. Changing the label does not change the endpoint or URL.
- Aria label: Add a descriptive accessible name when more context helps, such as View your orders. Keep visible labels clear and make keyboard focus easy to see.
- Icon: Choose an icon, set its size and colors, then place it to the left, right, or above the label. Use the gap and axis alignment controls to keep items aligned.
- Hover: Set the hover background, text color, border, and shadow. Hover is a pointer state, not an indication of the current page.
- Active: Style the current destination separately with its background, text color, border, and shadow. The element uses WooCommerce's active class. For example, Orders can stay highlighted while viewing an individual order.
Use the wrapper to control menu layout and link spacing. Set its HTML tag to nav and give it an accessible name such as My account if the layout does not already have a navigation landmark.
Replace the Default WooCommerce Links
Keep the default links until you have tested the replacement menu. For the standard WooCommerce account layout, go to Bricks → BricksUltimate → Misc → My Account Page and enable Disable navigation links. This removes the default navigation output; the account content and endpoints still need to be rendered by your layout. Turn the setting off to restore the default links if needed.
If you use Bricks Account v2, check the v2 element's own Disable navigation setting for its built-in menu. Keep the native account states and forms in place. Test your custom links across the states you use rather than assuming the classic WooCommerce setting controls the v2 menu.
Link to a Custom Endpoint
- Under BricksUltimate → Misc → My Account Page, enable Creates custom endpoints and save. The Custom Endpoints tab will appear.
- In Custom Endpoints, add a title such as Rewards and a unique slug such as
rewards. Keep Page set to My Account. Leave the default Mask unless your site requires a different rewrite scope. Avoid slugs already used by WooCommerce or another extension. - Go to Settings → Permalinks and click Save Changes to refresh rewrite rules.
- Under Bricks → Templates → Add New, select the generated template type for the endpoint, for example WooCommerce - Account - Rewards. Design the content and publish the template.
- Reopen the account layout, add another (BU)Navigation element, and choose Rewards in the Endpoint picker. Test the link and its content as a signed-in customer.
If Back In Stock is active and Stock Alerts is available in the picker, select it directly. Back In Stock registers its own account endpoint, so do not create a second endpoint with the stock-alerts slug.
Test and Troubleshoot
- The link is missing or blank: Check that My Account Navigation is enabled, then select a valid Endpoint. If an extension supplied the destination, check that it is still active and exposes the item to the WooCommerce account menu.
- A custom endpoint gives a 404: Check the slug for conflicts and resave permalinks. If the URL opens but the content area is empty, check that the matching Bricks endpoint template is published.
- Two menus appear: Identify whether the extra menu comes from the classic WooCommerce layout or from Bricks Account v2, then disable that menu only after checking the replacement.
- The active styling is missing: Open the actual account destination as a customer and check its Active settings. The editor preview or a regular page with no current account endpoint may not show the same state.
- Links work for an admin but not for customers: Test with a real customer account and in a signed-out browser. Keep personalized account pages out of shared page caches and let WooCommerce handle login, password recovery, and access to order details.