# How do I add a bulk action to an existing resource list?

```php
\Aero\Admin\BulkAction::create(
  \Aero\Admin\BulkActions\DeleteProductsBulkAction::class, 
  \Aero\Admin\ResourceLists\ProductsResourceList::class
)
->title('Delete products')
->permissions('products.delete')
->confirm();
```

<p class="callout info">See [here](https://support.aerocommerce.com/books/admin/page/how-do-i-create-a-custom-bulk-action) for how to create a custom bulk action.</p>

---

### Methods

<table border="1" id="bkmrk-method-description-n" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50.0596%;"></col><col style="width: 50.0596%;"></col></colgroup><tbody><tr><td>**Method**</td><td>**Description**</td></tr><tr><td>`notRunnable()`  
</td><td>Removes the `run` button from the bulk action, intention being you replace this with a custom button.</td></tr><tr><td>`wideContent()`  
</td><td>Displays bulk action view in a wider container.</td></tr><tr><td>`confirm()`  
</td><td>Prompts the user to confirm running the bulk action.</td></tr><tr><td>`confirmTitle(string $title)`  
</td><td>Sets the title of the confirmation popup. Default is "Are you sure?</td></tr><tr><td>`confirmText(string $text)`  
</td><td>Sets text in the confirmation popup. Default is no text.</td></tr><tr><td>`confirmButtonText(string $text)`  
</td><td>Sets the confirmation popup confirm button text. Default is "Yes".</td></tr><tr><td>`title(string $title)`  
</td><td>Sets the title of the bulk action.</td></tr><tr><td>`processingText(string $text)`  
</td><td>Sets the processing text (shown when a bulk action is queued). Default is `__('Bulk action is being processed')`.</td></tr><tr><td>`successText(string $text)`  
</td><td>Sets the success text (shown when a bulk action is ran). Default is `__('Bulk action has been processed')`.</td></tr><tr><td>`view(string $view)`  
</td><td>Sets a view for the bulk action to redirect to when ran. Allows options to be provided that are required for the bulk action to run.</td></tr><tr><td>`group(string $group)`  
</td><td>Sets the group of the bulk action, used when they're displayed to order them.</td></tr></tbody></table>