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));
}
?>