This is the code required to complete this tutorial

 

{% if section.settings.display_vendor %}

{% capture my_collection_handle %} {{ product.vendor | handleize | strip | escape }} {% endcapture %}
{% assign my_collection_handle_stripped = my_collection_handle | strip | escape %}

{% for collection in collections %}
{% if my_collection_handle_stripped == collection.handle %}
{% assign producer_image = collection.image %}
{% assign producer_description = collection.description %}
{% assign its_a_match = true %}
{% endif %}
{% endfor %}

{% if its_a_match %}
<table> <TR><TD width=200px>
<a href="/collections/{{ my_collection_handle_stripped | handleize }}"><img src="{{ producer_image | img_url: 'medium' }}" /> </a>



</TD><td>
<div><h6>Meet the Maker : <a href="/collections/{{ my_collection_handle_stripped | handleize }}">{{ product.vendor }}</a></h6>
{{ producer_description | strip_html | truncatewords: 25 }} <a href="/collections/{{ my_collection_handle_stripped | handleize }}">read more</a>

</div>
</td></TR></table>
{% else %}
<div><h6>More from This Maker : <span itemprop="brand" class="vendor">{{ product.vendor | link_to_vendor }}</span></h6></div>
{% endif %}

{% endif %}

Leave a comment (all fields required)

Comments will be approved before showing up.