Show products from specific vendor (in template)

Moizo
New Member
4 0 0

I'm building a page template and I want to build a section that shows products from a specific vendor. I have this working code that shows products as long as they are in any collection, which can be used as a base but I can't seem to change it so that it shows products from a specific vendor only:

<div class="container">
    <div class="row pb-60 products-view-centered-xs products-view-centered-sm">
        {%- for product in collections['all'].products limit: 4 -%}
            <div class="col-12 col-sm-6 col-md-4 col-lg-3">
                {% include 'product-collection' %}
            </div>
        {%- endfor -%}
    </div>
</div>  

Thanks for your input!

Reply 1 (1)

Moizo
New Member
4 0 0

Is it okay to bump this up? I have not found a solution for this yet.