А возможен такой вариант с и спользованием хэлперов<?php while ( osc_has_items() ) { ?>
<div class="col-md-12 col-sm-4 col-xs-6">
<div class="product product--list">
<div class="product__img-2">
<?php if(osc_images_enabled_at_items()){ ?>
<a href="<?php echo osc_item_url(); ?>" class="img__wrap">
<?php if( osc_count_item_resources()){ ?><img src="<?php echo osc_resource_thumbnail_url(); ?>" alt="<?php echo osc_esc_html(osc_item_title()); ?>" class="img"/><?php }else{ ?>
<img src="<?php echo osc_current_web_theme_url('img/no_photo.gif'); ?>" class="img" />
<?php } ?>
</a>
<?php } ?>
</div>
<div class="product__content-2">
<div class="content__block">
<div class="product__title">
<a href="<?php echo osc_item_url(); ?>" class="title__text mcolor"><?php echo osc_highlight( osc_item_title() ); ?></a>
</div>
<div class="product__info">
<div class="info__content">
<p class="content__text"><?php echo osc_highlight(osc_item_description(), 140); ?></p>
</div>
<div class="info__block2">
<span><i class="fa fa-clock-o fa-lg mcolor" aria-hidden="true"></i> <?php echo osc_format_date(osc_item_pub_date()); ?></span>
</div>
</div>
</div>
<div class="product__price">
<div class="price__text"><?php if(osc_price_enabled_at_items() && osc_item_category_price_enabled()) {echo osc_item_formated_price(); } ?></div>
</div>
</div></div>
</div><?php } ?>
<?php if(osc_list_total_pages() > 1){?>
<div class="pagination">
<?php echo osc_pagination_items(); ?>
</div>
<?php } ?>