From 9d0ce9e298dc280134e29ef7e235ba8934ac0e3f Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 22 Feb 2017 16:01:13 +0200 Subject: [PATCH] -After merge --- frontend/views/catalog/product.php | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 20ef4f1..e82ea59 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -494,15 +494,18 @@ Бренд - brand) ? Html::a($product->brand->name, [ - 'catalog/category', - 'category' => $category, - 'filters' => [ - 'brands' => [ - $product->brand->alias - ] - ] - ]) : '' ?> + brand) ? Html::a($product->brand->name, [ +// 'catalog/category', +// 'category' => $category, +// 'filters' => [ +// 'brands' => [ +// $product->brand->alias +// ] +// ] +// ]) : ''; + echo $product->brand->name; + ?> getActiveProperties($category->category_id) as $group) { ?> @@ -511,20 +514,20 @@ _options as $option) { - if ($group->is_filter) { - echo Html::a(' ' . $option->ValueRenderHTML, - [ - 'catalog/category', - 'category' => $category, - 'filters' => [ - $group->alias => [ - $option->alias - ] - ] - ]); - } else { +// if ($group->is_filter) { +// echo Html::a(' ' . $option->ValueRenderHTML, +// [ +// 'catalog/category', +// 'category' => $category, +// 'filters' => [ +// $group->alias => [ +// $option->alias +// ] +// ] +// ]); +// } else { echo ' ', $option->ValueRenderHTML; - } +// } } ?> -- libgit2 0.21.4