I want to hide the buy button when I see multiple vendors for an item in my cart

Hi @Anonymous_4d9e7ed625bfa1bbc1782320693c1e6d ,

Please add code like this:

{%- assign check = 1 -%}
{%- assign vendor = ‘’ -%}
{%- for item in cart.items -%}
{%- if vendor != item.vendor -%}
{%- assign vendors = item.vendor -%}
{%- assign check = check | plus : 1 -%}
{%- endif -%}
{%- endfor -%}
{%- if check > 2 -%}

{%- endif -%}

Hope it helps!

If my answer can help you solve your issue, please mark it as a solution. Thank you and good luck