- 🇺🇸United States seanr
Same problem as #5 in
commerce-order.html.twig
. I was able to getorder_entity.getOrderNumber
to work, though, so if anything, this should be documented in the twig file comments.In commerce_order.module, perhaps the order number needs to be explicitly added to the variables array in
template_preprocess_commerce_order
? - 🇮🇱Israel jsacksick
{{ order.order_number }}
should work if it's configured in the view mode. Have you tried that?