vendor\fancyecommerce\fecshop\app\appfront\theme\base\front\cms\home\index.php
<?php
/**
* FecShop file.
*
* @link http://www.fecshop.com/
* @copyright Copyright (c) 2016 FecShop Software LLC
* @license http://www.fecshop.com/license/
*/
?>
<div class="main container">
<?= Yii::$service->cms->staticblock->getStoreContentByIdentify('home-big-img','appfront') ?>
<div class="mt10">
<h4 class="sectionBox_h best_seller"><span><?= Yii::$service->page->translate->__('best seller'); ?></span><em><a href=""><?= Yii::$service->page->translate->__('more'); ?></a></em></h4>
<div class="pro-content">
<?php
$parentThis['products'] = $bestSellerProducts;
$parentThis['name'] = 'best-seller';
$config = [
'view' => 'cms/home/index/product.php',
];
echo Yii::$service->page->widget->renderContent('category_product_price',$config,$parentThis);
?>
</div>
</div>
<div class="clear"></div>
<div class="mt10" style="margin-top:34px;">
<h4 class="sectionBox_h featured"><span><?= Yii::$service->page->translate->__('featured products'); ?></span><em><a href=""><?= Yii::$service->page->translate->__('more'); ?></a></em></h4>
<div class="pro-content">
<?php
$parentThis['products'] = $bestFeaturedProducts;
$parentThis['name'] = 'featured';
$config = [
'view' => 'cms/home/index/product.php',
];
echo Yii::$service->page->widget->renderContent('category_product_price',$config,$parentThis);
?>
</div>
</div>
</div>