Help with cart-template.liquid custom coding

My code currently reads;

{%- endunless -%}

{% if line_item.title contains ‘SPECIAL ORDER’ %}

Ships in 2-4 Weeks

{% endif %}
However, I want it to draw from the vendor name to add the message. I have tried this, however had no sucess with it working;

{%- endunless -%}

{%- if product.vendor == “Warehouse” -%}

Ships in 2-4 Weeks

{% endif %}

How do I code it to Vendor details in this instance?

1 Like

@JessTNB

can you please send store urk

What is your recommendation for the code?

Try this code instead of

{%- endunless -%}
              {%- if line_item.vendor == "Warehouse" -%}
              <strong>

Ships in 2-4 Weeks 

</strong>
               {% endif %}
1 Like

Thanks Dan - This was successful!!!