How Can i add customer's phone number and email in my invoice of order printer

Hello, I am having trouble to add customer’s phone number and email in my order printer invoice but im unable to add, i tried many ways like shipping_address.phone , customer.email but nothing is working.. any other way to both and priduct SKU in item details..?

here is my code:




{{ "now" | date: "%m/%d/%y" }}
Invoice for {{ order_name }}




{% if billing_address %}

Billing Details

{{ billing_address.name }}
{{ customer.phone }}
{{ billing_address.company }}
{{ billing_address | format_address }}
{{ customer.email }}

{% endif %}

Item Details

{% if show_line_item_taxes %} {% endif %} {% for line_item in line_items %} {% if show_line_item_taxes %}

{{ line_item.original_price | money }}
{% endif %}
{{ line_item.price | money }}

{% endfor %}
Quantity ItemTaxesSKU Price
{{ line_item.quantity }} x {{ line_item.title }} {% for tax_line in line_item.tax_lines %} {{ tax_line.price | money }} {{ tax_line.title }}
{% endfor %}
{{ line.variant.sku }}

{% if transactions.size > 1 %}

Transaction Details

{% for transaction in transactions %} {% endfor %}
Type Amount Kind Status
{{ transaction.gateway | payment_method }} {{ transaction.amount | money }} {{ transaction.kind }} {{ transaction.status }}
{% endif %}

Payment Details

{% for discount in discounts %} {% endfor %}

{% if shipping_address %}

{% endif %}
Subtotal price: {{ subtotal_price | money }}
Includes discount "{{ discount.code }}" {{ discount.savings | money }}
Shipping: {{ shipping_price | money }}
Total price: {{ total_price | money }}

{% if note %}

Note

{{ note }}

{% endif %}

If you have any questions, please send an email to {{ shop.email }}

Hey, @Syed_Musavir92 .

Tira here to help.

Thanks for these details and for providing the code you’re working with for your order printer template. I appreciate that you did your own research. This is helpful.

Although I’m not an expert at coding myself, I think you’re on the right track with this. If you’re editing the order printer template, then our design team might be able to help you with customizing your template, as this is an App made by Shopify. If you’re using a Basic plan or higher, you receive 60 minutes of complimentary design time for your store. Check out our Design Policy to learn more about receiving design support for your store.

I’ve asked our design team if this is a customization they can help you with and this is something we can look into for you.

It looks like we’ll need to access your account in order to resolve this issue. While we’re not able to provide account-specific support via the Shopify Community at this time, we’d be happy to continue assisting you through live chat, email, or callback. Please visit https://bit.ly/3cJkx8V and log in to your account to create a support request. Once you create a support request, please copy and paste the URL of this thread into your request so that you can have a summary available for the next agent to be aware of and so that we can help you with your order printer template.

Since this is the next step I’ve marked this reply as the solution for the benefit of others who may discover this topic. Thanks!