                    <div class="card prod hvr-shadow" style="margin-bottom: 10px;">
                                {%set filename_ = ''%}
                                {%if product.resources%}
                                {%set filename_ = product.resources[0].filename%}
                                {%set img_url = url_for('resource.product_image', filename=filename_) %}
                                {%else%}
                                {%set img_url = url_for('resource.product_image', filena