# XWUIProductBundleBuilder

A "frequently bought together" bundle picker: the main product plus a checklist of add-on products; selecting any add-on applies `config.bundleDiscountPercent` off the combined total. A running subtotal / discount / total summary and an "Add bundle to cart" button (label includes the item count) sit below the checklist.

## Events

| Event | Callback | Subscriber | `detail` |
|---|---|---|---|
| `xwui-product-bundle-builder:add-bundle` | `onAddBundle` | `onAddBundle(handler)` | `{ productIds, total }` |

## Usage

```ts
import { XWUIProductBundleBuilder } from '@exonware/xwui/industry';

const builder = new XWUIProductBundleBuilder(host, {
  mainProduct: { id: 'p1', name: 'Mirrorless Camera Body', price: 899 },
  addOns: [{ id: 'p2', name: '50mm f/1.8 Lens', price: 199, selected: true }],
});

builder.onAddBundle(({ productIds, total }) => cart.addMany(productIds, total));
```

```api
```
