Hi All.
I have been on a mission to get my brand logo’s to load on my product pages (the images are saved in my ‘files’ as the brandname.png - I can get the image to load, but I am getting a {{VENDOR_LINK}} message before image - I would like to get rid of this. Any ideas?
The theme is Superstore version 4.0.1
Here is the code I am using in the product.liquid
{% if settings.product_show_vendor and product.vendor != blank or onboarding %}
{% unless onboarding %}
{%- capture vendor_link -%}
{{ product.vendor | link_to_vendor }}
{%- endcapture -%}
{% comment %}{{ 'product.general.by_vendor_html' | t: vendor_link: vendor_link }}{% endcomment %}
{% unless product.vendor == 'vendor-unknown' or product.vendor == blank %}
{% endunless %}
{% else %}
{{ 'onboarding.product.by_vendor' | t }}
{% endunless %}
{% endif %}
{{ 'product.general.by_vendor_html' | t}}:
{% when ‘text’ %}
{{ block.settings.text }}
{% when ‘vendor’ %}
{% if product.vendor != blank or onboarding %}
{% unless onboarding %}
{%- capture vendor_link -%}
{{ product.vendor | link_to_vendor }}
{%- endcapture -%}
{{ 'product.general.by_vendor_html' | t: vendor_link: vendor_link }}
{% else %}
{{ 'onboarding.product.by_vendor' | t }}
{% endunless %}
{% endif %}
