diff --git a/common/modules/product/widgets/views/product_smart_similar.php b/common/modules/product/widgets/views/product_smart_similar.php index f979ba2..78dc468 100755 --- a/common/modules/product/widgets/views/product_smart_similar.php +++ b/common/modules/product/widgets/views/product_smart_similar.php @@ -36,8 +36,8 @@ $product->imageUrl, 'list', [ - 'alt' => $product->name, - 'title' => $product->name, + 'alt' => $product->getFullName(), + 'title' => $product->getFullName(), 'class' => 'selected', 'itemprop' => 'image', ] @@ -50,7 +50,7 @@ + ]) ?>" title="fullname ?>"> category->name ?>

fullName ?>

diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 0bc1b3a..556ebb0 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -514,7 +514,7 @@ _options as $option) { - if ($group->is_filter && preg_match("/^.*(стиль|тип\sисточника|тип\sнастенного|тип\sпотолочного|вид).*$/iu", $group->name)) { + if ($group->is_filter && preg_match("/^.*(стиль|тип\sисточника|тип\sнастенного|тип\sпотолочного|вид|тип\sлампочки).*$/iu", $group->name)) { echo Html::a(' ' . $option->ValueRenderHTML, [ 'catalog/category', -- libgit2 0.21.4