diff --git a/common/modules/product/widgets/views/product_smart.php b/common/modules/product/widgets/views/product_smart.php index 59622f5..ff06f99 100755 --- a/common/modules/product/widgets/views/product_smart.php +++ b/common/modules/product/widgets/views/product_smart.php @@ -43,9 +43,13 @@ 'product' => $product->alias ]) ?>" title="= $product->fullname . ' ' . $product->category->name ?>"> -
= $product->name ?>
-//= $product->fullname ?> -//= $product->category->name ?> += $product->fullName ?>
+ = $product->fullname ?> += $product->category->name ?>
+ */ + ?> diff --git a/common/modules/product/widgets/views/product_smart_similar.php b/common/modules/product/widgets/views/product_smart_similar.php index 8228764..f979ba2 100755 --- a/common/modules/product/widgets/views/product_smart_similar.php +++ b/common/modules/product/widgets/views/product_smart_similar.php @@ -52,7 +52,7 @@ 'product' => $product->alias ]) ?>" title="= $product->fullname . ' ' . $product->category->name ?>"> category->name ?> -= $product->name ?>
+= $product->fullName ?>
diff --git a/frontend/views/catalog/_product_item.php b/frontend/views/catalog/_product_item.php index 6b9b235..30cf319 100755 --- a/frontend/views/catalog/_product_item.php +++ b/frontend/views/catalog/_product_item.php @@ -39,8 +39,8 @@ use yii\helpers\Url; = \common\components\artboximage\ArtboxImageHelper::getImage($model->imageUrl, 'list', [ - 'alt' => $model->category->name . ' ' . $model->name, - 'title' => $model->category->name . ' ' . $model->name, + 'alt' => $model->getFullName(), + 'title' => $model->getFullName(), 'class' => 'selected', 'itemprop' => 'image' ]) ?> diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 07ad878..0bc1b3a 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -73,8 +73,8 @@ = ArtboxImageHelper::getImage($product->imageUrl, 'product_show',[ - 'alt'=>$product->fullname." фото 1" , - 'title' => $product->fullname." фото 1", + 'alt'=>$product->fullname, + 'title' => $product->fullname, 'itemprop' => 'image' ]) ?> @@ -514,7 +514,7 @@