Search documentation

Search by feature, element, or question.

Saved Items (BU)

Repeat a custom Bricks layout for the current visitor's saved cart configurations. This provider returns a distinct saved-record object carrying product/variation details, saved quantity, dates, reference prices and approved configuration. It is not a public WooCommerce product query.

Activation: enable Save for Later in BricksUltimate > MISC and save. Choose Saved Items (BU) directly under query Type. It does not require selecting Ultimate Woo Query Builder or a Woo query subtype. See the complete feature guide for storage, cart buttons and account setup.

Build a Custom Saved-Items Card


  1. Create a published reusable Bricks template for your list content.
  2. Add an outer Container for the list heading/layout, then an inner Container, Block or Div for one card.
  3. Enable Use query loop on the inner element and select Saved Items (BU).
  4. Set Saved items per page, date order, sort and filter. Do not enter a customer ID; ownership is resolved server-side.
  5. Inside the repeated card, use Saved Items - BU dynamic tags for product name, image, quantity, variation/configuration, prices and dates.
  6. Add (BU) Move to Cart and (BU) Remove Saved Item. Leave their targets empty so they use this record and its current revision.
  7. On the destination page, add (BU) Saved Items, choose Custom Bricks template, then select the published template.
  8. Test real guest and account records outside the editor, including more records than the chosen page size.

For a query built directly in a page/account layout, put the private region in an appropriate Bricks WooCommerce Dynamic Fragment. Saved-item query/tag/action descendants can be detected as dependencies for coordinated refreshes. Keep page headings outside the repeated card.

Provider Controls


ControlBehavior
Saved items per pageDefault 12; server bounded to 1–500. Use a modest page size. This is separate from the ready-made Saved Items element's 1–50 setting.
Saved date orderDESC shows newest first; ASC shows oldest first. Used when no explicit sort is selected.
Sort saved itemsNewest, oldest, name A–Z/Z–A, current unit-price estimate low–high/high–low, or highest quantity. Unknown prices sort after known ones.
Filter saved itemsAll, available, unavailable, configured, needs review or price changed. A noncomparable historical price is not treated as changed.

Filtering/sorting happen before pagination across the owned records. The query exposes page-count metadata, but does not manufacture a search form, quantity editor, bulk-action toolbar or pagination controls. Configure compatible Bricks pagination and test its target/page behavior in your layout, or choose the ready-made list when you need its complete paging UI. Current page can come from the query's paged settings/context.

Saved Record Versus Product Identity


A customer can save the same product twice with different variations or add-on choices. Use {bu_saved_id} for the saved record and {bu_saved_revision} for a custom action's revision. Use {bu_saved_product_id} for the parent/simple product and {bu_saved_variation_id} for the selected variation.

The loop object can expose product identity to the builder, but that product ID is not the saved-record action target. Prefer the dedicated saved tags rather than assuming standard post/product tags describe the private configuration. Move/Remove elements already resolve the current saved record, so a manual target is normally unnecessary.

Recommended Card Fields


Card contentTag or element
Title and product link{bu_saved_name} and {bu_saved_url}
Product image{bu_saved_image} in an image-compatible dynamic context; it returns image HTML in text context.
Saved quantity{bu_saved_quantity}; displaying this tag does not create an editable quantity control.
Variation / options{bu_saved_variation} / {bu_saved_configuration}
Current / historical amount{bu_saved_current_price} / {bu_saved_saved_price}; configured current prices may be base-only.
Stock / review reason{bu_saved_availability} / {bu_saved_review_reason}
Price-change message{bu_saved_price_change_label}, displayed conditionally when prices are comparable and changed.
ActionsMove to Cart and Remove Saved Item elements, placed inside this loop.

All Saved Items tags and output formats. Values such as formatted date/price text are for display; numeric price values are not a checkout pricing authority.

Useful Conditions


In the Saved Items - BU condition group, combine Product is available = true with Configuration integration requires review = false for a custom restore-ready section. The real Move to Cart element/server still validates the operation.

Show a corrective link/message when review is required; show an unavailable label when available is false. Use Prices are comparable = true and Price changed = true for a change badge, then use the direction tag for its text/style. Configuration required means options exist, not necessarily that they are invalid.

All six saved-item conditions and cache-safe recipes.

Private Rendering and Dynamic Refresh


The provider is always owner-scoped. It has no public All customers or user-ID selector. A signed guest browser identity can access its own server records; an authenticated account can access its own account list. A query is not a mechanism for enumerating another customer's saved configuration.

Ordinary public page/CSS passes do not render private records. A custom query on a cacheable static page can therefore be empty until it is rendered through the Saved Items custom-template response or a supported private Dynamic Fragment. Do not disable this boundary or embed raw snapshot JSON in public HTML to force results.

Keep the enclosing fetch-capable wrapper mounted even when it has no public rows. An empty-list condition that removes that wrapper before private loading can prevent the list ever appearing. Use the Saved Items element's Hide when empty or evaluate custom conditions inside the private region.

Save/restore, quantity edits, removals, Wishlist actions and undo can refresh registered saved-item queries and counters. Static unregistered custom loops do not automatically become AJAX layouts. Arbitrary third-party caches and fragment lifecycles still require staging tests.

Builder Preview


Authorized Bricks editor contexts use up to five latest-product sample records without reading another customer's private list. Demo IDs may be negative and action controls are disabled. A builder-only sample price change is not a storefront claim. A guest URL parameter does not grant editor preview access.

Scope and Troubleshooting


  • Provider missing: enable Save for Later in MISC, save and reopen Bricks. This is a dedicated query type.
  • Loop empty on the frontend: verify the same visitor has saved records and the region uses supported private rendering. A product added to Wishlist is not automatically a saved cart configuration.
  • Wrong action target: remove an explicit product-ID target and use the current saved record. Two configurations can share a product ID.
  • Restore disabled: check stock, quantity and review reasons; do not bypass server validation.
  • Counter differs from filtered rows: expected. The list-wide count includes all owned records, not just current filter matches.
  • Paging repeats/stales: verify the query's paged context, pagination target, private fragment and cache exclusions with more records than one page.
  • Need ready-made management tools: use Product grid/Compact list in Saved Items instead of expecting custom-template mode to inject them.

Test with two customers and a guest, normal/empty lists, multiple configurations, multiple pages and both desktop/mobile. A successful editor sample does not certify a live private endpoint or integration.