How to remove restock product item from shopify invoice?

{% for line_item in line_items %}
{% if line_item.quantity > 0 %}

{{ line_item.quantity }}

{{ line_item.sku }}

{{ line_item.product_title }}

{{ line_item.line_price | money }}

{% endif %}
{% endfor %}

It shows all products in the order even it is removed .

1 Like

I Tried . but still not working