Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Improve handling to link line items to custom links
issue: NEXT-25438
author: Max
author_email: [email protected]
author_github: @aragon999
---
- Added the possibility to link line items to custom links in
storefront/component/line-item/element/image.html.twig
andstorefront/component/line-item/element/label.html.twig
using the variableslineItemLink
andlineItemModalLink
. - Deprecated boolean variable
productLink
in templatesstorefront/component/line-item/element/image.html.twig
andstorefront/component/line-item/element/label.html.twig
. UselineItemLink
andlineItemModalLink
instead and pass the desired url as string. - Changed selector
[data-toggle="modal"]
to[data-ajax-modal="modal"]
instorefront/component/line-item/element/image.html.twig
andstorefront/component/line-item/element/label.html.twig
to be compatible with Bootstrap 5 AJAX modals for showing items on the confirm page.