I need to edit /complete page. Is there a way to show items from the current order, and possibly shipping info?
Is there something like:
{{order_entity.getOrderShippingInfo}}
or
{{order_entity.getOrderItems}}
I managed to display ordered items using :
{% for order_item in order_entity.getItems %}
{{ order_item.getQuantity|number_format }} x
{% if order_item.hasPurchasedEntity %}
{{ order_item.getPurchasedEntity|commerce_entity_render('summary') }}
{% else %}
{{- order_item.label -}}
{% endif %}
{{- order_item.getTotalPrice|commerce_price_format -}}
{% endfor %}
Though I still can't get the order Billing or Shipping info.