View Issue Details

IDProjectCategoryView StatusLast Update
0007418OXID eShop (all versions)8. --- Twig engine ---public2023-03-28 14:48
ReporterHR Assigned To 
Status resolvedResolutionfixed 
Product Version7.0.0-rc.2 
Fixed in Version7.0.0 
Summary0007418: Cannot extend dynamically included templates in twig
DescriptionA twig template which was included with include_dynamic cannot be extended as expected.
Steps To ReproduceIn twig/tpl/widget/header/minibasket.html.twig we have {% include_dynamic "widget/minibasket/minibasket.html.twig" %}.
Extending {% block widget_minibasket_total %} is not possible.
When changing the header template to include the minibasket.html.twig
'normally', like {% include "widget/minibasket/minibasket.html.twig" %} the extension works as expected.
Additional InformationLots of payment modules usually add their buttons in minibasket between the list and the original buttons.
In 6.5 with smarty this is working.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined


There are no notes attached to this issue.