How can I display unfulfilled items text only when items are missing?

How can I display unfulfilled items text only when items are missing?

Djurmamman
Explorer
63 4 11

How do i make missing line item text only display when unfulfilled items? I don't want it to display when removed items on order.

 

{% unless includes_all_line_items_in_order %}
    <hr class="subdued-separator">
    <p class="missing-line-items-text ">
      Unfulfilled items text.</p>
{% endunless %}

 

 

 

Reply 1 (1)

jmliberty
Shopify Partner
3 0 0

I would just comment it out, like this: 

{% comment %}
{% unless includes_all_line_items_in_order %}
    <hr class="subdued-separator">
    <p class="missing-line-items-text ">
      Unfulfilled items text.</p>
{% endunless %}
{% endcomment %}