A shopify liquid question:
If no vendor is available, then shopify adds the shop name as the default vendor. I'd like those instances to be blank.
I'm trying to create an if statement which hides the vendor if there is no vendor or if it equals the default vendor name.
Here's what I've come up with so far and I'm now stuck
<div class="prod-caption">{% if product.vendor == 'test' %} {% else %} {{ product.vendor }} {% endif %} {{ product.title }}</div>
I want to do this on the product page as well as in the product grid item snippet
Can anyone help?