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 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}}
FrankDesign
On
Thanks for the code you supplied - it got me started. I found the shipping information. It's added as an 'adjustment' in the order_entity. To display the shipping amount, the code is
{{- order_entity.getAdjustments(['shipping']).0.getAmount|commerce_price_format -}}
Also, if you need the subtotal, the code is
{{- order_entity.getSubtotalPrice|commerce_price_format -}}
Copyright © 2021 Jogjafile Inc.
I managed to display ordered items using :
Though I still can't get the order Billing or Shipping info.