<?php

use yii\helpers\Html;
use yii\web\View;


?>

<?php if(!empty($products)) :?>


<!--            <span style="">--><?//= $title?><!--</span>-->

                <div id="product_main_slider" class="">
                    <?php foreach($products as $product) :?>
                        <?= $this->render('product_smart', [
                            'product' => $product,
                            'class' => $class
                        ]);?>
                    <?php endforeach?>
                </div>





<?php endif?>

