---
title: "Feature: #588 - Add event to modify buttons in backend module"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:feature-588-add-event-to-modify-buttons-in-backend-module@12.1"
source: "Changelog/9.1/Feature-588-AddEventToModifyButtonsInBackendModule.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Feature: #588 - Add event to modify buttons in backend module {#feature-588-add-event-to-modify-buttons-in-backend-module}

See [Issue 588](https://github.com/extcode/cart/issues/588)

## Description {#description}

Adding your own buttons to the backend module is not so easy in controllers. In
order to extend or replace the CSV export with an XML export, you need a way to
insert your own buttons if you do not want to develop your own backend module.

The OrderController for the administration in the backend has been extended by
the `ExtcodeCartEventTemplateComponentsModifyButtonBarEvent`. The buttons
in the OrderController have been moved to the
`ExtcodeCartEventListenerTemplateComponentsModifyButtonBar` EventListener,
 which uses this event to decide which buttons should be displayed in which
action based on the request.

Custom buttons can use the methods `getRequest()`, `getSettings()`,
`getSearchArguments()` and in the case of the `showAction` also `getOrderItem()`
to retrieve all the necessary information to insert custom buttons for custom
tasks.

## Impact {#impact}

No impact is expected as only private methods have changed.
