---
title: "Feature: #593 - Add event to assign own data to moduleTemplate"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:feature-593-add-event-to-assign-own-data-to-moduletemplate@12.1"
source: "Changelog/9.1/Feature-593-AddEventToAssignOwnDataToModuleTemplate.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Feature: #593 - Add event to assign own data to moduleTemplate {#feature-593-add-event-to-assign-own-data-to-moduletemplate}

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

## Description {#description}

Adding your own data to module templates is not so easy. In order to assign
own data to the moduleTemplate, you need a way to assign your own data if you
do not want to develop your own backend module.

The `ExtcodeCartEventTemplateComponentsModifyModuleTemplateEvent` event
is dispached in the OrderController for the backend module.

An own EventListener can use the methods `getRequest()`, `getSettings()`,
`getModuleTemplate()` to retrieve all the necessary information to assign custom
data.
The request object can be used to assign data for specific actions.

## Impact {#impact}

No impact is expected.
