> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uselayers.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage blocks in bulk

> Publish, unpublish, duplicate, or delete multiple recommendation blocks at once from the Blocks list using bulk select, filters, and the table toolbar actions.

The **Recommendation Blocks** list supports multi-select so you can publish, pause, duplicate, or remove many blocks in a single action — useful for campaign launches, seasonal swaps, and end-of-sale cleanup. You can also toggle a single block's status from its row actions menu without entering selection mode.

## Toggle status from the row actions

1. Go to **Recommendation Blocks**.
2. Find the block you want to publish or unpublish.
3. Click the actions menu on its row.
4. Select **Publish** if the block is currently a draft, or **Unpublish** if it is currently active.

The change applies immediately and the status badge updates.

## Steps

1. Go to **Recommendation Blocks**.
2. Click **Select** in the actions column header to enter selection mode.
3. Tick the checkbox on each block you want to act on. To select a range, click the first checkbox, then hold **Shift** and click the last one — every row in between is selected automatically.
4. (Optional) Open the **selected** dropdown next to the row count and click **Select all results** to extend your selection to every block that matches the current search and filters, including blocks on other pages. If no filters are active, the option becomes **Select all in this store** and selects every block your store has.
5. Open the **Actions** dropdown and select one of the following:
   * **Publish** — Activates every selected draft block so it starts returning results.
   * **Unpublish** — Moves selected active blocks back to draft. Configuration is preserved and the block can be republished at any time.
   * **Duplicate** — Creates a draft copy of each selected block named `<title> (Copy)`. Duplicates always start as drafts.
   * **Delete** — Permanently removes the selected blocks. A confirmation dialog appears before the deletion runs.
6. When you're done, click **Actions** → **Done selecting** to exit selection mode.

## Selection scope

The dropdown next to the selection count shows how many blocks are currently selected and lets you switch between two scopes:

* **Page selection** (default) — Only the rows you ticked are included. The count matches the number of checked checkboxes.
* **All results** — Every block matching your current search, filters, and sort is included, even rows on other pages. The count shows the full filtered total.

To narrow an **All results** selection, click **Unselect all** from the same dropdown and re-tick individual rows.

## Background processing for large selections

When you run an action against **All results**, Layers queues the work in the background instead of processing it inline. You'll see a confirmation message such as **"Block update queued"** and the list refreshes once the action finishes.

This keeps the dashboard responsive when you act on thousands of blocks at once. You can continue working while the job runs.

<Tip>
  Use **Shift+click** to flip a long range of blocks between published and draft for a campaign — for example, unpublishing every clearance block when a sale ends.
</Tip>

<Tip>
  Combine filters with **Select all results** to act on a precise slice of your library — for example, filter by status **Active** and tag **Seasonal**, then unpublish the entire match in one click.
</Tip>

<Warning>
  **Delete** is permanent. If you only want to pause a block, use **Unpublish** instead so you can republish later without rebuilding the configuration.
</Warning>

## Troubleshooting

* **The queued action hasn't finished.** Background jobs process in the order they're received. Refresh the page after a minute or two; very large selections (tens of thousands of rows) can take longer.
* **My filters disappeared after the action ran.** The **Blocks** list always returns to its default view once a queued action completes. Re-apply your filters from the toolbar to continue.
* **The "Select all results" option isn't visible.** It only appears when at least one row is checked and there are more matching rows than fit on the current page.

## Next steps

* [View block performance](/help/blocks/view-performance)
* [Blocks overview](/platform/blocks)
