Reviews (334)
This new version done not show the mobile number I used all sort of variables available but it is showing blank for mobile number but address is appearing. I am trying with below code, none is showing phone number for the order -
{% if order.shipping_address.phone %}{{ order.shipping_address.phone }}{% endif %}
{% if order.billing_address.phone %}{{ order.billing_address.phone }}{% endif %}
please resolve this issue. It is not working in this new version. In older version it was working and showing mobile number.
Another sample of template code which I tried is below, test it on any store because in preview it shows the dummy phone number but with actual order, it does not show the phone number.
{% if order.shipping_address %}
TO:
{{ order.shipping_address.name }}
{{ order.shipping_address | format_address }}
Mob: {{ order.shipping_address.phone }}
{% endif %}