Cannot render collection products by tag

Highlighted
New Member
1 0 0

I am having some real issues with rendering my products on the front end - I am trying to sort them by tags and I have gone through all the product tags and the navigation links to ensure everything lines up but I am still getting no matches. This is build within the debut theme

I am completely stuck, does anyone have any suggestions?

 

{% for product in collection.products %}
    <div class="span-4">
      <a class="image_wrap {% unless product.available %}sold-out{% endunless %}" href="{{ product.url | within: collection }}">
          <img src="{{ product.featured_image.src | img_url: 'large' }}" alt="{{ product.featured_image.alt | escape }}">
      </a>
      <div class="product_details">
        <p class="h3"><a href="{{ product.url | within: collection }}">{{ product.title }}</a></p>
        {% if product.available %}<p class="h3">{{ product.price | money }}</p>{% endif %}
      {% unless product.available %}<p>sold out</p>{% endunless %}
      </div>
    </div>
  {% else %}
  <div class="page-wrap d-1-13">
   <p>no matches</p>
  </div>
{% endfor %}

 

0 Likes