# cart.add:after

> Runs once an item has been added and the cart has been saved.

- Source: `config/hooks.php#L69` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/config/hooks.php#L69>

```php
'wagnerwagner.merx.cart.add:after' => function (Wagnerwagner\Merx\Cart $cart): void {}
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$cart` | `Wagnerwagner\Merx\Cart` | `–` |

## Return type

`void`
