get('seo'); $filterHelper = \Yii::$app->get('filter'); $view = $this; $this->params[ 'breadcrumbs' ][] = $seo->title; ?>
parent_id) || !empty($model->categories)) { ?> getFilter())) { echo ''; } ?> getBrands($model); if (!empty($brands)) { ?> productOptionGroupCompls as $group) { ?> productOptionGroupExcls as $group) { ?> variantOptionGroupCompls as $group) { ?> variantOptionGroupExcls as $group) { ?>

:

sort->attributes)[ 0 ]; $currentSort = \Yii::$app->request->get($dataProvider->sort->sortParam); if (!empty($currentSort)) { if (preg_match('/^-?(\w+)$/', $currentSort, $matches)) { if (array_key_exists($matches[ 1 ], $dataProvider->sort->attributes)) { $currentSortAttribute = $matches[ 1 ]; } } } echo $dataProvider->sort->link( $currentSortAttribute, [ 'label' => Html::tag( 'span', $dataProvider->sort->attributes[ $currentSortAttribute ][ 'label' ] ) . Html::tag( 'i', '', [ 'class' => 'fa fa-angle-down', 'aria-hidden' => true, ] ), ] ); ?>
    sort->attributes as $attribute => $sort) { if ($currentSortAttribute == $attribute) { continue; } echo Html::tag('li', $dataProvider->sort->link($attribute)); } ?>
[ 'class' => 'row products', ], 'itemOptions' => [ 'tag' => false, ], 'layout' => '{items}', 'dataProvider' => $dataProvider, 'itemView' => function ($model) use ($view) { /** * @var Product $model */ return $view->render( '_product_item', [ 'product' => $model, ] ); }, ] ); echo Html::tag( 'div', LinkPager::widget( [ 'pagination' => $dataProvider->pagination, ] ), [ 'class' => 'pages', ] ); ?>