- Issue created by @marchuk.vitaliy
- πΊπ¦Ukraine marchuk.vitaliy Rivne, UA
After applying the patch, the order bundle template is selected
commerce-order-receipt--entity-print--quote.html.twig
.
We have several types of orders on the site and want to use separate templates for the printable version of the order receipt (/print/pdf/commerce_order/order_id/debug
).
But the default template always uses commerce-order-receipt--entity-print.html.twig
and the template created for the order bundle is never selected.
See screenshot for details:
Template commerce-order-receipt--entity-print--quote.html.twig
created but never used. Same problem for the Default order type, even if the commerce-order-receipt--entity-print--default.html.twig
template is created, the default commerce-order-receipt--entity-print.html.twig
is always used.
Active
2.0
Order
After applying the patch, the order bundle template is selected commerce-order-receipt--entity-print--quote.html.twig
.