How can I display custom text in the mini cart based on product details?

Hi There,

I am looking for some help with my Mini Cart - I have custom text in the main cart, which is driven by specific title text or vendor name, and I would like this to show in the mini cart?

Current Code is;

{%- render 'icon', icon: 'cart' -%} {{ cart.item_count }}

{%- render ‘icon’, icon: ‘close’ -%}

{{ ‘header.general.cart’ | t }}

{%- if settings.cart_type == 'drawer' and template != 'cart' -%} {%- render 'mini-cart' -%} {%- endif -%}

I need to add;

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

Available for SPECIAL ORDER - Please allow 2-4 weeks for delivery.

{%- else -%}

{%- if product.title contains “PRE ORDER” -%}

Accepting PRE ORDERS - Items will ship on or around the release date.

What is your mini-cart.liquid code?