# Bundles

<figure><img src="/files/BgAsRov3Vgeir8UkOcdA" alt=""><figcaption></figcaption></figure>

## Overview

A product bundle block that lists bundle items from a metafield and allows adding all selected variants to cart at once. Displays bundle products using the c\_\_bundle-item snippet and integrates with the theme's cart functionality to add multiple line items simultaneously.

## Common use cases

* Configure product bundles using the custom.product\_bundle metafield (list of products)
* Use gap size settings to control spacing between bundle items based on your design needs
* Configure button colors to match your theme's design system
* Set appropriate padding based on the container context where the bundle block is displayed
* Test bundle functionality with products that have variants to ensure proper selection flow

## Block settings

### General

| Setting                | Description                 | Options                   |
| ---------------------- | --------------------------- | ------------------------- |
| Show advanced settings | Reveals visibility settings | Checkbox (default: false) |

### Content

| Setting | Description                              | Options        |
| ------- | ---------------------------------------- | -------------- |
| Product | Select the product to display bundle for | Product picker |

### Spacing

| Setting                   | Description                               | Options                                                                      |
| ------------------------- | ----------------------------------------- | ---------------------------------------------------------------------------- |
| Enable horizontal padding | Adds horizontal padding around the bundle | Checkbox (default: false)                                                    |
| Enable top padding        | Adds top padding around the bundle        | Checkbox (default: false)                                                    |
| Enable bottom padding     | Adds bottom padding around the bundle     | Checkbox (default: false)                                                    |
| Gap size                  | Controls spacing between bundle items     | <p>• None<br>• Default (default)<br>• XS<br>• SM<br>• MD<br>• LG<br>• XL</p> |

### Color

| Setting               | Description                                           | Options                                                                                                                                                   |
| --------------------- | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Disabled button color | Color scheme for the disabled "Choose Options" button | <p>• Primary<br>• Secondary<br>• Tertiary<br>• Neutral<br>• Plain (default)<br>• Outline<br>• Inverted outline<br>• Blur<br>• Link<br>• Inverted link</p> |
| Main button color     | Color scheme for the active "Add to Cart" button      | <p>• Primary (default)<br>• Secondary<br>• Tertiary<br>• Neutral<br>• Plain<br>• Outline<br>• Inverted outline<br>• Blur<br>• Link<br>• Inverted link</p> |

### Display

| Setting    | Description                        | Options                                                                                                                            |
| ---------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Visibility | Controls when the block is visible | <p>• All (default)<br>• Mobile only<br>• Desktop only</p><p><br><br>Visible when <strong>Show advanced settings</strong> is on</p> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.brickspacelab.com/slab/content/blocks/products/bundles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
