---
title: "Breaking: #480 - Refactored PageTitleViewhelper"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:breaking-480-refactored-pagetitleviewhelper@12.1"
source: "Changelog/9.0/Breaking-480-RefactoredPageTitleViewhelper.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Breaking: #480 - Refactored PageTitleViewhelper {#breaking-480-refactored-pagetitleviewhelper}

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

## Description {#description}

The existing `TitleTagViewHelper` was removed because it stopped working after
TYPO3 v10. The new ViewHelper adds the same functionality but its usage is
different.

## Affected Installations {#affected-installations}

The ViewHelper was not used in EXT:cart itself. But other extensions as e.g.
EXT:cart_products used it. Overwrites and own implementations of templates which
used `<cart:titleTag>` need adaption.

## Migration {#migration}

Migrate the old usage of the ViewHelper as shown below

**e.g. overwrite of EXT:cart_products/Resources/Private/Templates/Product/Show.html**

```html
<!-- OLD IMPLEMENTATION -->
<cart:format.nothing>
    <cart:titleTag>
        <f:format.htmlentitiesDecode>{product.title}</f:format.htmlentitiesDecode>
    </cart:titleTag>
</cart:format.nothing>

<!-- NEW IMPLEMENTATION -->
<cart:titleTag pageTitle="{product.title}" />
```
