View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007418 | OXID eShop (all versions) | 8. --- Twig engine --- | public | 2023-02-15 15:27 | 2023-03-28 14:48 |
Reporter | HR | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 7.0.0-rc.2 | ||||
Fixed in Version | 7.0.0 | ||||
Summary | 0007418: Cannot extend dynamically included templates in twig | ||||
Description | A twig template which was included with include_dynamic cannot be extended as expected. | ||||
Steps To Reproduce | In 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 Information | Lots of payment modules usually add their buttons in minibasket between the list and the original buttons. In 6.5 with smarty this is working. | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||