get('seo'); $filterHelper = \Yii::$app->get('filter'); $view = $this; $this->params[ 'breadcrumbs' ][] = $seo->title; ?>
productOptionGroupCompls as $group) { ?> productOptionGroupExcls as $group) { ?> variantOptionGroupCompls as $group) { ?> variantOptionGroupExcls as $group) { ?>

getGroupFilters(); if (isset($filters[ 'prices' ])) { $currentMin = $filters[ 'prices' ][ 0 ]; $currentMax = $filters[ 'prices' ][ 1 ]; } else { $currentMin = $priceMin; $currentMax = $priceMax; } echo Html::textInput( 'price_interval', '', [ 'id' => 'price_interval', 'data' => [ 'pricemin' => $priceMin, 'pricemax' => $priceMax, 'currentMin' => $currentMin, 'currentMax' => $currentMax, ], ] ); ?>
-

:

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', ] ); ?>