---
title: "Breaking: #452 - Remove Hooks"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:breaking-452-remove-hooks@12.1"
source: "Changelog/9.0/Breaking-452-RemoveHooks.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Breaking: #452 - Remove Hooks {#breaking-452-remove-hooks}

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

## Description {#description}

The `changeVariantDiscount` Hooks have been removed. Cart will not provide
a replacement.

## Affected Installations {#affected-installations}

All installations that used the hooks to programmatically adjust the behavior
of the extension are affected.

## Migration {#migration}

Override the `BeVariant` class by implementing the `BeVariantInterface`.
